summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage/data
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-10-06 05:38:39 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-10-06 05:38:39 (GMT)
commit8209815ee6eea3cbc1ca7b71ce8b68ae8930c0bd (patch)
treeef904bc40bd4c63ea7b5eb6eb7e6308beed7ace3 /tests/auto/declarative/qdeclarativelanguage/data
parentcd4389efee184d2ad65b52c5ef64793868f1a004 (diff)
downloadQt-8209815ee6eea3cbc1ca7b71ce8b68ae8930c0bd.zip
Qt-8209815ee6eea3cbc1ca7b71ce8b68ae8930c0bd.tar.gz
Qt-8209815ee6eea3cbc1ca7b71ce8b68ae8930c0bd.tar.bz2
Autotest
Task-number: QTBUG-14089
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage/data')
-rw-r--r--tests/auto/declarative/qdeclarativelanguage/data/aliasPropertyChangeSignals.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/data/aliasPropertyChangeSignals.qml b/tests/auto/declarative/qdeclarativelanguage/data/aliasPropertyChangeSignals.qml
new file mode 100644
index 0000000..7944deb
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativelanguage/data/aliasPropertyChangeSignals.qml
@@ -0,0 +1,16 @@
+import QtQuick 1.0
+
+QtObject {
+ id: root
+
+ property alias aliasProperty: root.realProperty
+ onAliasPropertyChanged: root.test = true
+
+ property int realProperty: 0
+
+ property bool test: false
+
+ Component.onCompleted: {
+ root.realProperty = 10;
+ }
+}