diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2012-08-01 14:44:51 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-01 15:37:46 +0200 |
commit | c3189a0a229cf6ac0e9ea93854b0273551e119d0 (patch) | |
tree | ab4423460e7de82a526f453536eb74649d4b88d8 /src/gui/text | |
parent | a68577e7e07cce40cac142f6e2b386a76f3ecbd1 (diff) |
change \img to \image in docs
\img was a macro defined in macros.qdocconf. This collection
of macros is being phased out. Use the full command instead.
Change-Id: Ia55212f87bb46349d61359d40568e0aa33882596
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/gui/text')
-rw-r--r-- | src/gui/text/qfontmetrics.cpp | 4 | ||||
-rw-r--r-- | src/gui/text/qtextformat.cpp | 2 | ||||
-rw-r--r-- | src/gui/text/qtextobject.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/text/qfontmetrics.cpp b/src/gui/text/qfontmetrics.cpp index d135b2a44b..488bb68ec4 100644 --- a/src/gui/text/qfontmetrics.cpp +++ b/src/gui/text/qfontmetrics.cpp @@ -551,7 +551,7 @@ int QFontMetrics::width(const QString &text, int len, int flags) const /*! \overload - \img bearings.png Bearings + \image bearings.png Bearings Returns the logical width of character \a ch in pixels. This is a distance appropriate for drawing a subsequent character after \a @@ -1391,7 +1391,7 @@ qreal QFontMetricsF::width(const QString &text) const /*! \overload - \img bearings.png Bearings + \image bearings.png Bearings Returns the logical width of character \a ch in pixels. This is a distance appropriate for drawing a subsequent character after \a diff --git a/src/gui/text/qtextformat.cpp b/src/gui/text/qtextformat.cpp index 4dd7b285c9..cb1e81bba2 100644 --- a/src/gui/text/qtextformat.cpp +++ b/src/gui/text/qtextformat.cpp @@ -2446,7 +2446,7 @@ QTextListFormat::QTextListFormat(const QTextFormat &fmt) frame's padding(). This scheme is similar to the box model used by Cascading Style Sheets for HTML pages. - \img qtextframe-style.png + \image qtextframe-style.png The position() of a frame is set using setPosition() and determines how it is located relative to the surrounding text. diff --git a/src/gui/text/qtextobject.cpp b/src/gui/text/qtextobject.cpp index 5643233994..a7cd76c51b 100644 --- a/src/gui/text/qtextobject.cpp +++ b/src/gui/text/qtextobject.cpp @@ -868,7 +868,7 @@ QTextBlockUserData::~QTextBlockUserData() compares two blocks for inequality, and \l operator<() determines whether a block precedes another in the same document. - \img qtextblock-sequence.png + \image qtextblock-sequence.png \sa QTextBlockFormat, QTextCharFormat, QTextFragment */ @@ -1602,7 +1602,7 @@ QTextBlock::iterator &QTextBlock::iterator::operator--() of the sentence, the second will contain the text from the middle, and the third takes the text from the end of the sentence. - \img qtextfragment-split.png + \image qtextfragment-split.png A fragment's text and character format can be obtained with the text() and charFormat() functions. The length() function gives the length of |