diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-10-22 06:10:31 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-10-22 06:10:31 (GMT) |
commit | a477ea20364da0b0c363b02084adf3c5eff843b1 (patch) | |
tree | 2f32d0c74c1dc09c583f4fa50707e867a2a9c160 /src/declarative/util/qmlspringfollow.cpp | |
parent | 9e9c979affd1ce76a07c6545c25d2851c7964a7c (diff) | |
download | Qt-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/qmlspringfollow.cpp')
-rw-r--r-- | src/declarative/util/qmlspringfollow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/declarative/util/qmlspringfollow.cpp b/src/declarative/util/qmlspringfollow.cpp index 2dae448..34ec976 100644 --- a/src/declarative/util/qmlspringfollow.cpp +++ b/src/declarative/util/qmlspringfollow.cpp @@ -210,10 +210,10 @@ void QmlSpringFollowPrivate::stop() \qmlclass SpringFollow QmlSpringFollow \brief The SpringFollow element allows a property to track a value. - In example below, Rect2 will follow Rect1 moving with a velocity of up to 200: + In example below, \e rect2 will follow \e rect1 moving with a velocity of up to 200: \code Rectangle { - id: Rect1 + id: rect1 width: 20; height: 20 color: "#00ff00" y: 200 //initial value @@ -229,11 +229,11 @@ void QmlSpringFollowPrivate::stop() } } Rectangle { - id: Rect2 - x: Rect1.width + id: rect2 + x: rect1.width width: 20; height: 20 color: "#ff0000" - y: SpringFollow { source: Rect1.y; velocity: 200 } + y: SpringFollow { source: rect1.y; velocity: 200 } } \endcode |