Add docs to clarify and restrict what the LayoutChangeHint means.
authorStephen Kelly <stephen.kelly@kdab.com>
Thu, 4 Oct 2012 10:37:07 +0000 (12:37 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 5 Oct 2012 01:16:14 +0000 (03:16 +0200)
Change-Id: I1b786c5151bcce253b6afa1eebc85e864ed7e91f
Reviewed-by: David Faure <david.faure@kdab.com>
src/corelib/itemmodels/qabstractitemmodel.cpp

index 9fc6871..7e4c664 100644 (file)
@@ -1331,6 +1331,10 @@ void QAbstractItemModelPrivate::columnsRemoved(const QModelIndex &parent,
     \value NoLayoutChangeHint   No hint is available.
     \value VerticalSortHint     Rows are being sorted.
     \value HorizontalSortHint   Columns are being sorted.
+
+    Note that VerticalSortHint and HorizontalSortHint carry the meaning that
+    items are being moved within the same parent, not moved to a different
+    parent in the model, and not filtered out or in.
 */
 
 /*!