From b87533f9904c10f24d6b2e8177c00944e3efe15b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 26 Nov 2025 15:11:22 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Manually cherry-picked from commit 4d495175 Signed-off-by: Michele Calgaro --- doc/html/ntqcheckbox.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'doc/html/ntqcheckbox.html') diff --git a/doc/html/ntqcheckbox.html b/doc/html/ntqcheckbox.html index 233068c3b..dda468835 100644 --- a/doc/html/ntqcheckbox.html +++ b/doc/html/ntqcheckbox.html @@ -42,7 +42,7 @@ body { background: #ffffff; color: black; }
  • TQCheckBox ( const TQString & text, TQWidget * parent, const char * name = 0 )
  • bool isChecked () const
  • void setNoChange ()
  • -
  • void setTristate ( bool y = TRUE )
  • +
  • void setTristate ( bool y = true )
  • bool isTristate () const
  • Public Slots

    @@ -128,7 +128,7 @@ constructor.

    Returns the accelerator associated with the button. See the "accel" property for details.

    bool TQButton::autoRepeat () const -

    Returns TRUE if autoRepeat is enabled; otherwise returns FALSE. +

    Returns true if autoRepeat is enabled; otherwise returns false. See the "autoRepeat" property for details.

    void TQButton::clicked () [signal]

    @@ -152,22 +152,22 @@ returns 0.

    See also TQButtonGroup.

    bool TQCheckBox::isChecked () const -

    Returns TRUE if the checkbox is checked; otherwise returns FALSE. +

    Returns true if the checkbox is checked; otherwise returns false. See the "checked" property for details.

    bool TQButton::isDown () const -

    Returns TRUE if the button is pressed; otherwise returns FALSE. +

    Returns true if the button is pressed; otherwise returns false. See the "down" property for details.

    bool TQButton::isExclusiveToggle () const -

    Returns TRUE if the button is an exclusive toggle; otherwise returns FALSE. +

    Returns true if the button is an exclusive toggle; otherwise returns false. See the "exclusiveToggle" property for details.

    bool TQButton::isOn () const -

    Returns TRUE if the button is toggled; otherwise returns FALSE. +

    Returns true if the button is toggled; otherwise returns false. See the "on" property for details.

    bool TQButton::isToggleButton () const -

    Returns TRUE if the button is a toggle button; otherwise returns FALSE. +

    Returns true if the button is a toggle button; otherwise returns false. See the "toggleButton" property for details.

    bool TQCheckBox::isTristate () const -

    Returns TRUE if the checkbox is a tri-state checkbox; otherwise returns FALSE. +

    Returns true if the checkbox is a tri-state checkbox; otherwise returns false. See the "tristate" property for details.

    const TQPixmap * TQButton::pixmap () const

    Returns the pixmap shown on the button. @@ -208,7 +208,7 @@ See the "pixmap" property for details.

    void TQButton::setText ( const TQString & ) [virtual]

    Sets the text shown on the button. See the "text" property for details. -

    void TQCheckBox::setTristate ( bool y = TRUE ) +

    void TQCheckBox::setTristate ( bool y = true )

    Sets whether the checkbox is a tri-state checkbox to y. See the "tristate" property for details.

    ToggleState TQButton::state () const @@ -235,7 +235,7 @@ Toggles the state of a toggle button.

    void TQButton::toggled ( bool on ) [signal]

    -

    This signal is emitted whenever a toggle button changes status. on is TRUE if the button is on, or FALSE if the button is off. +

    This signal is emitted whenever a toggle button changes status. on is true if the button is on, or false if the button is off.

    This may be the result of a user action, toggle() slot activation, or because setOn() was called.

    See also clicked(). @@ -261,7 +261,7 @@ effect on toggle buttons. autoRepeat is off by default.

    Set this property's value with setAutoRepeat() and get this property's value with autoRepeat().

    bool checked

    This property holds whether the checkbox is checked. -

    The default is unchecked, i.e. FALSE. +

    The default is unchecked, i.e. false.

    Set this property's value with setChecked() and get this property's value with isChecked().

    TQPixmap pixmap

    @@ -286,7 +286,7 @@ defined by the text.

    Set this property's value with setText() and get this property's value with text().

    bool tristate

    This property holds whether the checkbox is a tri-state checkbox. -

    The default is two-state, i.e. tri-state is FALSE. +

    The default is two-state, i.e. tri-state is false.

    Set this property's value with setTristate() and get this property's value with isTristate(). -- cgit v1.2.3