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

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:

Definition at line 2134 of file qabstractitemmodel.cpp.

References QAbstractItemModel::rowsRemoved().

Referenced by TreeModel::removeRows(), TableModel::removeRows(), QStringListModel::removeRows(), HistoryFilterModel::removeRows(), StringListModel::removeRows(), and QSqlQueryModel::setQuery().

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

Generated by  Doxygen 1.6.0   Back to index