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

void QAbstractItemModel::endRemoveRows (  ) [protected, inherited]

Ends a row removal operation.

When reimplementing removeRows() in a subclass, you must call this function after removing data from the model's underlying data store.

See also:
beginRemoveRows()

Definition at line 2126 of file qabstractitemmodel.cpp.

References QAbstractItemModel::rowsRemoved().

Referenced by QScriptBreakpointsModel::removeBreakpoint(), HistoryModel::removeRows(), DownloadModel::removeRows(), TreeModel::removeRows(), TableModel::removeRows(), LinearModel::removeRows(), PiecesModel::removeRows(), CookieModel::removeRows(), qdesigner_internal::WidgetBoxCategoryModel::removeRows(), QTreeModel::removeRows(), QStringListModel::removeRows(), QTableModel::removeRows(), QListModel::removeRows(), HistoryFilterModel::removeRows(), StringListModel::removeRows(), CookieExceptionsModel::removeRows(), QSqlQueryModel::setQuery(), and QTreeWidgetItem::takeChild().

{
    Q_D(QAbstractItemModel);
    QAbstractItemModelPrivate::Change change = d->changes.pop();
    d->rowsRemoved(change.parent, change.first, change.last);
    emit rowsRemoved(change.parent, change.first, change.last);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index