From 794a97bfd929bf69c20111e3dfc2fa28165d57a3 Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Thu, 1 Mar 2012 19:14:55 +0100 Subject: Remove the usage of deprecated qdoc macros. 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 --- doc/src/examples/textobject.qdoc | 12 ++++++------ src/svg/qsvgrenderer.cpp | 8 ++++---- 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 -- cgit v1.2.1