Store the QMetaObject with the QMetaType.
authorStephen Kelly <stephen.kelly@kdab.com>
Sun, 1 Apr 2012 18:31:55 +0000 (20:31 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 1 Jul 2012 13:07:10 +0000 (15:07 +0200)
commit14c7bb72b98ef39a9118ae0a8e48a3ccd58db07d
treec764b32a9106419310f2f89618936ba2f3825b90
parent2988c44f7675ba3c4a4b28690db467ba0e40469d
Store the QMetaObject with the QMetaType.

This will allow conversion between pointers to compatible QObject
derived types.

Change-Id: I19e08934571fb3f1b91e594892214041fe5f6a11
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
src/corelib/kernel/qmetatype.cpp
src/corelib/kernel/qmetatype.h
src/corelib/kernel/qmetatype_p.h
src/widgets/kernel/qwidgetsvariant.cpp
tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp
tests/auto/widgets/kernel/kernel.pro
tests/auto/widgets/kernel/qwidgetmetatype/qwidgetmetatype.pro [new file with mode: 0644]
tests/auto/widgets/kernel/qwidgetmetatype/tst_qwidgetmetatype.cpp [new file with mode: 0644]