summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqspinbox.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:38:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:43:03 +0900
commit6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch)
treeb029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqspinbox.3qt
parent81ade129093a279e6537db25710583fd2bba9427 (diff)
downloadtqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz
tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqspinbox.3qt')
-rw-r--r--doc/man/man3/tqspinbox.3qt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqspinbox.3qt b/doc/man/man3/tqspinbox.3qt
index 381cc2544..26423c2e4 100644
--- a/doc/man/man3/tqspinbox.3qt
+++ b/doc/man/man3/tqspinbox.3qt
@@ -317,7 +317,7 @@ See also editor().
.SH "int QSpinBox::lineStep () const"
Returns the line step. See the "lineStep" property for details.
.SH "int QSpinBox::mapTextToValue ( bool * ok )\fC [virtual protected]\fR"
-This virtual function is used by the spin box whenever it needs to interpret text entered by the user as a value. The text is available as text() and as cleanText(), and this function must parse it if possible. If \fIok\fR is not 0: if it parses the text successfully, \fI*ok\fR is set to TRUE; otherwise \fI*ok\fR is set to FALSE.
+This virtual function is used by the spin box whenever it needs to interpret text entered by the user as a value. The text is available as text() and as cleanText(), and this function must parse it if possible. If \fIok\fR is not 0: if it parses the text successfully, \fI*ok\fR is set to true; otherwise \fI*ok\fR is set to false.
.PP
Subclasses that need to display spin box values in a non-numeric way need to reimplement this function.
.PP
@@ -371,11 +371,11 @@ Sets whether it is possible to step the value from the highest value to the lowe
.SH "TQString QSpinBox::specialValueText () const"
Returns the special-value text. See the "specialValueText" property for details.
.SH "void QSpinBox::stepDown ()\fC [virtual slot]\fR"
-Decreases the spin box's value one lineStep(), wrapping as necessary if wrapping() is TRUE. This is the same as clicking on the pointing-down button and can be used for keyboard accelerators, for example.
+Decreases the spin box's value one lineStep(), wrapping as necessary if wrapping() is true. This is the same as clicking on the pointing-down button and can be used for keyboard accelerators, for example.
.PP
See also stepUp(), subtractLine(), lineStep, setSteps(), value, and value.
.SH "void QSpinBox::stepUp ()\fC [virtual slot]\fR"
-Increases the spin box's value by one lineStep(), wrapping as necessary if wrapping() is TRUE. This is the same as clicking on the pointing-up button and can be used for keyboard accelerators, for example.
+Increases the spin box's value by one lineStep(), wrapping as necessary if wrapping() is true. This is the same as clicking on the pointing-up button and can be used for keyboard accelerators, for example.
.PP
See also stepDown(), addLine(), lineStep, setSteps(), value, and value.
.SH "TQString QSpinBox::suffix () const\fC [virtual]\fR"
@@ -418,7 +418,7 @@ The \fIvalueText\fR parameter is the same string that is displayed in the edit f
.PP
See also value, prefix, suffix, and specialValueText.
.SH "bool QSpinBox::wrapping () const"
-Returns TRUE if it is possible to step the value from the highest value to the lowest value and vice versa; otherwise returns FALSE. See the "wrapping" property for details.
+Returns true if it is possible to step the value from the highest value to the lowest value and vice versa; otherwise returns false. See the "wrapping" property for details.
.SS "Property Documentation"
.SH "ButtonSymbols buttonSymbols"
This property holds the current button symbol mode.