diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-08-19 06:34:44 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-08-19 08:15:20 (GMT) |
commit | 21e87b18698c50bcfe0800509563e71c79aae0bb (patch) | |
tree | 4567cb8a5bd3127fe98d7ce5a5042550bca48b7b /src/declarative/util/qmlanimation.cpp | |
parent | 51555ed45f6397fa7cdfae771ee6275733bce615 (diff) | |
download | Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.zip Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.gz Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.bz2 |
Renaming Rect -> Rectangle
Diffstat (limited to 'src/declarative/util/qmlanimation.cpp')
-rw-r--r-- | src/declarative/util/qmlanimation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/util/qmlanimation.cpp b/src/declarative/util/qmlanimation.cpp index 5632dc0..7faddee 100644 --- a/src/declarative/util/qmlanimation.cpp +++ b/src/declarative/util/qmlanimation.cpp @@ -176,7 +176,7 @@ QmlAbstractAnimation::QmlAbstractAnimation(QmlAbstractAnimationPrivate &dd, QObj whenever the \l MouseRegion is pressed. \code - Rect { + Rectangle { width: 100; height: 100 x: NumberAnimation { running: MyMouse.pressed @@ -362,7 +362,7 @@ void QmlAbstractAnimation::setAlwaysRunToEnd(bool f) In the following example, the rectangle will spin indefinately. \code - Rect { + Rectangle { rotation: NumberAnimation { running: true; repeat: true; from: 0 to: 360 } } \endcode @@ -541,7 +541,7 @@ void QmlAbstractAnimation::resume() Normally \c stop() stops the animation immediately, and the animation has no further influence on property values. In this example animation \code - Rect { + Rectangle { x: NumberAnimation { from: 0; to: 100; duration: 500 } } \endcode @@ -579,7 +579,7 @@ void QmlAbstractAnimation::restart() Unlike \c stop(), \c complete() immediately fast-forwards the animation to its end. In the following example, \code - Rect { + Rectangle { x: NumberAnimation { from: 0; to: 100; duration: 500 } } \endcode |