From 356f675592f54b065450b8a5ae1bc7e7a2c58e2d Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 4 Oct 2012 12:37:07 +0200 Subject: [PATCH] Add docs to clarify and restrict what the LayoutChangeHint means. Change-Id: I1b786c5151bcce253b6afa1eebc85e864ed7e91f Reviewed-by: David Faure --- src/corelib/itemmodels/qabstractitemmodel.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/corelib/itemmodels/qabstractitemmodel.cpp b/src/corelib/itemmodels/qabstractitemmodel.cpp index 9fc6871..7e4c664 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. */ /*! -- 2.7.4