summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qwidgetlinecontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qwidgetlinecontrol.cpp')
-rw-r--r--src/widgets/widgets/qwidgetlinecontrol.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/widgets/qwidgetlinecontrol.cpp b/src/widgets/widgets/qwidgetlinecontrol.cpp
index 6a41144cc1..b16477246f 100644
--- a/src/widgets/widgets/qwidgetlinecontrol.cpp
+++ b/src/widgets/widgets/qwidgetlinecontrol.cpp
@@ -416,7 +416,7 @@ QRect QWidgetLineControl::cursorRect() const
Fixes the current text so that it is valid given any set validators.
- Returns true if the text was changed. Otherwise returns false.
+ Returns \c true if the text was changed. Otherwise returns \c false.
*/
bool QWidgetLineControl::fixup() // this function assumes that validate currently returns != Acceptable
{
@@ -1090,10 +1090,10 @@ bool QWidgetLineControl::isValidInput(QChar key, QChar mask) const
/*!
\internal
- Returns true if the given text \a str is valid for any
+ Returns \c true if the given text \a str is valid for any
validator or input mask set for the line control.
- Otherwise returns false
+ Otherwise returns \c false
*/
bool QWidgetLineControl::hasAcceptableInput(const QString &str) const
{