summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels/qabstractproxymodel.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-05-21 18:50:23 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-05-27 17:18:18 +0200
commitd7e478475eb94cd4fdb3e9fcbd2c407796f2342b (patch)
tree3ab0446f5430c246af3b08d14e029862890b1389 /src/corelib/itemmodels/qabstractproxymodel.cpp
parent5ac479f5990a4c2b09ea34fb98d10c17d405aa5e (diff)
Fix qdoc warnings
Change-Id: Ie51ccff3272f078e062380033678828a01f03eb8 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/corelib/itemmodels/qabstractproxymodel.cpp')
-rw-r--r--src/corelib/itemmodels/qabstractproxymodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/itemmodels/qabstractproxymodel.cpp b/src/corelib/itemmodels/qabstractproxymodel.cpp
index 492b177708f..837d283e6d2 100644
--- a/src/corelib/itemmodels/qabstractproxymodel.cpp
+++ b/src/corelib/itemmodels/qabstractproxymodel.cpp
@@ -492,7 +492,8 @@ QHash<int,QByteArray> QAbstractProxyModel::roleNames() const
This method is useful if your proxy model wants to maintain the
parent-child relationship of items in the source model.
When reimplementing mapToSource(), you can call this method to
- create an index of the source model.
+ create an index for row \a row and column \a col of the source model.
+
A typical use would be to save the internal pointer coming from the source model
in the proxy index when reimplementing mapFromSource() and use the same internal
pointer as \a internalPtr to recover the original source index when