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/qtextlayout.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/qtextlayout.cpp')
-rw-r--r-- | src/gui/text/qtextlayout.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/text/qtextlayout.cpp b/src/gui/text/qtextlayout.cpp index eed6758cc9..e10a7dbe10 100644 --- a/src/gui/text/qtextlayout.cpp +++ b/src/gui/text/qtextlayout.cpp @@ -130,7 +130,7 @@ QT_BEGIN_NAMESPACE /*! \fn bool QTextInlineObject::isValid() const - Returns true if this inline object is valid; otherwise returns + Returns \c true if this inline object is valid; otherwise returns false. */ @@ -543,8 +543,8 @@ void QTextLayout::setCacheEnabled(bool enable) } /*! - Returns true if the complete layout information is cached; otherwise - returns false. + Returns \c true if the complete layout information is cached; otherwise + returns \c false. \sa setCacheEnabled() */ @@ -728,7 +728,7 @@ int QTextLayout::leftCursorPosition(int oldPos) const } /*!/ - Returns true if position \a pos is a valid cursor position. + Returns \c true if position \a pos is a valid cursor position. In a Unicode context some positions in the text are not valid cursor positions, because the position is inside a Unicode @@ -1325,7 +1325,7 @@ void QTextLayout::drawCursor(QPainter *p, const QPointF &pos, int cursorPosition /*! \fn bool QTextLine::isValid() const - Returns true if this text line is valid; otherwise returns false. + Returns \c true if this text line is valid; otherwise returns \c false. */ /*! @@ -1459,8 +1459,8 @@ void QTextLine::setLeadingIncluded(bool included) /*! \since 4.6 - Returns true if positive leading is included into the line's height; - otherwise returns false. + Returns \c true if positive leading is included into the line's height; + otherwise returns \c false. By default, leading is not included. |