summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-31 13:52:55 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-31 13:52:55 (GMT)
commit2cadc571339d4abee6d7cfb0da08e3119d934524 (patch)
treeb79f8033cc93bea6d74fc50ea80097ae071ba684 /doc/src
parented6e0d67211938de7bcba844519d5bad8d2965b6 (diff)
downloadQt-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.qdoc4
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