Make it possible to use new syntax to connect to model signals.
authorStephen Kelly <stephen.kelly@kdab.com>
Mon, 9 Jul 2012 07:56:56 +0000 (09:56 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 12 Jul 2012 23:51:44 +0000 (01:51 +0200)
commit536ec793b69c16611e73cff4360c6f49b644f740
treebe2a36264a4cb22a131944e10918bdc089ae24e2
parent0efa445141ce3d7243f28e7b6da730d8dec17e23
Make it possible to use new syntax to connect to model signals.

The private signals can not be used as function pointers, as
required by the new syntax, so we introduce a parameter which
can only be created privately.

Change-Id: I3d7bb8a163e764d685e8007cba831fb77e3c6855
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/itemmodels/qabstractitemmodel.cpp
src/corelib/itemmodels/qabstractitemmodel.h
tests/auto/corelib/itemmodels/qabstractitemmodel/tst_qabstractitemmodel.cpp