Logo Search packages:      
Sourcecode: kdbg version File versions

void KTreeView::changeItem ( const char *  newText,
const QPixmap *  newPixmap,
const KPath &  thePath 

Same as above function, except item to change is specified by a path through the tree.

Definition at line 676 of file ktreeview.cpp.

References changeItem(), itemAt(), and itemRow().

    KTreeViewItem* item = itemAt(thePath);
    if (item) {
      int index = itemRow(item);
      changeItem(item, index, newText, newPixmap);

Generated by  Doxygen 1.6.0   Back to index