summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/itemmodels/qabstractproxymodel.cpp3
-rw-r--r--src/corelib/itemmodels/qsortfilterproxymodel.cpp2
-rw-r--r--src/corelib/kernel/qmetaobject.cpp2
3 files changed, 4 insertions, 3 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
diff --git a/src/corelib/itemmodels/qsortfilterproxymodel.cpp b/src/corelib/itemmodels/qsortfilterproxymodel.cpp
index 1b5dc0dec27..cfa6ed49cf8 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.
*/
diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp
index b09fe933e63..ee2bf156fe9 100644
--- a/src/corelib/kernel/qmetaobject.cpp
+++ b/src/corelib/kernel/qmetaobject.cpp
@@ -2144,7 +2144,7 @@ int QMetaMethod::revision() const
Returns whether the method is const qualified.
- \note This method might errorneously return \false for a const method
+ \note This method might errorneously return \c false for a const method
if it belongs to a library compiled against an older version of Qt.
*/
bool QMetaMethod::isConst() const