summaryrefslogtreecommitdiffstats
path: root/examples/declarative/follow
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/follow
parent662488175fb9c6a44e9641867177b5396c507891 (diff)
downloadQt-ffc9e62cbf7e24cd04a1202de1b3e618f9e12642.zip
Qt-ffc9e62cbf7e24cd04a1202de1b3e618f9e12642.tar.gz
Qt-ffc9e62cbf7e24cd04a1202de1b3e618f9e12642.tar.bz2
Rename NumericAnimation -> NumberAnimation
Diffstat (limited to 'examples/declarative/follow')
-rw-r--r--examples/declarative/follow/follow.qml4
-rw-r--r--examples/declarative/follow/pong.qml4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/follow/follow.qml b/examples/declarative/follow/follow.qml
index 3258ea6..21a0309 100644
--- a/examples/declarative/follow/follow.qml
+++ b/examples/declarative/follow/follow.qml
@@ -7,11 +7,11 @@ Rect {
y: 200; width: 60; height: 20
y: SequentialAnimation {
running: true; repeat: true
- NumericAnimation {
+ NumberAnimation {
to: 20; duration: 500
easing: "easeInOutQuad"
}
- NumericAnimation {
+ NumberAnimation {
to: 200; duration: 2000
easing: "easeOutBounce"
}
diff --git a/examples/declarative/follow/pong.qml b/examples/declarative/follow/pong.qml
index 582b04c..93ee6a7 100644
--- a/examples/declarative/follow/pong.qml
+++ b/examples/declarative/follow/pong.qml
@@ -16,9 +16,9 @@ Rect {
// Move the ball to the right and back to the left repeatedly
x: SequentialAnimation {
running: true; repeat: true
- NumericAnimation { to: Page.width-40; duration: 2000 }
+ NumberAnimation { to: Page.width-40; duration: 2000 }
SetPropertyAction { target: Ball; property: "direction"; value: "left" }
- NumericAnimation { to: 20; duration: 2000 }
+ NumberAnimation { to: 20; duration: 2000 }
SetPropertyAction { target: Ball; property: "direction"; value: "right" }
}