Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QTreeWidgetItem * QTreeWidget::currentItem (  )  const

Returns the current item in the tree widget.

See also:
setCurrentItem()

Definition at line 2033 of file qtreewidget.cpp.

References QAbstractItemView::currentIndex().

{
    Q_D(const QTreeWidget);
    return d->model()->item(currentIndex());
}


Generated by  Doxygen 1.6.0   Back to index