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

void QTreeWidget::closePersistentEditor ( QTreeWidgetItem item,
int  column = 0 
)

Closes the persistent editor for the item in the given column.

This function has no effect if no persistent editor is open for this combination of item and column.

Definition at line 2183 of file qtreewidget.cpp.

References QAbstractItemView::closePersistentEditor(), QAbstractItemModel::index(), and QModelIndex::model().

{
    Q_ASSERT(item);
    Q_D(QTreeWidget);
    QModelIndex index = d->model()->index(item, column);
    QAbstractItemView::closePersistentEditor(index);
}


Generated by  Doxygen 1.6.0   Back to index