summaryrefslogtreecommitdiffstats
path: root/examples/declarative/states
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-06-26 01:16:57 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-06-26 02:04:36 (GMT)
commitffc9e62cbf7e24cd04a1202de1b3e618f9e12642 (patch)
treefaf828900c05b748e39158eb6a1fb59c44ba3763 /examples/declarative/states
parent662488175fb9c6a44e9641867177b5396c507891 (diff)
downloadQt-ffc9e62cbf7e24cd04a1202de1b3e618f9e12642.zip
Qt-ffc9e62cbf7e24cd04a1202de1b3e618f9e12642.tar.gz
Qt-ffc9e62cbf7e24cd04a1202de1b3e618f9e12642.tar.bz2
Rename NumericAnimation -> NumberAnimation
Diffstat (limited to 'examples/declarative/states')
-rw-r--r--examples/declarative/states/transitions.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/states/transitions.qml b/examples/declarative/states/transitions.qml
index 4c1dceb..214f6e2 100644
--- a/examples/declarative/states/transitions.qml
+++ b/examples/declarative/states/transitions.qml
@@ -44,17 +44,17 @@ Rect {
// with easeOutBounce easing function.
Transition {
fromState: "*"; toState: "Position1"
- NumericAnimation { properties: "x,y"; easing: "easeOutBounce"; duration: 1000 }
+ NumberAnimation { properties: "x,y"; easing: "easeOutBounce"; duration: 1000 }
},
// When transitioning to 'Position2' move x,y over a duration of 2 seconds,
// with easeInOutQuad easing function.
Transition {
fromState: "*"; toState: "Position2"
- NumericAnimation { properties: "x,y"; easing: "easeInOutQuad"; duration: 2000 }
+ NumberAnimation { properties: "x,y"; easing: "easeInOutQuad"; duration: 2000 }
},
// For any other state changes move x,y linearly over duration of 200ms.
Transition {
- NumericAnimation { properties: "x,y"; duration: 200 }
+ NumberAnimation { properties: "x,y"; duration: 200 }
}
]
}