Allow access to signals and slots in QQmlPropertyMap inheritors
authorMatthew Vogt <matthew.vogt@nokia.com>
Thu, 26 Jul 2012 04:15:49 +0000 (14:15 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 27 Jul 2012 04:09:11 +0000 (06:09 +0200)
commit54c2d685512fdeac2d5b6eeaf25ed738c4fd99ba
tree27acf485b787f825525d20b7a160d45fde678360
parent73842034aac7b9788add4f1ba6cf7a9ec6057598
Allow access to signals and slots in QQmlPropertyMap inheritors

Allow inheritors of QQmlPropertyMap to pass the static meta object
information needed to support their signals and slots.  If the correct
pointer is not provided to the constructor, it is not accessible via
the virtual metaObject() function during construction.

Task-number: QTBUG-26400
Change-Id: Ide8c6d3568e4abd4c48e0aa60e6fa05a9c2a11cf
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/qml/qml/qqmlopenmetaobject.cpp
src/qml/qml/qqmlopenmetaobject_p.h
src/qml/util/qqmlpropertymap.cpp
src/qml/util/qqmlpropertymap.h
tests/auto/qml/qqmlpropertymap/tst_qqmlpropertymap.cpp