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 | |
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')
-rw-r--r-- | demos/declarative/calculator/CalcButton.qml | 8 | ||||
-rw-r--r-- | demos/declarative/calculator/calculator.qml | 14 |
2 files changed, 11 insertions, 11 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 } } ] } diff --git a/demos/declarative/calculator/calculator.qml b/demos/declarative/calculator/calculator.qml index fd5002b..24c3e69 100644 --- a/demos/declarative/calculator/calculator.qml +++ b/demos/declarative/calculator/calculator.qml @@ -111,13 +111,13 @@ Rectangle { states: [ State { name: "Advanced"; when: AdvancedCheckBox.toggled == true - SetProperties { target: BasicButtons; x: 0 } - SetProperties { target: SimpleOperations; y: 32 } - SetProperties { target: Bksp; opacity: 1 } - SetProperties { target: C; x: 69; width: 67 } - SetProperties { target: AC; x: 138; width: 67 } - SetProperties { target: Equals; width: 50 } - SetProperties { target: AdvancedButtons; x: 210; opacity: 1 } + PropertyChanges { target: BasicButtons; x: 0 } + PropertyChanges { target: SimpleOperations; y: 32 } + PropertyChanges { target: Bksp; opacity: 1 } + PropertyChanges { target: C; x: 69; width: 67 } + PropertyChanges { target: AC; x: 138; width: 67 } + PropertyChanges { target: Equals; width: 50 } + PropertyChanges { target: AdvancedButtons; x: 210; opacity: 1 } } ] |