diff options
Diffstat (limited to 'doc/html/tqbutton.html')
-rw-r--r-- | doc/html/tqbutton.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/tqbutton.html b/doc/html/tqbutton.html index 20ccc3a05..e9a3f5665 100644 --- a/doc/html/tqbutton.html +++ b/doc/html/tqbutton.html @@ -131,7 +131,7 @@ user clicks a toggle button to toggle it on, the button is first <em>pressed</em> and then released into the <em>on</em> state. When the user clicks it again (to toggle it off), the button moves first to the <em>pressed</em> state, then to the <em>off</em> state (isOn() and isDown() -are both FALSE). +are both false). <p> Default buttons (as used in many dialogs) are provided by <a href="tqpushbutton.html#setDefault">TQPushButton::setDefault</a>() and <a href="tqpushbutton.html#setAutoDefault">TQPushButton::setAutoDefault</a>(). <p> TQButton provides five signals: @@ -225,7 +225,7 @@ short while later. <p> <p>See also <a href="#accel-prop">accel</a>. <h3 class=fn>bool <a name="autoRepeat"></a>TQButton::autoRepeat () const -</h3><p>Returns TRUE if autoRepeat is enabled; otherwise returns FALSE. +</h3><p>Returns true if autoRepeat is enabled; otherwise returns false. See the <a href="tqbutton.html#autoRepeat-prop">"autoRepeat"</a> property for details. <h3 class=fn>void <a name="clicked"></a>TQButton::clicked ()<tt> [signal]</tt> </h3> @@ -265,22 +265,22 @@ returns 0. <h3 class=fn>bool <a name="hitButton"></a>TQButton::hitButton ( const <a href="tqpoint.html">TQPoint</a> & pos ) const<tt> [virtual protected]</tt> </h3> -Returns TRUE if <em>pos</em> is inside the clickable button rectangle; -otherwise returns FALSE. +Returns true if <em>pos</em> is inside the clickable button rectangle; +otherwise returns false. <p> By default, the clickable area is the entire widget. Subclasses may reimplement it, though. <h3 class=fn>bool <a name="isDown"></a>TQButton::isDown () const -</h3><p>Returns TRUE if the button is pressed; otherwise returns FALSE. +</h3><p>Returns true if the button is pressed; otherwise returns false. See the <a href="tqbutton.html#down-prop">"down"</a> property for details. <h3 class=fn>bool <a name="isExclusiveToggle"></a>TQButton::isExclusiveToggle () const -</h3><p>Returns TRUE if the button is an exclusive toggle; otherwise returns FALSE. +</h3><p>Returns true if the button is an exclusive toggle; otherwise returns false. See the <a href="tqbutton.html#exclusiveToggle-prop">"exclusiveToggle"</a> property for details. <h3 class=fn>bool <a name="isOn"></a>TQButton::isOn () const -</h3><p>Returns TRUE if the button is toggled; otherwise returns FALSE. +</h3><p>Returns true if the button is toggled; otherwise returns false. See the <a href="tqbutton.html#on-prop">"on"</a> property for details. <h3 class=fn>bool <a name="isToggleButton"></a>TQButton::isToggleButton () const -</h3><p>Returns TRUE if the button is a toggle button; otherwise returns FALSE. +</h3><p>Returns true if the button is a toggle button; otherwise returns false. See the <a href="tqbutton.html#toggleButton-prop">"toggleButton"</a> property for details. <h3 class=fn>void <a name="paintEvent"></a>TQButton::paintEvent ( <a href="tqpaintevent.html">TQPaintEvent</a> * )<tt> [virtual protected]</tt> </h3> @@ -319,7 +319,7 @@ See the <a href="tqbutton.html#down-prop">"down"</a> property for details. <h3 class=fn>void <a name="setOn"></a>TQButton::setOn ( bool on )<tt> [protected]</tt> </h3> -<p> Sets the state of this button to On if <em>on</em> is TRUE; otherwise to +<p> Sets the state of this button to On if <em>on</em> is true; otherwise to Off. <p> <p>See also <a href="#toggleState-prop">toggleState</a>. @@ -336,8 +336,8 @@ See the <a href="tqbutton.html#text-prop">"text"</a> property for details. <h3 class=fn>void <a name="setToggleButton"></a>TQButton::setToggleButton ( bool b )<tt> [protected]</tt> </h3> -<p> If <em>b</em> is TRUE, this button becomes a toggle button; if <em>b</em> is -FALSE, this button becomes a command button. +<p> If <em>b</em> is true, this button becomes a toggle button; if <em>b</em> is +false, this button becomes a command button. <p> <p>See also <a href="#toggleButton-prop">toggleButton</a>. <h3 class=fn>void <a name="setToggleType"></a>TQButton::setToggleType ( <a href="tqbutton.html#ToggleType-enum">ToggleType</a> type )<tt> [virtual protected]</tt> @@ -372,7 +372,7 @@ See the <a href="tqbutton.html#toggleType-prop">"toggleType"</a> property for de <h3 class=fn>void <a name="toggled"></a>TQButton::toggled ( bool on )<tt> [signal]</tt> </h3> -<p> This signal is emitted whenever a toggle button changes status. <em>on</em> is TRUE if the button is on, or FALSE if the button is off. +<p> This signal is emitted whenever a toggle button changes status. <em>on</em> is true if the button is on, or false if the button is off. <p> This may be the result of a user action, <a href="#toggle">toggle</a>() slot activation, or because <a href="#setOn">setOn</a>() was called. <p> <p>See also <a href="#clicked">clicked</a>(). @@ -394,16 +394,16 @@ effect on toggle buttons. autoRepeat is off by default. <p>Set this property's value with <a href="#setAutoRepeat">setAutoRepeat</a>() and get this property's value with <a href="#autoRepeat">autoRepeat</a>(). <h3 class=fn>bool <a name="down-prop"></a>down</h3> <p>This property holds whether the button is pressed. -<p>If this property is TRUE, the button is pressed down. The signals +<p>If this property is true, the button is pressed down. The signals <a href="#pressed">pressed</a>() and <a href="#clicked">clicked</a>() are not emitted if you set this property -to TRUE. The default is FALSE. +to true. The default is false. <p>Set this property's value with <a href="#setDown">setDown</a>() and get this property's value with <a href="#isDown">isDown</a>(). <h3 class=fn>bool <a name="exclusiveToggle-prop"></a>exclusiveToggle</h3> <p>This property holds whether the button is an exclusive toggle. -<p>If this property is TRUE and the button is in a <a href="tqbuttongroup.html">TQButtonGroup</a>, the +<p>If this property is true and the button is in a <a href="tqbuttongroup.html">TQButtonGroup</a>, the button can only be toggled off by another one being toggled on. -The default is FALSE. +The default is false. <p>Get this property's value with <a href="#isExclusiveToggle">isExclusiveToggle</a>(). <h3 class=fn>bool <a name="on-prop"></a>on</h3> @@ -433,7 +433,7 @@ defined by the text. <p>Set this property's value with <a href="#setText">setText</a>() and get this property's value with <a href="#text">text</a>(). <h3 class=fn>bool <a name="toggleButton-prop"></a>toggleButton</h3> <p>This property holds whether the button is a toggle button. -<p>The default value is FALSE. +<p>The default value is false. <p>Get this property's value with <a href="#isToggleButton">isToggleButton</a>(). <h3 class=fn><a href="tqbutton.html#ToggleState-enum">ToggleState</a> <a name="toggleState-prop"></a>toggleState</h3> |