Logo Search packages:      
Sourcecode: kdbg version File versions

KTreeViewItem * KTreeView::takeItem ( int  index  ) 

Removes the item at the given index from the tree, but does not delete it, returning a pointer to the removed item.

Definition at line 1192 of file ktreeview.cpp.

References itemAt().

Referenced by clear(), removeItem(), and takeItem().

{
  KTreeViewItem *item = itemAt(index);
  if(item)
    takeItem(item);
  return item;
}


Generated by  Doxygen 1.6.0   Back to index