summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqtoolbutton.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-09 20:12:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-09 20:27:54 +0900
commit48ea22d00b58a37508567756b2955582cd9efe5a (patch)
tree76e251dab44dbcab7e11a0859423edfe33eae82f /doc/html/ntqtoolbutton.html
parentb1bfbe79f38a8682e024577c8fd4ba4d1b32b5dd (diff)
downloadtqt3-48ea22d00b58a37508567756b2955582cd9efe5a.tar.gz
tqt3-48ea22d00b58a37508567756b2955582cd9efe5a.zip
Drop compatibility code for TQToolButton
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqtoolbutton.html')
-rw-r--r--doc/html/ntqtoolbutton.html57
1 files changed, 0 insertions, 57 deletions
diff --git a/doc/html/ntqtoolbutton.html b/doc/html/ntqtoolbutton.html
index 95c588c9..d8886421 100644
--- a/doc/html/ntqtoolbutton.html
+++ b/doc/html/ntqtoolbutton.html
@@ -44,12 +44,6 @@ commands or options, usually used inside a TQToolBar.
<li class=fn><a href="#TQToolButton-2"><b>TQToolButton</b></a> ( const&nbsp;TQIconSet&nbsp;&amp;&nbsp;iconSet, const&nbsp;TQString&nbsp;&amp;&nbsp;textLabel, const&nbsp;TQString&nbsp;&amp;&nbsp;grouptext, TQObject&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;slot, TQToolBar&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
<li class=fn><a href="#TQToolButton-3"><b>TQToolButton</b></a> ( ArrowType&nbsp;type, TQWidget&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
<li class=fn><a href="#~TQToolButton"><b>~TQToolButton</b></a> ()</li>
-<li class=fn>void setOnIconSet ( const TQIconSet &amp; ) &nbsp;<em>(obsolete)</em></li>
-<li class=fn>void setOffIconSet ( const TQIconSet &amp; ) &nbsp;<em>(obsolete)</em></li>
-<li class=fn>void setIconSet ( const&nbsp;TQIconSet&nbsp;&amp;&nbsp;set, bool&nbsp;on ) &nbsp;<em>(obsolete)</em></li>
-<li class=fn>TQIconSet onIconSet () const &nbsp;<em>(obsolete)</em></li>
-<li class=fn>TQIconSet offIconSet () const &nbsp;<em>(obsolete)</em></li>
-<li class=fn>TQIconSet iconSet ( bool&nbsp;on ) const &nbsp;<em>(obsolete)</em></li>
<li class=fn>virtual void <a href="#setIconSet"><b>setIconSet</b></a> ( const TQIconSet &amp; )</li>
<li class=fn>TQIconSet <a href="#iconSet"><b>iconSet</b></a> () const</li>
<li class=fn>bool <a href="#usesBigPixmap"><b>usesBigPixmap</b></a> () const</li>
@@ -80,9 +74,7 @@ commands or options, usually used inside a TQToolBar.
<li class=fn>bool <a href="#autoRaise-prop"><b>autoRaise</b></a>&nbsp;- whether auto-raising is enabled</li>
<li class=fn>BackgroundMode <a href="#backgroundMode-prop"><b>backgroundMode</b></a>&nbsp;- the toolbutton's background mode &nbsp;<em>(read only)</em></li>
<li class=fn>TQIconSet <a href="#iconSet-prop"><b>iconSet</b></a>&nbsp;- the icon set providing the icon shown on the button</li>
-<li class=fn>TQIconSet offIconSet&nbsp;- the icon set that is used when the button is in an "off" state &nbsp;<em>(obsolete)</em></li>
<li class=fn>bool <a href="#on-prop"><b>on</b></a>&nbsp;- whether this tool button is on</li>
-<li class=fn>TQIconSet onIconSet&nbsp;- the icon set that is used when the button is in an "on" state &nbsp;<em>(obsolete)</em></li>
<li class=fn>TQPixmap <a href="#pixmap-prop"><b>pixmap</b></a>&nbsp;- the pixmap of the button &nbsp;<em>(read only)</em></li>
<li class=fn>int <a href="#popupDelay-prop"><b>popupDelay</b></a>&nbsp;- the time delay between pressing the button and the appearance of the associated popup menu in milliseconds</li>
<li class=fn>TQString <a href="#textLabel-prop"><b>textLabel</b></a>&nbsp;- the label of this button</li>
@@ -171,21 +163,7 @@ See the <a href="ntqtoolbutton.html#autoRaise-prop">"autoRaise"</a> property for
<h3 class=fn><a href="ntqiconset.html">TQIconSet</a> <a name="iconSet"></a>TQToolButton::iconSet () const
</h3><p>Returns the icon set providing the icon shown on the button.
See the <a href="ntqtoolbutton.html#iconSet-prop">"iconSet"</a> property for details.
-<h3 class=fn><a href="ntqiconset.html">TQIconSet</a> <a name="iconSet-2"></a>TQToolButton::iconSet ( bool&nbsp;on ) const
-</h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> Since TQt 3.0, <a href="ntqiconset.html">TQIconSet</a> contains both the On and Off icons.
-<p> For ease of porting, this function ignores the <em>on</em> parameter and
-returns the <a href="#iconSet-prop">iconSet</a> property. If you relied on the <em>on</em>
-parameter, you probably want to update your code to use the TQIconSet
-On/Off mechanism.
-<h3 class=fn><a href="ntqiconset.html">TQIconSet</a> <a name="offIconSet"></a>TQToolButton::offIconSet () const
-</h3><p>Returns the icon set that is used when the button is in an "off" state.
-See the <a href="ntqtoolbutton.html#offIconSet-prop">"offIconSet"</a> property for details.
-<h3 class=fn><a href="ntqiconset.html">TQIconSet</a> <a name="onIconSet"></a>TQToolButton::onIconSet () const
-</h3><p>Returns the icon set that is used when the button is in an "on" state.
-See the <a href="ntqtoolbutton.html#onIconSet-prop">"onIconSet"</a> property for details.
<h3 class=fn>void <a name="openPopup"></a>TQToolButton::openPopup ()
</h3>
Opens (pops up) the associated popup menu. If there is no such
@@ -207,25 +185,10 @@ See the <a href="ntqtoolbutton.html#autoRaise-prop">"autoRaise"</a> property for
<h3 class=fn>void <a name="setIconSet"></a>TQToolButton::setIconSet ( const&nbsp;<a href="ntqiconset.html">TQIconSet</a>&nbsp;&amp; )<tt> [virtual]</tt>
</h3><p>Sets the icon set providing the icon shown on the button.
See the <a href="ntqtoolbutton.html#iconSet-prop">"iconSet"</a> property for details.
-<h3 class=fn>void <a name="setIconSet-2"></a>TQToolButton::setIconSet ( const&nbsp;<a href="ntqiconset.html">TQIconSet</a>&nbsp;&amp;&nbsp;set, bool&nbsp;on )
-</h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> Since TQt 3.0, <a href="ntqiconset.html">TQIconSet</a> contains both the On and Off icons.
-<p> For ease of porting, this function ignores the <em>on</em> parameter and
-sets the <a href="#iconSet-prop">iconSet</a> property. If you relied on the <em>on</em> parameter,
-you probably want to update your code to use the TQIconSet On/Off
-mechanism.
-<p> <p>See also <a href="#iconSet-prop">iconSet</a> and <a href="ntqiconset.html#State-enum">TQIconSet::State</a>.
-<h3 class=fn>void <a name="setOffIconSet"></a>TQToolButton::setOffIconSet ( const&nbsp;<a href="ntqiconset.html">TQIconSet</a>&nbsp;&amp; )
-</h3><p>Sets the icon set that is used when the button is in an "off" state.
-See the <a href="ntqtoolbutton.html#offIconSet-prop">"offIconSet"</a> property for details.
<h3 class=fn>void <a name="setOn"></a>TQToolButton::setOn ( bool&nbsp;enable )<tt> [virtual slot]</tt>
</h3><p>Sets whether this tool button is on to <em>enable</em>.
See the <a href="ntqtoolbutton.html#on-prop">"on"</a> property for details.
-<h3 class=fn>void <a name="setOnIconSet"></a>TQToolButton::setOnIconSet ( const&nbsp;<a href="ntqiconset.html">TQIconSet</a>&nbsp;&amp; )
-</h3><p>Sets the icon set that is used when the button is in an "on" state.
-See the <a href="ntqtoolbutton.html#onIconSet-prop">"onIconSet"</a> property for details.
<h3 class=fn>void <a name="setPopup"></a>TQToolButton::setPopup ( <a href="ntqpopupmenu.html">TQPopupMenu</a>&nbsp;*&nbsp;popup )
</h3>
Associates the popup menu <em>popup</em> with this tool button.
@@ -303,35 +266,15 @@ See the <a href="ntqtoolbutton.html#usesTextLabel-prop">"usesTextLabel"</a> prop
<p>Setting this property sets <a href="#pixmap-prop">TQToolButton::pixmap</a> to a null
pixmap. There is no default iconset.
<p> <p>See also <a href="#pixmap-prop">pixmap</a>, <a href="#toggleButton-prop">toggleButton</a>, and <a href="#on-prop">on</a>.
-
<p>Set this property's value with <a href="#setIconSet">setIconSet</a>() and get this property's value with <a href="#iconSet">iconSet</a>().
-<h3 class=fn><a href="ntqiconset.html">TQIconSet</a> <a name="offIconSet-prop"></a>offIconSet</h3>
-<p>This property holds the icon set that is used when the button is in an "off" state.
-<p><b>This property is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> Since TQt 3.0, <a href="ntqiconset.html">TQIconSet</a> contains both the On and Off icons. There is
-now an <a href="#iconSet-prop">TQToolButton::iconSet</a> property that replaces both <a href="#onIconSet-prop">TQToolButton::onIconSet</a> and <a href="#offIconSet-prop">TQToolButton::offIconSet</a>.
-<p> For ease of porting, this property is a synonym for <a href="#iconSet-prop">TQToolButton::iconSet</a>. You probably want to go over your application
-code and use the TQIconSet On/Off mechanism.
-<p> <p>See also <a href="#iconSet-prop">iconSet</a> and <a href="ntqiconset.html#State-enum">TQIconSet::State</a>.
-<p>Set this property's value with <a href="#setOffIconSet">setOffIconSet</a>() and get this property's value with <a href="#offIconSet">offIconSet</a>().
<h3 class=fn>bool <a name="on-prop"></a>on</h3>
<p>This property holds whether this tool button is on.
<p>This property has no effect on <a href="ntqbutton.html#isToggleButton">non-toggling
buttons.</a> The default is FALSE (i.e. off).
<p> <p>See also <a href="#toggleButton-prop">toggleButton</a> and <a href="#toggle">toggle</a>().
-
<p>Set this property's value with <a href="#setOn">setOn</a>().
-<h3 class=fn><a href="ntqiconset.html">TQIconSet</a> <a name="onIconSet-prop"></a>onIconSet</h3>
-<p>This property holds the icon set that is used when the button is in an "on" state.
-<p><b>This property is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> Since TQt 3.0, <a href="ntqiconset.html">TQIconSet</a> contains both the On and Off icons. There is
-now an <a href="#iconSet-prop">TQToolButton::iconSet</a> property that replaces both <a href="#onIconSet-prop">TQToolButton::onIconSet</a> and <a href="#offIconSet-prop">TQToolButton::offIconSet</a>.
-<p> For ease of porting, this property is a synonym for <a href="#iconSet-prop">TQToolButton::iconSet</a>. You probably want to go over your application
-code and use the TQIconSet On/Off mechanism.
-<p> <p>See also <a href="#iconSet-prop">iconSet</a> and <a href="ntqiconset.html#State-enum">TQIconSet::State</a>.
-<p>Set this property's value with <a href="#setOnIconSet">setOnIconSet</a>() and get this property's value with <a href="#onIconSet">onIconSet</a>().
<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a> <a name="pixmap-prop"></a>pixmap</h3> <p>This property holds the pixmap of the button.
<p>The pixmap property has no meaning for tool buttons. Use the
iconSet property instead.