Reduce dependencies on QQmlValueType being a QObject
authorSimon Hausmann <simon.hausmann@theqtcompany.com>
Tue, 18 Nov 2014 18:21:07 +0000 (19:21 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Tue, 23 Dec 2014 13:50:55 +0000 (14:50 +0100)
commite66cf24a8dfd010bf43b7ed92c8f5679ea848c0b
treec435dd60aad93f838576ef61e49642b9df34ccd3
parent4c9eaa24a5d2c101b0afe9f605067e4d0c76f131
Reduce dependencies on QQmlValueType being a QObject

Don't rely on caching the property cache in the QQmlData of the value type,
instead we can cache is in the engine and store it in our object data.

Change-Id: I5f31313c066cd7918caf33e3fabdf5aac71f1adb
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/qqmlvaluetypewrapper.cpp
src/qml/qml/qqmlvaluetypewrapper_p.h