diff options
author | Jerome Pasion <jerome.pasion@digia.com> | 2013-10-02 16:51:05 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-08 00:46:27 +0200 |
commit | 4533cc994484a2308297e64e99af005fb4dca065 (patch) | |
tree | bc66283d11cdad100a1aec03f4e1d86bedc9a79e /src/gui/text/qglyphrun.cpp | |
parent | 50dd0232b61d8ea3fb9aab18972c6e19678656e6 (diff) |
Doc: Adding mark-up to boolean default values.
Default values should have mark-up to denote that they are code.
This commit changes:
-"property is true" to "property is \c true".
-"Returns true" to "Returns \c true".
-"property is false" to "property is \c false".
-"returns true" to "returns \c true".
-"returns false" to "returns \c false".
src/3rdparty and non-documentation instances were ignored.
Task-number: QTBUG-33360
Change-Id: Ie87eaa57af947caa1230602b61c5c46292a4cf4e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/gui/text/qglyphrun.cpp')
-rw-r--r-- | src/gui/text/qglyphrun.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/text/qglyphrun.cpp b/src/gui/text/qglyphrun.cpp index d35247ecf4..aba991ba2b 100644 --- a/src/gui/text/qglyphrun.cpp +++ b/src/gui/text/qglyphrun.cpp @@ -162,8 +162,8 @@ QGlyphRun &QGlyphRun::operator=(const QGlyphRun &other) */ /*! - Compares \a other to this QGlyphRun object. Returns true if the list of glyph indexes, - the list of positions and the font are all equal, otherwise returns false. + Compares \a other to this QGlyphRun object. Returns \c true if the list of glyph indexes, + the list of positions and the font are all equal, otherwise returns \c false. */ bool QGlyphRun::operator==(const QGlyphRun &other) const { @@ -194,8 +194,8 @@ bool QGlyphRun::operator==(const QGlyphRun &other) const /*! \fn bool QGlyphRun::operator!=(const QGlyphRun &other) const - Compares \a other to this QGlyphRun object. Returns true if any of the list of glyph - indexes, the list of positions or the font are different, otherwise returns false. + Compares \a other to this QGlyphRun object. Returns \c true if any of the list of glyph + indexes, the list of positions or the font are different, otherwise returns \c false. */ /*! @@ -309,7 +309,7 @@ void QGlyphRun::setRawData(const quint32 *glyphIndexArray, const QPointF *glyphP } /*! - Returns true if this QGlyphRun should be painted with an overline decoration. + Returns \c true if this QGlyphRun should be painted with an overline decoration. \sa setOverline(), flags() */ @@ -330,7 +330,7 @@ void QGlyphRun::setOverline(bool overline) } /*! - Returns true if this QGlyphRun should be painted with an underline decoration. + Returns \c true if this QGlyphRun should be painted with an underline decoration. \sa setUnderline(), flags() */ @@ -351,7 +351,7 @@ void QGlyphRun::setUnderline(bool underline) } /*! - Returns true if this QGlyphRun should be painted with a strike out decoration. + Returns \c true if this QGlyphRun should be painted with a strike out decoration. \sa setStrikeOut(), flags() */ @@ -372,7 +372,7 @@ void QGlyphRun::setStrikeOut(bool strikeOut) } /*! - Returns true if this QGlyphRun contains glyphs that are painted from the right to the left. + Returns \c true if this QGlyphRun contains glyphs that are painted from the right to the left. \since 5.0 \sa setRightToLeft(), flags() @@ -501,7 +501,7 @@ QRectF QGlyphRun::boundingRect() const } /*! - Returns true if the QGlyphRun does not contain any glyphs. + Returns \c true if the QGlyphRun does not contain any glyphs. \since 5.0 */ |