summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2012-03-01 19:14:55 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-01 19:44:16 +0100
commit794a97bfd929bf69c20111e3dfc2fa28165d57a3 (patch)
treefdeaf767ac1c90a9b9feee1004d727497c718817
parent34c0f3dcaf1f3b0e3e5cce80e30a2a2a90472e4c (diff)
downloadqtsvg-qt-v5.0.0-alpha1.tar.gz
Remove the usage of deprecated qdoc macros.qt-v5.0.0-alpha1
QDoc now has support for Doxygen style commands for italics, bold and list items. This change applies that change in QDoc to the actual documentation. Task-number: QTBUG-24578 Change-Id: I1ec71bacd7cc75c327c4112c6587a91c3e0b37eb Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
-rw-r--r--doc/src/examples/textobject.qdoc12
-rw-r--r--src/svg/qsvgrenderer.cpp8
2 files changed, 10 insertions, 10 deletions
diff --git a/doc/src/examples/textobject.qdoc b/doc/src/examples/textobject.qdoc
index 073b3e1..ca26dda 100644
--- a/doc/src/examples/textobject.qdoc
+++ b/doc/src/examples/textobject.qdoc
@@ -51,19 +51,19 @@
following steps:
\list
- \o Implement the text object.
- \o Register the text object with the layout of the text
+ \li Implement the text object.
+ \li Register the text object with the layout of the text
document.
- \o Set the text object on a QTextCharFormat.
- \o Insert a QChar::ObjectReplacementCharacter with that
+ \li Set the text object on a QTextCharFormat.
+ \li Insert a QChar::ObjectReplacementCharacter with that
text char format into the document.
\endlist
The example consists of the following classes:
\list
- \o \c{SvgTextObject} implements the text object.
- \o \c{Window} shows a QTextEdit into which SVG images can be
+ \li \c{SvgTextObject} implements the text object.
+ \li \c{Window} shows a QTextEdit into which SVG images can be
inserted.
\endlist
diff --git a/src/svg/qsvgrenderer.cpp b/src/svg/qsvgrenderer.cpp
index b6fca89..cb01aa7 100644
--- a/src/svg/qsvgrenderer.cpp
+++ b/src/svg/qsvgrenderer.cpp
@@ -86,13 +86,13 @@ QT_BEGIN_NAMESPACE
functions and properties:
\list
- \o The animated() function indicates whether a drawing contains animation information.
+ \li The animated() function indicates whether a drawing contains animation information.
\omit
- \o The animationDuration() function provides the duration in milliseconds of the
+ \li The animationDuration() function provides the duration in milliseconds of the
animation, without taking any looping into account.
- \o The \l currentFrame property contains the current frame of the animation.
+ \li The \l currentFrame property contains the current frame of the animation.
\endomit
- \o The \l framesPerSecond property contains the rate at which the animation plays.
+ \li The \l framesPerSecond property contains the rate at which the animation plays.
\endlist
Finally, the QSvgRenderer class provides the repaintNeeded() signal which is emitted