Add a parents parameter to layoutChange signals.
authorStephen Kelly <stephen.kelly@kdab.com>
Wed, 23 Nov 2011 19:50:55 +0000 (20:50 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 24 Nov 2011 15:46:15 +0000 (16:46 +0100)
commit8f1868e7c36cb890c9d71dcd9d07d7019058cf94
treef6aa5e7dfc12175a6be24b316b6c2ab5c24759fe
parent11bf824c03d07a2c4ac7f1d614351c532d7a52d6
Add a parents parameter to layoutChange signals.

This allows for more focussed notification of what part of the
model has changed layout.

The slots in the proxy models can be more optimized later.

Change-Id: I1bd17465b4be6f8efdc107036db897c557fcb519
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/kernel/qabstractitemmodel.cpp
src/corelib/kernel/qabstractitemmodel.h
tests/auto/corelib/kernel/qabstractitemmodel/tst_qabstractitemmodel.cpp
tests/auto/integrationtests/modeltest/dynamictreemodel.cpp
tests/auto/integrationtests/modeltest/dynamictreemodel.h