summaryrefslogtreecommitdiffstats
path: root/examples/declarative/slideswitch
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/slideswitch
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/slideswitch')
-rw-r--r--examples/declarative/slideswitch/Switch.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/slideswitch/Switch.qml b/examples/declarative/slideswitch/Switch.qml
index b476be2..a778c1a 100644
--- a/examples/declarative/slideswitch/Switch.qml
+++ b/examples/declarative/slideswitch/Switch.qml
@@ -41,13 +41,13 @@ Item {
states: [
State {
name: "On"
- SetProperties { target: Knob; x: 78 }
- SetProperties { target: Switch; on: true }
+ PropertyChanges { target: Knob; x: 78 }
+ PropertyChanges { target: Switch; on: true }
},
State {
name: "Off"
- SetProperties { target: Knob; x: 1 }
- SetProperties { target: Switch; on: false }
+ PropertyChanges { target: Knob; x: 1 }
+ PropertyChanges { target: Switch; on: false }
}
]
transitions: [