diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-08-21 03:27:52 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-08-21 03:27:52 (GMT) |
commit | 08a4fffc4c93c324f95f5759c620287330c68d9d (patch) | |
tree | 4bced6b7c308f405ef021c1e006de65cfaaeaa1e /demos/declarative/calculator/CalcButton.qml | |
parent | 1d9ae86dda99d8f0eb4949d3779777e795eb52be (diff) | |
download | Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.zip Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.tar.gz Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.tar.bz2 |
Rename State change elements.
SetProperties -> PropertyChanges
RunScript -> StateChangeScript
SetAnchors -> AnchorChanges
Diffstat (limited to 'demos/declarative/calculator/CalcButton.qml')
-rw-r--r-- | demos/declarative/calculator/CalcButton.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/declarative/calculator/CalcButton.qml b/demos/declarative/calculator/CalcButton.qml index 04dbfc9..0fb5412 100644 --- a/demos/declarative/calculator/CalcButton.qml +++ b/demos/declarative/calculator/CalcButton.qml @@ -29,13 +29,13 @@ Rectangle { states: [ State { name: "Pressed"; when: MouseRegion.pressed == true - SetProperties { target: G1; color: Palette.dark } - SetProperties { target: G2; color: Palette.button } + PropertyChanges { target: G1; color: Palette.dark } + PropertyChanges { target: G2; color: Palette.button } }, State { name: "Toggled"; when: Button.toggled == true - SetProperties { target: G1; color: Palette.dark } - SetProperties { target: G2; color: Palette.button } + PropertyChanges { target: G1; color: Palette.dark } + PropertyChanges { target: G2; color: Palette.button } } ] } |