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

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

Ends a column removal operation.

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

See also:
beginRemoveColumns()

Definition at line 2244 of file qabstractitemmodel.cpp.

References QAbstractItemModel::columnsRemoved().

Referenced by TreeModel::removeColumns(), TableModel::removeColumns(), and QSqlQueryModel::removeColumns().

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


Generated by  Doxygen 1.6.0   Back to index