From: Stephen Kelly Date: Thu, 4 Oct 2012 10:37:07 +0000 (+0200) Subject: Add docs to clarify and restrict what the LayoutChangeHint means. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=356f675592f54b065450b8a5ae1bc7e7a2c58e2d;p=profile%2Fivi%2Fqtbase.git Add docs to clarify and restrict what the LayoutChangeHint means. Change-Id: I1b786c5151bcce253b6afa1eebc85e864ed7e91f Reviewed-by: David Faure --- 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. */ /*!