Doc: corrected autolink issues itemmodels
Task-number: QTBUG-40362 Change-Id: I8423643e47d27358dbbce58009cc9039aecb74cf Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
parent
8ed994f7ac
commit
fbfc2b8e0b
@ -2711,7 +2711,7 @@ bool QAbstractItemModelPrivate::allowMove(const QModelIndex &srcParent, int star
|
||||
persistent indexes in the model, which you would otherwise be
|
||||
required to do yourself. Using beginMoveRows and endMoveRows
|
||||
is an alternative to emitting layoutAboutToBeChanged and
|
||||
layoutChanged directly along with changePersistentIndexes.
|
||||
layoutChanged directly along with changePersistentIndex.
|
||||
|
||||
The \a sourceParent index corresponds to the parent from which the
|
||||
rows are moved; \a sourceFirst and \a sourceLast are the first and last
|
||||
@ -2978,7 +2978,7 @@ void QAbstractItemModel::endRemoveColumns()
|
||||
persistent indexes in the model, which you would otherwise be
|
||||
required to do yourself. Using beginMoveRows and endMoveRows
|
||||
is an alternative to emitting layoutAboutToBeChanged and
|
||||
layoutChanged directly along with changePersistentIndexes.
|
||||
layoutChanged directly along with changePersistentIndex.
|
||||
|
||||
The \a sourceParent index corresponds to the parent from which the
|
||||
columns are moved; \a sourceFirst and \a sourceLast are the first and last
|
||||
@ -3165,11 +3165,11 @@ void QAbstractItemModel::changePersistentIndex(const QModelIndex &from, const QM
|
||||
/*!
|
||||
\since 4.1
|
||||
|
||||
Changes the QPersistentModelIndexes that is equal to the indexes in the
|
||||
Changes the {QPersistentModelIndex}es that are equal to the indexes in the
|
||||
given \a from model index list to the given \a to model index list.
|
||||
|
||||
If no persistent model indexes equal to the indexes in the given \a from
|
||||
model index list was found, nothing is changed.
|
||||
model index list are found, nothing is changed.
|
||||
|
||||
\sa persistentIndexList(), changePersistentIndex()
|
||||
*/
|
||||
|
@ -1076,7 +1076,7 @@ void QItemSelectionModelPrivate::_q_layoutChanged(const QList<QPersistentModelIn
|
||||
If you omit the QItemSelectionModel::Current command, a new current
|
||||
selection will be created, and the previous one added to the whole
|
||||
selection. All functions operate on both layers; for example,
|
||||
selectedItems() will return items from both layers.
|
||||
\l {QTableWidget::selectedItems()}{selecteditems()} will return items from both layers.
|
||||
|
||||
\sa {Model/View Programming}, QAbstractItemModel, {Chart Example}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user