summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels/qabstractproxymodel.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-10-19 17:10:41 +0200
committerMartin Smith <martin.smith@qt.io>2018-10-30 17:20:10 +0000
commit7087a68fbf42799eb2d11bc072b63033ae58e8b4 (patch)
treea2a88b90160fec15e7846cd2c23729dc67c7b9da /src/corelib/itemmodels/qabstractproxymodel.cpp
parent1864748136c5ef9e6e435f201f2485bfeb7ada0f (diff)
doc: Add \since 6.0 to future functions
qdoc needs to know that a qdoc comment should not be part of the documentation until a future version. In this case, some new functions were declared to become active in Qt 6.0, but qdoc had no way of detecting this and reported errors about them incorrectly. Adding \since 6.0 to the qdoc comments for these functions allows qdoc to ignore them without printing the errors. It is also not allowed to document static functions declared in .cpp files, because these functions are not in the public API. The qdoc comment marker was removed from the comments for a few such static functions. Change-Id: I55ce0e8fb823b1dcf498d5a2436ddb20ad0a7527 Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/corelib/itemmodels/qabstractproxymodel.cpp')
-rw-r--r--src/corelib/itemmodels/qabstractproxymodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/itemmodels/qabstractproxymodel.cpp b/src/corelib/itemmodels/qabstractproxymodel.cpp
index 095ab6fc71..118e808a3c 100644
--- a/src/corelib/itemmodels/qabstractproxymodel.cpp
+++ b/src/corelib/itemmodels/qabstractproxymodel.cpp
@@ -316,6 +316,7 @@ bool QAbstractProxyModel::setHeaderData(int section, Qt::Orientation orientation
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
/*!
\reimp
+ \since 6.0
*/
bool QAbstractProxyModel::clearItemData(const QModelIndex &index)
{