Disallow parent changes for QML created objects
authorAaron Kennedy <aaron.kennedy@nokia.com>
Thu, 24 May 2012 15:28:54 +0000 (16:28 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 6 Jun 2012 14:51:07 +0000 (16:51 +0200)
commita26d7aef3ce61ac0515cf8a324c8badd13bdb017
tree1dd22962a7c40df451ae7f9465cf2ca4e4185cb7
parent1fcb3d512c37625e6dfdbd045c755e8d6aca8c57
Disallow parent changes for QML created objects

Currently this is protected with a QML_PARENT_TEST environment variable
to allow the rest of QtQuick to be updated before it is enforced.

Change-Id: I4dd3644cbbce91d67f24c9556637f97eafb00638
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/qml/qml/qqmlcompiler.cpp
src/qml/qml/qqmlcompiler_p.h
src/qml/qml/qqmldata_p.h
src/qml/qml/qqmlengine.cpp
src/qml/qml/qqmlinstruction_p.h
src/qml/qml/qqmlvme.cpp
tests/auto/qml/qqmlecmascript/data/signalEmitted.qml [deleted file]
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
tests/auto/qml/qqmlinstruction/tst_qqmlinstruction.cpp