summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqdial.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/tqdial.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/tqdial.3qt')
-rw-r--r--doc/man/man3/tqdial.3qt18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqdial.3qt b/doc/man/man3/tqdial.3qt
index 27613535f..1c450712f 100644
--- a/doc/man/man3/tqdial.3qt
+++ b/doc/man/man3/tqdial.3qt
@@ -162,9 +162,9 @@ The QDial class provides a rounded range control (like a speedometer or potentio
.PP
QDial is used when the user needs to control a value within a program-definable range, and the range either wraps around (typically, 0..359 degrees) or the dialog layout needs a square widget.
.PP
-Both API- and UI-wise, the dial is very similar to a slider. Indeed, when wrapping() is FALSE (the default) there is no real difference between a slider and a dial. They have the same signals, slots and member functions, all of which do the same things. Which one you use depends only on your taste and on the application.
+Both API- and UI-wise, the dial is very similar to a slider. Indeed, when wrapping() is false (the default) there is no real difference between a slider and a dial. They have the same signals, slots and member functions, all of which do the same things. Which one you use depends only on your taste and on the application.
.PP
-The dial initially emits valueChanged() signals continuously while the slider is being moved; you can make it emit the signal less often by calling setTracking(FALSE). dialMoved() is emitted continuously even when tracking() is FALSE.
+The dial initially emits valueChanged() signals continuously while the slider is being moved; you can make it emit the signal less often by calling setTracking(false). dialMoved() is emitted continuously even when tracking() is false.
.PP
The slider also emits dialPressed() and dialReleased() signals when the mouse button is pressed and released. But note that the dial's value can change without these signals being emitted; the keyboard and wheel can be used to change the value.
.PP
@@ -218,7 +218,7 @@ Returns the current notch size. See the "notchSize" property for details.
.SH "double QDial::notchTarget () const"
Returns the target number of pixels between notches. See the "notchTarget" property for details.
.SH "bool QDial::notchesVisible () const"
-Returns TRUE if the notches are shown; otherwise returns FALSE. See the "notchesVisible" property for details.
+Returns true if the notches are shown; otherwise returns false. See the "notchesVisible" property for details.
.SH "int QDial::pageStep () const"
Returns the current page step. See the "pageStep" property for details.
.SH "void QDial::rangeChange ()\fC [virtual protected]\fR"
@@ -250,7 +250,7 @@ Decrements the dial's value() by one lineStep().
.SH "void QDial::subtractPage ()\fC [slot]\fR"
Decrements the dial's value() by one pageStep() of steps.
.SH "bool QDial::tracking () const"
-Returns TRUE if tracking is enabled; otherwise returns FALSE. See the "tracking" property for details.
+Returns true if tracking is enabled; otherwise returns false. See the "tracking" property for details.
.SH "int QDial::value () const"
Returns the current dial value. See the "value" property for details.
.SH "void QDial::valueChange ()\fC [virtual protected]\fR"
@@ -260,7 +260,7 @@ Reimplemented from QRangeControl.
.SH "void QDial::valueChanged ( int value )\fC [signal]\fR"
This signal is emitted whenever the dial's \fIvalue\fR changes. The frequency of this signal is influenced by setTracking().
.SH "bool QDial::wrapping () const"
-Returns TRUE if wrapping is enabled; otherwise returns FALSE. See the "wrapping" property for details.
+Returns true if wrapping is enabled; otherwise returns false. See the "wrapping" property for details.
.SS "Property Documentation"
.SH "int lineStep"
This property holds the current line step.
@@ -305,7 +305,7 @@ Set this property's value with setNotchTarget() and get this property's value wi
.SH "bool notchesVisible"
This property holds whether the notches are shown.
.PP
-If TRUE, the notches are shown. If FALSE (the default) notches are not shown.
+If true, the notches are shown. If false (the default) notches are not shown.
.PP
Set this property's value with setNotchesVisible() and get this property's value with notchesVisible().
.SH "int pageStep"
@@ -319,7 +319,7 @@ Set this property's value with setPageStep() and get this property's value with
.SH "bool tracking"
This property holds whether tracking is enabled.
.PP
-If TRUE (the default), tracking is enabled. This means that the arrow can be moved using the mouse; otherwise the arrow cannot be moved with the mouse.
+If true (the default), tracking is enabled. This means that the arrow can be moved using the mouse; otherwise the arrow cannot be moved with the mouse.
.PP
Set this property's value with setTracking() and get this property's value with tracking().
.SH "int value"
@@ -333,9 +333,9 @@ Set this property's value with setValue() and get this property's value with val
.SH "bool wrapping"
This property holds whether wrapping is enabled.
.PP
-If TRUE, wrapping is enabled. This means that the arrow can be turned around 360°. Otherwise there is some space at the bottom of the dial which is skipped by the arrow.
+If true, wrapping is enabled. This means that the arrow can be turned around 360°. Otherwise there is some space at the bottom of the dial which is skipped by the arrow.
.PP
-This property's default is FALSE.
+This property's default is false.
.PP
Set this property's value with setWrapping() and get this property's value with wrapping().