rem: lvchild = lvchild->nextSibling(); } KListViewItem::setOpen( true ); } else KListViewItem::setOpen( false );
context:   void setOpen( bool open )  {    if (open){      QListViewItem * lvchild;      lvchild = firstChild();      while (lvchild){	lvchild->setOpen( true );	lvchild = lvchild->nextSibling();      }      KListViewItem::setOpen( true );    } else	KListViewItem::setOpen( false );  }