diff options
Diffstat (limited to 'src/corelib/itemmodels/qitemselectionmodel.cpp')
-rw-r--r-- | src/corelib/itemmodels/qitemselectionmodel.cpp | 12 |
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. |