summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlstates/data/basicChanges3.qml
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-02-11 21:35:45 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-02-11 22:49:39 (GMT)
commitfe9e91d5b9a5504fdc00f53abd5972621e7fa7dd (patch)
tree28c25d69001ef4dd4181ddf465b373491a61932b /tests/auto/declarative/qmlstates/data/basicChanges3.qml
parent6e0c76a209b87e306e48266962f5668237e63c62 (diff)
downloadQt-fe9e91d5b9a5504fdc00f53abd5972621e7fa7dd.zip
Qt-fe9e91d5b9a5504fdc00f53abd5972621e7fa7dd.tar.gz
Qt-fe9e91d5b9a5504fdc00f53abd5972621e7fa7dd.tar.bz2
Adds qml prefix to all declarative autotests
Diffstat (limited to 'tests/auto/declarative/qmlstates/data/basicChanges3.qml')
-rw-r--r--tests/auto/declarative/qmlstates/data/basicChanges3.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlstates/data/basicChanges3.qml b/tests/auto/declarative/qmlstates/data/basicChanges3.qml
new file mode 100644
index 0000000..62ab1d5
--- /dev/null
+++ b/tests/auto/declarative/qmlstates/data/basicChanges3.qml
@@ -0,0 +1,15 @@
+import Qt 4.6
+Rectangle {
+ id: myRectangle
+ width: 100; height: 100
+ color: "red"
+ states: [
+ State {
+ name: "blue"
+ PropertyChanges { target: myRectangle; color: "blue" }
+ },
+ State {
+ name: "bordered"
+ PropertyChanges { target: myRectangle; border.width: 2 }
+ }]
+}