summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qlineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qlineedit.cpp')
-rw-r--r--src/widgets/widgets/qlineedit.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/widgets/widgets/qlineedit.cpp b/src/widgets/widgets/qlineedit.cpp
index adf70fde66..d3c37ab612 100644
--- a/src/widgets/widgets/qlineedit.cpp
+++ b/src/widgets/widgets/qlineedit.cpp
@@ -908,7 +908,7 @@ void QLineEdit::end(bool mark)
do not start out knowing what the default should be (perhaps it
depends on other fields on the form). Start the line edit without
the best default, and when the default is known, if modified()
- returns false (the user hasn't entered any text), insert the
+ returns \c false (the user hasn't entered any text), insert the
default value.
Calling setText() resets the modified flag to false.
@@ -930,10 +930,10 @@ void QLineEdit::setModified(bool modified)
\property QLineEdit::hasSelectedText
\brief whether there is any text selected
- hasSelectedText() returns true if some or all of the text has been
- selected by the user; otherwise returns false.
+ hasSelectedText() returns \c true if some or all of the text has been
+ selected by the user; otherwise returns \c false.
- By default, this property is false.
+ By default, this property is \c false.
\sa selectedText()
*/
@@ -1011,7 +1011,7 @@ void QLineEdit::setSelection(int start, int length)
Undo becomes available once the user has modified the text in the line edit.
- By default, this property is false.
+ By default, this property is \c false.
*/
bool QLineEdit::isUndoAvailable() const
@@ -1027,7 +1027,7 @@ bool QLineEdit::isUndoAvailable() const
Redo becomes available once the user has performed one or more undo operations
on text in the line edit.
- By default, this property is false.
+ By default, this property is \c false.
*/
bool QLineEdit::isRedoAvailable() const
@@ -1089,7 +1089,7 @@ void QLineEdit::setCursorMoveStyle(Qt::CursorMoveStyle style)
\brief whether the input satisfies the inputMask and the
validator.
- By default, this property is true.
+ By default, this property is \c true.
\sa setInputMask(), setValidator()
*/
@@ -1320,7 +1320,7 @@ void QLineEdit::redo()
QLineEdit does not show a cursor in read-only mode.
- By default, this property is false.
+ By default, this property is \c false.
\sa setEnabled()
*/