diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-10-04 12:37:07 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-05 03:16:14 +0200 |
commit | 356f675592f54b065450b8a5ae1bc7e7a2c58e2d (patch) | |
tree | 9ac531870a6f9635a5e289ab8e1ed839f6aa51d4 /src/corelib/itemmodels/qabstractitemmodel.cpp | |
parent | 5fe272f68a59724022f545ac15c2f7d758c5ea86 (diff) |
Add docs to clarify and restrict what the LayoutChangeHint means.
Change-Id: I1b786c5151bcce253b6afa1eebc85e864ed7e91f
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/itemmodels/qabstractitemmodel.cpp')
-rw-r--r-- | src/corelib/itemmodels/qabstractitemmodel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/itemmodels/qabstractitemmodel.cpp b/src/corelib/itemmodels/qabstractitemmodel.cpp index 9fc68711f6..7e4c664327 100644 --- a/src/corelib/itemmodels/qabstractitemmodel.cpp +++ b/src/corelib/itemmodels/qabstractitemmodel.cpp @@ -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. */ /*! |