summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextlayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qtextlayout.cpp')
-rw-r--r--src/gui/text/qtextlayout.cpp14
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.