Logo Search packages:      
Sourcecode: kdbg version File versions

int KTreeView::indentation ( KTreeViewItem item  )  const [protected, virtual]

specifies a tree item of this tree
the total indentation of the specified item, in pixels

Definition at line 1403 of file ktreeview.cpp.

Referenced by getMaxItemWidth(), mouseDoubleClickEvent(), mousePressEvent(), and KTreeViewItem::paintTree().

    return level(item) * itemIndent + itemIndent + 3;

Generated by  Doxygen 1.6.0   Back to index