Prepare for QQmlPropertyCache to become available in QJSEngine
authorSimon Hausmann <simon.hausmann@theqtcompany.com>
Thu, 20 Nov 2014 07:56:36 +0000 (08:56 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Mon, 29 Dec 2014 12:57:28 +0000 (13:57 +0100)
commit65953304a2775e69c7edd46b780aa39f769d32ac
tree901458eda459550eee285c34b511f04307710561
parent802a996693386791688a937a9b15ac6da278b5f0
Prepare for QQmlPropertyCache to become available in QJSEngine

The cache is seemingly tied to QQmlEngine, but it isn't. A lot of
times a QQmlEngine parameter is unnecessarily dragged around and the
engine member is option as well as it turns out.

Change-Id: Iffd2a5046e9785249689ebfcbc8a0ad509f76aea
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/compiler/qqmltypecompiler.cpp
src/qml/qml/qqmlengine.cpp
src/qml/qml/qqmlopenmetaobject.cpp
src/qml/qml/qqmlpropertycache.cpp
src/qml/qml/qqmlpropertycache_p.h
tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp