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

QTreeWidgetItem * QTreeWidget::topLevelItem ( int  index  )  const

Returns the top level item at the given index, or 0 if the item does not exist.

Definition at line 1857 of file qtreewidget.cpp.

Referenced by QAbstractFormBuilder::saveTreeWidgetExtraInfo().

{
    Q_D(const QTreeWidget);
    return d->model()->tree.value(index);
}


Generated by  Doxygen 1.6.0   Back to index