diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2012-04-17 13:54:20 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-09 00:56:16 +0200 |
commit | c4fab1011b9de42f43a95d598743da505847e139 (patch) | |
tree | 64ca12106f9a624fcd9bd7dee0ceb8928b77895e /tests/auto/qml/qqmlecmascript/data/destroyedSignal.qml | |
parent | 3b04bbde6356797368114fce1b45b85271e9fed8 (diff) |
Remove QQmlData::objectNameChanged callback.
The objectName property now has a proper NOTIFY signal. Also
remove the objectName accessor, as it is no longer required.
Task-number: QTBUG-23526
Change-Id: Ib18ba7335bf62a2fe2a9e489cb4c0f1fb142d74c
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/destroyedSignal.qml')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/data/destroyedSignal.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/destroyedSignal.qml b/tests/auto/qml/qqmlecmascript/data/destroyedSignal.qml new file mode 100644 index 0000000000..ac2df17ae8 --- /dev/null +++ b/tests/auto/qml/qqmlecmascript/data/destroyedSignal.qml @@ -0,0 +1,6 @@ +import QtQuick 2.0 + +QtObject { + id: root + onDestroyed: {} //this should cause an error (destroyed should be hidden) +} |