summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels
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
parent5ac479f5990a4c2b09ea34fb98d10c17d405aa5e (diff)
Fix qdoc warnings
Change-Id: Ie51ccff3272f078e062380033678828a01f03eb8 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/corelib/itemmodels')
-rw-r--r--src/corelib/itemmodels/qabstractproxymodel.cpp3
-rw-r--r--src/corelib/itemmodels/qsortfilterproxymodel.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/itemmodels/qabstractproxymodel.cpp b/src/corelib/itemmodels/qabstractproxymodel.cpp
index 492b177708..837d283e6d 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
diff --git a/src/corelib/itemmodels/qsortfilterproxymodel.cpp b/src/corelib/itemmodels/qsortfilterproxymodel.cpp
index 1b5dc0dec2..cfa6ed49cf 100644
--- a/src/corelib/itemmodels/qsortfilterproxymodel.cpp
+++ b/src/corelib/itemmodels/qsortfilterproxymodel.cpp
@@ -282,7 +282,7 @@ public:
void remove_from_mapping(const QModelIndex &source_parent);
- /*!
+ /*
* Legacy: changing the pattern through a string does not change the
* case sensitivity.
*/