summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmleasefollow.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-10-22 06:10:31 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-10-22 06:10:31 (GMT)
commita477ea20364da0b0c363b02084adf3c5eff843b1 (patch)
tree2f32d0c74c1dc09c583f4fa50707e867a2a9c160 /src/declarative/util/qmleasefollow.cpp
parent9e9c979affd1ce76a07c6545c25d2851c7964a7c (diff)
downloadQt-a477ea20364da0b0c363b02084adf3c5eff843b1.zip
Qt-a477ea20364da0b0c363b02084adf3c5eff843b1.tar.gz
Qt-a477ea20364da0b0c363b02084adf3c5eff843b1.tar.bz2
change all ids in doc examples to start with lower case.
Diffstat (limited to 'src/declarative/util/qmleasefollow.cpp')
-rw-r--r--src/declarative/util/qmleasefollow.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/declarative/util/qmleasefollow.cpp b/src/declarative/util/qmleasefollow.cpp
index 860c63a..f020395 100644
--- a/src/declarative/util/qmleasefollow.cpp
+++ b/src/declarative/util/qmleasefollow.cpp
@@ -225,21 +225,21 @@ Rectangle {
color: "green"
width: 60; height: 60;
x: -5; y: -5;
- x: EaseFollow { source: Rect1.x - 5; velocity: 200 }
- y: EaseFollow { source: Rect1.y - 5; velocity: 200 }
+ x: EaseFollow { source: rect1.x - 5; velocity: 200 }
+ y: EaseFollow { source: rect1.y - 5; velocity: 200 }
}
Rectangle {
- id: Rect1
+ id: rect1
color: "red"
width: 50; height: 50;
}
focus: true
- Keys.onRightPressed: Rect1.x = Rect1.x + 100
- Keys.onLeftPressed: Rect1.x = Rect1.x - 100
- Keys.onUpPressed: Rect1.y = Rect1.y - 100
- Keys.onDownPressed: Rect1.y = Rect1.y + 100
+ Keys.onRightPressed: rect1.x = rect1.x + 100
+ Keys.onLeftPressed: rect1.x = rect1.x - 100
+ Keys.onUpPressed: rect1.y = rect1.y - 100
+ Keys.onDownPressed: rect1.y = rect1.y + 100
}
\endcode