diff options
author | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-31 13:52:55 (GMT) |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-31 13:52:55 (GMT) |
commit | 2cadc571339d4abee6d7cfb0da08e3119d934524 (patch) | |
tree | b79f8033cc93bea6d74fc50ea80097ae071ba684 /doc/src | |
parent | ed6e0d67211938de7bcba844519d5bad8d2965b6 (diff) | |
download | Qt-2cadc571339d4abee6d7cfb0da08e3119d934524.zip Qt-2cadc571339d4abee6d7cfb0da08e3119d934524.tar.gz Qt-2cadc571339d4abee6d7cfb0da08e3119d934524.tar.bz2 |
Doc: Use new APIs in example and correct documentation regarding replacement.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/examples/collidingmice-example.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/examples/collidingmice-example.qdoc b/doc/src/examples/collidingmice-example.qdoc index 5b124f9..f627fbf 100644 --- a/doc/src/examples/collidingmice-example.qdoc +++ b/doc/src/examples/collidingmice-example.qdoc @@ -95,11 +95,11 @@ the global qrand() function which is a thread-safe version of the standard C++ rand() function. - Then we call the \l {QGraphicsItem::rotate()}{rotate()} function + Then we call the \l {QGraphicsItem::setRotation()}{setRotation()} function inherited from QGraphicsItem. Items live in their own local coordinate system. Their coordinates are usually centered around (0, 0), and this is also the center for all transformations. By - calling the item's \l {QGraphicsItem::rotate()}{rotate()} function + calling the item's \l {QGraphicsItem::setRotation()}{setRotation()} function we alter the direction in which the mouse will start moving. When the QGraphicsScene decides to advance the scene a frame it will call |