[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Moving a QListViewItem
From:       Charles <charles () altair ! dhs ! org>
Date:       2000-06-02 1:15:18
[Download RAW message or body]


Does anyone have an idea on how to move a QListViewItem safely?  

Just copying the strings in a QListViewItem makes it impossible to handle if
the item has an image, or someone has created their own QListViewItem (class
MyItem : public QListViewItem).  I need a generic way of doing this?  

See if you can finish this function :)

void KListView::moveItem(QListViewItem *item, QListViewItem *after)
{

}



--

Charles - charles@kde.org

 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic