From 48ea22d00b58a37508567756b2955582cd9efe5a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 9 Jul 2023 20:12:14 +0900 Subject: Drop compatibility code for TQToolButton Signed-off-by: Michele Calgaro --- doc/html/ntqtoolbutton.html | 57 --------------------------------------------- 1 file changed, 57 deletions(-) (limited to 'doc/html/ntqtoolbutton.html') diff --git a/doc/html/ntqtoolbutton.html b/doc/html/ntqtoolbutton.html index 95c588c9e..d8886421d 100644 --- a/doc/html/ntqtoolbutton.html +++ b/doc/html/ntqtoolbutton.html @@ -44,12 +44,6 @@ commands or options, usually used inside a TQToolBar.
  • TQToolButton ( const TQIconSet & iconSet, const TQString & textLabel, const TQString & grouptext, TQObject * receiver, const char * slot, TQToolBar * parent, const char * name = 0 )
  • TQToolButton ( ArrowType type, TQWidget * parent, const char * name = 0 )
  • ~TQToolButton ()
  • -
  • void setOnIconSet ( const TQIconSet & )  (obsolete)
  • -
  • void setOffIconSet ( const TQIconSet & )  (obsolete)
  • -
  • void setIconSet ( const TQIconSet & set, bool on )  (obsolete)
  • -
  • TQIconSet onIconSet () const  (obsolete)
  • -
  • TQIconSet offIconSet () const  (obsolete)
  • -
  • TQIconSet iconSet ( bool on ) const  (obsolete)
  • virtual void setIconSet ( const TQIconSet & )
  • TQIconSet iconSet () const
  • bool usesBigPixmap () const
  • @@ -80,9 +74,7 @@ commands or options, usually used inside a TQToolBar.
  • bool autoRaise - whether auto-raising is enabled
  • BackgroundMode backgroundMode - the toolbutton's background mode  (read only)
  • TQIconSet iconSet - the icon set providing the icon shown on the button
  • -
  • TQIconSet offIconSet - the icon set that is used when the button is in an "off" state  (obsolete)
  • bool on - whether this tool button is on
  • -
  • TQIconSet onIconSet - the icon set that is used when the button is in an "on" state  (obsolete)
  • TQPixmap pixmap - the pixmap of the button  (read only)
  • int popupDelay - the time delay between pressing the button and the appearance of the associated popup menu in milliseconds
  • TQString textLabel - the label of this button
  • @@ -171,21 +163,7 @@ See the "autoRaise" property for

    TQIconSet TQToolButton::iconSet () const

    Returns the icon set providing the icon shown on the button. See the "iconSet" property for details. -

    TQIconSet TQToolButton::iconSet ( bool on ) const -

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

    Since TQt 3.0, TQIconSet contains both the On and Off icons. -

    For ease of porting, this function ignores the on parameter and -returns the iconSet property. If you relied on the on -parameter, you probably want to update your code to use the TQIconSet -On/Off mechanism. -

    TQIconSet TQToolButton::offIconSet () const -

    Returns the icon set that is used when the button is in an "off" state. -See the "offIconSet" property for details. -

    TQIconSet TQToolButton::onIconSet () const -

    Returns the icon set that is used when the button is in an "on" state. -See the "onIconSet" property for details.

    void TQToolButton::openPopup ()

    Opens (pops up) the associated popup menu. If there is no such @@ -207,25 +185,10 @@ See the "autoRaise" property for

    void TQToolButton::setIconSet ( const TQIconSet & ) [virtual]

    Sets the icon set providing the icon shown on the button. See the "iconSet" property for details. -

    void TQToolButton::setIconSet ( const TQIconSet & set, bool on ) -

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

    Since TQt 3.0, TQIconSet contains both the On and Off icons. -

    For ease of porting, this function ignores the on parameter and -sets the iconSet property. If you relied on the on parameter, -you probably want to update your code to use the TQIconSet On/Off -mechanism. -

    See also iconSet and TQIconSet::State. -

    void TQToolButton::setOffIconSet ( const TQIconSet & ) -

    Sets the icon set that is used when the button is in an "off" state. -See the "offIconSet" property for details.

    void TQToolButton::setOn ( bool enable ) [virtual slot]

    Sets whether this tool button is on to enable. See the "on" property for details. -

    void TQToolButton::setOnIconSet ( const TQIconSet & ) -

    Sets the icon set that is used when the button is in an "on" state. -See the "onIconSet" property for details.

    void TQToolButton::setPopup ( TQPopupMenu * popup )

    Associates the popup menu popup with this tool button. @@ -303,35 +266,15 @@ See the "usesTextLabel" prop

    Setting this property sets TQToolButton::pixmap to a null pixmap. There is no default iconset.

    See also pixmap, toggleButton, and on. -

    Set this property's value with setIconSet() and get this property's value with iconSet(). -

    TQIconSet offIconSet

    -

    This property holds the icon set that is used when the button is in an "off" state. -

    This property is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

    Since TQt 3.0, TQIconSet contains both the On and Off icons. There is -now an TQToolButton::iconSet property that replaces both TQToolButton::onIconSet and TQToolButton::offIconSet. -

    For ease of porting, this property is a synonym for TQToolButton::iconSet. You probably want to go over your application -code and use the TQIconSet On/Off mechanism. -

    See also iconSet and TQIconSet::State. -

    Set this property's value with setOffIconSet() and get this property's value with offIconSet().

    bool on

    This property holds whether this tool button is on.

    This property has no effect on non-toggling buttons. The default is FALSE (i.e. off).

    See also toggleButton and toggle(). -

    Set this property's value with setOn(). -

    TQIconSet onIconSet

    -

    This property holds the icon set that is used when the button is in an "on" state. -

    This property is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

    Since TQt 3.0, TQIconSet contains both the On and Off icons. There is -now an TQToolButton::iconSet property that replaces both TQToolButton::onIconSet and TQToolButton::offIconSet. -

    For ease of porting, this property is a synonym for TQToolButton::iconSet. You probably want to go over your application -code and use the TQIconSet On/Off mechanism. -

    See also iconSet and TQIconSet::State. -

    Set this property's value with setOnIconSet() and get this property's value with onIconSet().

    TQPixmap pixmap

    This property holds the pixmap of the button.

    The pixmap property has no meaning for tool buttons. Use the iconSet property instead. -- cgit v1.2.1