QListViewItem *item =this->firstChild();
while( item )
{
if(((myItem *)item)->isBoolFunction())
{
item->moveItem(this->firstChild());
this->firstChild()->moveItem(item);

}
item =item->nextSibling();
}
I want to move one or more items to the top in a QListView.
myItem is my class which inherits QListViewItem. Everything compiles fine ..however when the GUI is shown the application completely hangs and I have to literally kill the process...
is this some kind of bug. I am using qt 3.1.1 on redhat. Any other way to do this nicely ?