From eb0e960e74da6b799c4d8f95cb6a22412c4c9466 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 16 Aug 2012 14:55:29 +0200 Subject: 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 Reviewed-by: Stephen Kelly --- src/corelib/itemmodels/qitemselectionmodel.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/corelib/itemmodels/qitemselectionmodel.cpp') 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 @@ -265,6 +265,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 -- cgit v1.2.3