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

void QTreeWidget::clear (  )  [slot]

Clears the tree widget by removing all of its items and selections.

{Note:} Since each item is removed from the tree widget before being deleted, the return value of QTreeWidgetItem::treeWidget() will be invalid when called from an item's destructor.

Definition at line 2385 of file qtreewidget.cpp.

References QItemSelectionModel::clear(), and QAbstractItemView::selectionModel().


Generated by  Doxygen 1.6.0   Back to index