diff options
Diffstat (limited to 'src/corelib/itemmodels/qabstractitemmodel.cpp')
-rw-r--r-- | src/corelib/itemmodels/qabstractitemmodel.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/corelib/itemmodels/qabstractitemmodel.cpp b/src/corelib/itemmodels/qabstractitemmodel.cpp index c94b3cb540..c78287759b 100644 --- a/src/corelib/itemmodels/qabstractitemmodel.cpp +++ b/src/corelib/itemmodels/qabstractitemmodel.cpp @@ -213,6 +213,13 @@ QPersistentModelIndex &QPersistentModelIndex::operator=(const QPersistentModelIn if (d) d->ref.ref(); return *this; } +/*! + \fn void QPersistentModelIndex::swap(QPersistentModelIndex &other) + \since 5.0 + + Swaps this persistent modelindex with \a other. This function is + very fast and never fails. +*/ /*! Sets the persistent model index to refer to the same item in a model |