diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-08-21 04:33:38 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-08-21 04:33:38 (GMT) |
commit | 8598114e3379df3a73d4ccc7760e3761ed55edf0 (patch) | |
tree | 9c8da15646795f34a194a7aa5485dce95dcd40e0 /examples/declarative | |
parent | bc5b2b8ea1259bffdbdafe9d509fc675476fdb97 (diff) | |
download | Qt-8598114e3379df3a73d4ccc7760e3761ed55edf0.zip Qt-8598114e3379df3a73d4ccc7760e3761ed55edf0.tar.gz Qt-8598114e3379df3a73d4ccc7760e3761ed55edf0.tar.bz2 |
SetPropertyAction -> PropertyAction
Diffstat (limited to 'examples/declarative')
-rw-r--r-- | examples/declarative/behaviours/test.qml | 2 | ||||
-rw-r--r-- | examples/declarative/fillmode/fillmode.qml | 24 | ||||
-rw-r--r-- | examples/declarative/follow/pong.qml | 4 | ||||
-rw-r--r-- | examples/declarative/snow/ImageBatch.qml | 6 |
4 files changed, 18 insertions, 18 deletions
diff --git a/examples/declarative/behaviours/test.qml b/examples/declarative/behaviours/test.qml index cac2f9d..1dd0658 100644 --- a/examples/declarative/behaviours/test.qml +++ b/examples/declarative/behaviours/test.qml @@ -85,7 +85,7 @@ Rectangle { to: 0 duration: 150 } - SetPropertyAction {} + PropertyAction {} NumberAnimation { target: bluerect properties: "opacity" diff --git a/examples/declarative/fillmode/fillmode.qml b/examples/declarative/fillmode/fillmode.qml index de60b28..94b0782 100644 --- a/examples/declarative/fillmode/fillmode.qml +++ b/examples/declarative/fillmode/fillmode.qml @@ -7,23 +7,23 @@ Image { fillMode: SequentialAnimation { running: true repeat: true - SetPropertyAction { value: "Stretch" } - SetPropertyAction { target: Label; property: "text"; value: "Stretch" } + PropertyAction { value: "Stretch" } + PropertyAction { target: Label; property: "text"; value: "Stretch" } PauseAnimation { duration: 1000 } - SetPropertyAction { value: "PreserveAspectFit" } - SetPropertyAction { target: Label; property: "text"; value: "PreserveAspectFit" } + PropertyAction { value: "PreserveAspectFit" } + PropertyAction { target: Label; property: "text"; value: "PreserveAspectFit" } PauseAnimation { duration: 1000 } - SetPropertyAction { value: "PreserveAspectCrop" } - SetPropertyAction { target: Label; property: "text"; value: "PreserveAspectCrop" } + PropertyAction { value: "PreserveAspectCrop" } + PropertyAction { target: Label; property: "text"; value: "PreserveAspectCrop" } PauseAnimation { duration: 1000 } - SetPropertyAction { value: "Tile" } - SetPropertyAction { target: Label; property: "text"; value: "Tile" } + PropertyAction { value: "Tile" } + PropertyAction { target: Label; property: "text"; value: "Tile" } PauseAnimation { duration: 1000 } - SetPropertyAction { value: "TileHorizontally" } - SetPropertyAction { target: Label; property: "text"; value: "TileHorizontally" } + PropertyAction { value: "TileHorizontally" } + PropertyAction { target: Label; property: "text"; value: "TileHorizontally" } PauseAnimation { duration: 1000 } - SetPropertyAction { value: "TileVertically" } - SetPropertyAction { target: Label; property: "text"; value: "TileVertically" } + PropertyAction { value: "TileVertically" } + PropertyAction { target: Label; property: "text"; value: "TileVertically" } PauseAnimation { duration: 1000 } } Text { diff --git a/examples/declarative/follow/pong.qml b/examples/declarative/follow/pong.qml index 6146f1a..d2aaba9 100644 --- a/examples/declarative/follow/pong.qml +++ b/examples/declarative/follow/pong.qml @@ -19,9 +19,9 @@ Rectangle { x: SequentialAnimation { running: true; repeat: true NumberAnimation { to: Page.width-40; duration: 2000 } - SetPropertyAction { target: Ball; property: "direction"; value: "left" } + PropertyAction { target: Ball; property: "direction"; value: "left" } NumberAnimation { to: 20; duration: 2000 } - SetPropertyAction { target: Ball; property: "direction"; value: "right" } + PropertyAction { target: Ball; property: "direction"; value: "right" } } // Make y follow the target y coordinate, with a velocity of 200 diff --git a/examples/declarative/snow/ImageBatch.qml b/examples/declarative/snow/ImageBatch.qml index 4cf4259..17e5a48 100644 --- a/examples/declarative/snow/ImageBatch.qml +++ b/examples/declarative/snow/ImageBatch.qml @@ -23,7 +23,7 @@ GridView { transitions: Transition { SequentialAnimation { PauseAnimation { duration: 150 } - SetPropertyAction { properties: "z" } + PropertyAction { properties: "z" } } } model: XmlListModel { @@ -55,7 +55,7 @@ GridView { toState: "selected" SequentialAnimation { PauseAnimation { duration: 150 } - SetPropertyAction { properties: "z" } + PropertyAction { properties: "z" } NumberAnimation { properties: "scale"; duration: 150; } } }, @@ -63,7 +63,7 @@ GridView { fromState: "selected" SequentialAnimation { NumberAnimation { properties: "scale"; duration: 150 } - SetPropertyAction { properties: "z" } + PropertyAction { properties: "z" } } } ] |