Add hint API to QAIM::layout*Change signals.
authorStephen Kelly <stephen.kelly@kdab.com>
Thu, 27 Sep 2012 09:08:18 +0000 (11:08 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 29 Sep 2012 12:17:34 +0000 (14:17 +0200)
commita3ec5d5729542de406e9f0457748f1dde1cf5662
tree07bd860eb57647f2a55a800d06d345a0510e3468
parent9801b2c9960aa5512aa78828c460a76e6224e5d6
Add hint API to QAIM::layout*Change signals.

Usually layoutChange is used for sorting elements. The parents parameter
to the signal already hints at a localization of what is being sorted, if
it's just one level in the tree. The new hints enum can be used to only
consider how the first column of a table gets sorted, because all other
columns will be sorted the same way.

Change-Id: I65dd2996894bbdb45a2f6288edbeaa49e4053256
Reviewed-by: David Faure <faure@kde.org>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/corelib/itemmodels/qabstractitemmodel.cpp
src/corelib/itemmodels/qabstractitemmodel.h