summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tvtennis/tvtennis.qml
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-04-08 05:27:55 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-04-08 06:30:49 (GMT)
commit02d0f442177d7f232dc98ac9ee58c70c3e09c086 (patch)
tree9c328caf58b448150f9f1609fedf9644f874e720 /examples/declarative/tvtennis/tvtennis.qml
parentfda3e9d3e36e95392ad0882b445bb004001b9688 (diff)
downloadQt-02d0f442177d7f232dc98ac9ee58c70c3e09c086.zip
Qt-02d0f442177d7f232dc98ac9ee58c70c3e09c086.tar.gz
Qt-02d0f442177d7f232dc98ac9ee58c70c3e09c086.tar.bz2
Renamed 'source' property from SpringFollow to 'to'
Diffstat (limited to 'examples/declarative/tvtennis/tvtennis.qml')
-rw-r--r--examples/declarative/tvtennis/tvtennis.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/tvtennis/tvtennis.qml b/examples/declarative/tvtennis/tvtennis.qml
index 7c98c69..240183f 100644
--- a/examples/declarative/tvtennis/tvtennis.qml
+++ b/examples/declarative/tvtennis/tvtennis.qml
@@ -31,7 +31,7 @@ Rectangle {
}
// Make y follow the target y coordinate, with a velocity of 200
- SpringFollow on y { source: ball.targetY; velocity: 200 }
+ SpringFollow on y { to: ball.targetY; velocity: 200 }
// Detect the ball hitting the top or bottom of the view and bounce it
onYChanged: {
@@ -52,7 +52,7 @@ Rectangle {
color: "Lime"
x: 2; width: 20; height: 90
SpringFollow on y {
- source: ball.y - 45; velocity: 300
+ to: ball.y - 45; velocity: 300
enabled: ball.direction == 'left'
}
}
@@ -61,7 +61,7 @@ Rectangle {
color: "Lime"
x: page.width - 22; width: 20; height: 90
SpringFollow on y {
- source: ball.y-45; velocity: 300
+ to: ball.y-45; velocity: 300
enabled: ball.direction == 'right'
}
}