summaryrefslogtreecommitdiffstats
path: root/examples/declarative/states
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-08-21 03:27:52 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-08-21 03:27:52 (GMT)
commit08a4fffc4c93c324f95f5759c620287330c68d9d (patch)
tree4bced6b7c308f405ef021c1e006de65cfaaeaa1e /examples/declarative/states
parent1d9ae86dda99d8f0eb4949d3779777e795eb52be (diff)
downloadQt-08a4fffc4c93c324f95f5759c620287330c68d9d.zip
Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.tar.gz
Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.tar.bz2
Rename State change elements.
SetProperties -> PropertyChanges RunScript -> StateChangeScript SetAnchors -> AnchorChanges
Diffstat (limited to 'examples/declarative/states')
-rw-r--r--examples/declarative/states/states.qml4
-rw-r--r--examples/declarative/states/transitions.qml4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/states/states.qml b/examples/declarative/states/states.qml
index 2dcf804..d91b558 100644
--- a/examples/declarative/states/states.qml
+++ b/examples/declarative/states/states.qml
@@ -28,7 +28,7 @@ Rectangle {
// In state 'Position1', change the 'myrect' item x, y to 150, 50.
State {
name: "Position1"
- SetProperties {
+ PropertyChanges {
target: myrect
x: 150
y: 50
@@ -39,7 +39,7 @@ Rectangle {
// had been changed.
State {
name: "Position2"
- SetProperties {
+ PropertyChanges {
target: myrect
y: 200
}
diff --git a/examples/declarative/states/transitions.qml b/examples/declarative/states/transitions.qml
index 15c2336..0be9b01 100644
--- a/examples/declarative/states/transitions.qml
+++ b/examples/declarative/states/transitions.qml
@@ -28,7 +28,7 @@ Rectangle {
// In state 'Position1', change the 'myrect' item x, y to 150, 50.
State {
name: "Position1"
- SetProperties {
+ PropertyChanges {
target: myrect
x: 150
y: 50
@@ -39,7 +39,7 @@ Rectangle {
// had been changed.
State {
name: "Position2"
- SetProperties {
+ PropertyChanges {
target: myrect
y: 200
}