Use the after-argument when constructing the items:
Qt Code:
  1. QListViewItem::QListViewItem ( QListView * parent, QListViewItem * after )
To copy to clipboard, switch view to plain text mode 
Combine this with
Qt Code:
  1. QListViewItem * QListView::lastItem () const
To copy to clipboard, switch view to plain text mode