Logo Search packages:      
Sourcecode: kdbg version File versions

void KTreeView::setShowItemText ( bool  enable  ) 

If enable is TRUE (default), item text will be displayed, otherwise it will not, and no highlight will be shown in the default widget.

Definition at line 1139 of file ktreeview.cpp.

References forEveryItem().

    if (showText == enable)
    showText = enable;

    // the user parameter is cast to a bool in setItemShowText
    forEveryItem(&KTreeView::setItemShowText, enable ? &enable : 0);

    if (autoUpdate() && isVisible())

Generated by  Doxygen 1.6.0   Back to index