summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels/qitemselectionmodel.cpp
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-08-16 14:55:29 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-20 21:10:02 +0200
commiteb0e960e74da6b799c4d8f95cb6a22412c4c9466 (patch)
treed5e2240655eb2e2755c76aba06e1c064a9ae3266 /src/corelib/itemmodels/qitemselectionmodel.cpp
parentfe0a6e57a045b9db7ad812025ed65a6ba011c68d (diff)
Fix the doc errors in itemmodels and itemviews.
Other errors remain, but they appear to be due to missing links to QtCore documentation (a generic error not specific to itemviews). Change-Id: I7b83380c3754c26d3d42be9ef0c0721ce3127562 Reviewed-by: Shawn Rutledge <shawn.rutledge@nokia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/corelib/itemmodels/qitemselectionmodel.cpp')
-rw-r--r--src/corelib/itemmodels/qitemselectionmodel.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/corelib/itemmodels/qitemselectionmodel.cpp b/src/corelib/itemmodels/qitemselectionmodel.cpp
index a7aa404f8c..f5bfff083e 100644
--- a/src/corelib/itemmodels/qitemselectionmodel.cpp
+++ b/src/corelib/itemmodels/qitemselectionmodel.cpp
@@ -266,6 +266,18 @@ QItemSelectionRange QItemSelectionRange::intersected(const QItemSelectionRange &
*/
/*!
+ \fn bool QItemSelectionRange::operator<(const QItemSelectionRange &other) const
+
+ Returns true if the selection range is less than the \a other
+ range given; otherwise returns false.
+
+ The less than calculation is not directly useful to developers - the way that ranges
+ with different parents compare is not defined. This operator only exists so that the
+ class can be used with QMap.
+
+*/
+
+/*!
\fn bool QItemSelectionRange::isValid() const
Returns true if the selection range is valid; otherwise returns false.