Logo Search packages:      
Sourcecode: kdbg version File versions

void KTreeView::expandItem ( int  index,
bool  emitSignal 

Expands the sub-tree at the specified row index. If the index is out of range, or the item is already expanded, nothing happens.

index specifies the row index
emitSignal specifies whether the signal collapsed should be emitted

Definition at line 745 of file ktreeview.cpp.

References expandSubTree(), and itemAt().

    KTreeViewItem* item = itemAt(index);
    if (item)
      expandSubTree(item, emitSignal);

Generated by  Doxygen 1.6.0   Back to index