aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/destroyedSignal.qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2012-04-17 13:54:20 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-09 00:56:16 +0200
commitc4fab1011b9de42f43a95d598743da505847e139 (patch)
tree64ca12106f9a624fcd9bd7dee0ceb8928b77895e /tests/auto/qml/qqmlecmascript/data/destroyedSignal.qml
parent3b04bbde6356797368114fce1b45b85271e9fed8 (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.qml6
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)
+}