aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-06-20 17:42:51 +0200
committerCasper van Donderen <casper.vandonderen@nokia.com>2011-06-20 17:45:46 +0200
commit2f89a01bdd9f85b58c80a7df4c7885cb6efa8e3b (patch)
treeefcc23b8c0350cc2e66635b2e98e9c8e999798e4 /doc
parentfba41ea10b5d5703f06ad5514aec6a3e8e8f6f14 (diff)
Fix typo and put the correct snippets in the output.
Reviewed-by: David Boddie
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/example-textballoons.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/declarative/example-textballoons.qdoc b/doc/src/declarative/example-textballoons.qdoc
index 90de999265..7c21d18a51 100644
--- a/doc/src/declarative/example-textballoons.qdoc
+++ b/doc/src/declarative/example-textballoons.qdoc
@@ -51,11 +51,11 @@
\section1 TextBalloon Class Declaration
- The \c TextBalloon class inherits from QSGPaintedItem. QSGPaintedItem class
+ The \c TextBalloon class inherits from QSGPaintedItem. QSGPaintedItem
is the base class for all QPainter based items in the QML Scene Graph
framework.
- \snippet examples/declarative/painteditem/textballoons/textballoonplugin/textballoon.h 0
+ \snippet examples/declarative/painteditem/textballoons/textballoon.h 0
To implement a QSGPaintedItem you must implement QSGPaintedIem's pure
virtual function \l {QSGPaintedItem::}{paint()} which implements the
@@ -66,13 +66,13 @@
We have to be sure to initialize the rightAligned property for a
TextBalloon item.
- \snippet examples/declarative/painteditem/textballoons/textballoonplugin/textballoon.cpp 0
+ \snippet examples/declarative/painteditem/textballoons/textballoon.cpp 0
Then we implement the \c paint() function which is automatically called by
the Scenegraph framework to paint the contents of the item. The function
paints the item in local coordinates.
- \snippet examples/declarative/painteditem/textballoons/textballoonplugin/textballoon.cpp 1
+ \snippet examples/declarative/painteditem/textballoons/textballoon.cpp 1
We start with setting the pen and brush on the item to define the look of
the item. After that we start drawing. Note that the \l {QSGPaintedItem::}{boundingRect()}