diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:38:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:43:03 +0900 |
| commit | 6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch) | |
| tree | b029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqcheckbox.3qt | |
| parent | 81ade129093a279e6537db25710583fd2bba9427 (diff) | |
| download | tqt-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/tqcheckbox.3qt')
| -rw-r--r-- | doc/man/man3/tqcheckbox.3qt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/man/man3/tqcheckbox.3qt b/doc/man/man3/tqcheckbox.3qt index 96d680715..03290e08d 100644 --- a/doc/man/man3/tqcheckbox.3qt +++ b/doc/man/man3/tqcheckbox.3qt @@ -28,7 +28,7 @@ Inherits QButton. .BI "void \fBsetNoChange\fR ()" .br .ti -1c -.BI "void \fBsetTristate\fR ( bool y = TRUE )" +.BI "void \fBsetTristate\fR ( bool y = true )" .br .ti -1c .BI "bool \fBisTristate\fR () const" @@ -153,7 +153,7 @@ The \fIparent\fR and \fIname\fR arguments are sent to the TQWidget constructor. .SH "QKeySequence QButton::accel () const" Returns the accelerator associated with the button. See the "accel" property for details. .SH "bool QButton::autoRepeat () const" -Returns TRUE if autoRepeat is enabled; otherwise returns FALSE. See the "autoRepeat" property for details. +Returns true if autoRepeat is enabled; otherwise returns false. See the "autoRepeat" property for details. .SH "void QButton::clicked ()\fC [signal]\fR" This signal is emitted when the button is activated (i.e. first pressed down and then released when the mouse cursor is inside the button), when the accelerator key is typed or when animateClick() is called. This signal is \fInot\fR emitted if you call setDown(). .PP @@ -172,17 +172,17 @@ If the button is not a member of any QButtonGroup, this function returns 0. .PP See also QButtonGroup. .SH "bool QCheckBox::isChecked () const" -Returns TRUE if the checkbox is checked; otherwise returns FALSE. See the "checked" property for details. +Returns true if the checkbox is checked; otherwise returns false. See the "checked" property for details. .SH "bool QButton::isDown () const" -Returns TRUE if the button is pressed; otherwise returns FALSE. See the "down" property for details. +Returns true if the button is pressed; otherwise returns false. See the "down" property for details. .SH "bool QButton::isExclusiveToggle () const" -Returns TRUE if the button is an exclusive toggle; otherwise returns FALSE. See the "exclusiveToggle" property for details. +Returns true if the button is an exclusive toggle; otherwise returns false. See the "exclusiveToggle" property for details. .SH "bool QButton::isOn () const" -Returns TRUE if the button is toggled; otherwise returns FALSE. See the "on" property for details. +Returns true if the button is toggled; otherwise returns false. See the "on" property for details. .SH "bool QButton::isToggleButton () const" -Returns TRUE if the button is a toggle button; otherwise returns FALSE. See the "toggleButton" property for details. +Returns true if the button is a toggle button; otherwise returns false. See the "toggleButton" property for details. .SH "bool QCheckBox::isTristate () const" -Returns TRUE if the checkbox is a tri-state checkbox; otherwise returns FALSE. See the "tristate" property for details. +Returns true if the checkbox is a tri-state checkbox; otherwise returns false. See the "tristate" property for details. .SH "const QPixmap * QButton::pixmap () const" Returns the pixmap shown on the button. See the "pixmap" property for details. .SH "void QButton::pressed ()\fC [signal]\fR" @@ -212,7 +212,7 @@ See also tristate. Sets the pixmap shown on the button. See the "pixmap" property for details. .SH "void QButton::setText ( const TQString & )\fC [virtual]\fR" Sets the text shown on the button. See the "text" property for details. -.SH "void QCheckBox::setTristate ( bool y = TRUE )" +.SH "void QCheckBox::setTristate ( bool y = true )" Sets whether the checkbox is a tri-state checkbox to \fIy\fR. See the "tristate" property for details. .SH "ToggleState QButton::state () const" Returns the state of the toggle button. See the "toggleState" property for details. @@ -229,7 +229,7 @@ Toggles the state of a toggle button. .PP See also on, setOn(), toggled(), and toggleButton. .SH "void QButton::toggled ( bool on )\fC [signal]\fR" -This signal is emitted whenever a toggle button changes status. \fIon\fR is TRUE if the button is on, or FALSE if the button is off. +This signal is emitted whenever a toggle button changes status. \fIon\fR is true if the button is on, or false if the button is off. .PP This may be the result of a user action, toggle() slot activation, or because setOn() was called. .PP @@ -256,7 +256,7 @@ Set this property's value with setAutoRepeat() and get this property's value wit .SH "bool checked" This property holds whether the checkbox is checked. .PP -The default is unchecked, i.e. FALSE. +The default is unchecked, i.e. false. .PP Set this property's value with setChecked() and get this property's value with isChecked(). .SH "QPixmap pixmap" @@ -278,7 +278,7 @@ Set this property's value with setText() and get this property's value with text .SH "bool tristate" This property holds whether the checkbox is a tri-state checkbox. .PP -The default is two-state, i.e. tri-state is FALSE. +The default is two-state, i.e. tri-state is false. .PP Set this property's value with setTristate() and get this property's value with isTristate(). |
