summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-06-23 08:16:18 (GMT)
committerErik Verbruggen <erik.verbruggen@nokia.com>2009-06-23 08:16:18 (GMT)
commit2020c692803a8a7839d85860d05174a193d9a848 (patch)
treeda461a8aba627a1c28b6e67537efe9e7260a4006
parent2729df73c54eebcd4b981eaf1487d604e467c4d5 (diff)
downloadQt-2020c692803a8a7839d85860d05174a193d9a848.zip
Qt-2020c692803a8a7839d85860d05174a193d9a848.tar.gz
Qt-2020c692803a8a7839d85860d05174a193d9a848.tar.bz2
Changed SetProperty to SetProperties to anticipate deprecation of
SetProperty.
-rw-r--r--examples/declarative/tutorials/helloworld/t3/tutorial3.qml11
1 files changed, 3 insertions, 8 deletions
diff --git a/examples/declarative/tutorials/helloworld/t3/tutorial3.qml b/examples/declarative/tutorials/helloworld/t3/tutorial3.qml
index bd89ecf..127d99e 100644
--- a/examples/declarative/tutorials/helloworld/t3/tutorial3.qml
+++ b/examples/declarative/tutorials/helloworld/t3/tutorial3.qml
@@ -14,15 +14,10 @@ Rect {
State {
name: "down"
when: MouseRegion.pressed == true
- SetProperty {
+ SetProperties {
target: HelloText
- property: "y"
- value: 160
- }
- SetProperty {
- target: HelloText
- property: "color"
- value: "red"
+ y: 160
+ color: "red"
}
}
]