diff options
author | Michele Calgaro <[email protected]> | 2023-07-09 20:12:14 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-09 20:27:54 +0900 |
commit | 48ea22d00b58a37508567756b2955582cd9efe5a (patch) | |
tree | 76e251dab44dbcab7e11a0859423edfe33eae82f /doc/man/man3/tqtoolbutton.3qt | |
parent | b1bfbe79f38a8682e024577c8fd4ba4d1b32b5dd (diff) | |
download | tqt3-48ea22d00b58a37508567756b2955582cd9efe5a.tar.gz tqt3-48ea22d00b58a37508567756b2955582cd9efe5a.zip |
Drop compatibility code for TQToolButton
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqtoolbutton.3qt')
-rw-r--r-- | doc/man/man3/tqtoolbutton.3qt | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/doc/man/man3/tqtoolbutton.3qt b/doc/man/man3/tqtoolbutton.3qt index aa3477c9d..c7f1e8adb 100644 --- a/doc/man/man3/tqtoolbutton.3qt +++ b/doc/man/man3/tqtoolbutton.3qt @@ -31,24 +31,6 @@ Inherits QButton. .BI "\fB~QToolButton\fR ()" .br .ti -1c -.BI "void setOnIconSet ( const QIconSet & ) \fI(obsolete)\fR" -.br -.ti -1c -.BI "void setOffIconSet ( const QIconSet & ) \fI(obsolete)\fR" -.br -.ti -1c -.BI "void setIconSet ( const QIconSet & set, bool on ) \fI(obsolete)\fR" -.br -.ti -1c -.BI "QIconSet onIconSet () const \fI(obsolete)\fR" -.br -.ti -1c -.BI "QIconSet offIconSet () const \fI(obsolete)\fR" -.br -.ti -1c -.BI "QIconSet iconSet ( bool on ) const \fI(obsolete)\fR" -.br -.ti -1c .BI "virtual void \fBsetIconSet\fR ( const QIconSet & )" .br .ti -1c @@ -127,15 +109,9 @@ Inherits QButton. .BI "QIconSet \fBiconSet\fR - the icon set providing the icon shown on the button" .br .ti -1c -.BI "QIconSet offIconSet - the icon set that is used when the button is in an ""off"" state \fI(obsolete)\fR" -.br -.ti -1c .BI "bool \fBon\fR - whether this tool button is on" .br .ti -1c -.BI "QIconSet onIconSet - the icon set that is used when the button is in an ""on"" state \fI(obsolete)\fR" -.br -.ti -1c .BI "QPixmap \fBpixmap\fR - the pixmap of the button \fI(read " "only" ")\fR" .br .ti -1c @@ -209,18 +185,6 @@ Destroys the object and frees any allocated resources. Returns TRUE if auto-raising is enabled; otherwise returns FALSE. See the "autoRaise" property for details. .SH "QIconSet QToolButton::iconSet () const" Returns the icon set providing the icon shown on the button. See the "iconSet" property for details. -.SH "QIconSet QToolButton::iconSet ( bool on ) const" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -Since TQt 3.0, QIconSet contains both the On and Off icons. -.PP -For ease of porting, this function ignores the \fIon\fR parameter and returns the iconSet property. If you relied on the \fIon\fR parameter, you probably want to update your code to use the QIconSet On/Off mechanism. -.SH "QIconSet QToolButton::offIconSet () const" -Returns the icon set that is used when the button is in an "off" state. See the "offIconSet" property for details. -.SH "QIconSet QToolButton::onIconSet () const" -Returns the icon set that is used when the button is in an "on" state. See the "onIconSet" property for details. .SH "void QToolButton::openPopup ()" Opens (pops up) the associated popup menu. If there is no such menu, this function does nothing. This function does not return until the popup menu has been closed by the user. .SH "QPopupMenu * QToolButton::popup () const" @@ -233,22 +197,8 @@ Returns the time delay between pressing the button and the appearance of the ass Sets whether auto-raising is enabled to \fIenable\fR. See the "autoRaise" property for details. .SH "void QToolButton::setIconSet ( const QIconSet & )\fC [virtual]\fR" Sets the icon set providing the icon shown on the button. See the "iconSet" property for details. -.SH "void QToolButton::setIconSet ( const QIconSet & set, bool on )" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -Since TQt 3.0, QIconSet contains both the On and Off icons. -.PP -For ease of porting, this function ignores the \fIon\fR parameter and sets the iconSet property. If you relied on the \fIon\fR parameter, you probably want to update your code to use the QIconSet On/Off mechanism. -.PP -See also iconSet and QIconSet::State. -.SH "void QToolButton::setOffIconSet ( const QIconSet & )" -Sets the icon set that is used when the button is in an "off" state. See the "offIconSet" property for details. .SH "void QToolButton::setOn ( bool enable )\fC [virtual slot]\fR" Sets whether this tool button is on to \fIenable\fR. See the "on" property for details. -.SH "void QToolButton::setOnIconSet ( const QIconSet & )" -Sets the icon set that is used when the button is in an "on" state. See the "onIconSet" property for details. .SH "void QToolButton::setPopup ( QPopupMenu * popup )" Associates the popup menu \fIpopup\fR with this tool button. .PP @@ -312,18 +262,6 @@ Setting this property sets QToolButton::pixmap to a null pixmap. There is no def See also pixmap, toggleButton, and on. .PP Set this property's value with setIconSet() and get this property's value with iconSet(). -.SH "QIconSet offIconSet" -This property holds the icon set that is used when the button is in an "off" state. -.PP -\fBThis property is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -Since TQt 3.0, QIconSet contains both the On and Off icons. There is now an QToolButton::iconSet property that replaces both QToolButton::onIconSet and QToolButton::offIconSet. -.PP -For ease of porting, this property is a synonym for QToolButton::iconSet. You probably want to go over your application code and use the QIconSet On/Off mechanism. -.PP -See also iconSet and QIconSet::State. -.PP -Set this property's value with setOffIconSet() and get this property's value with offIconSet(). .SH "bool on" This property holds whether this tool button is on. .PP @@ -332,18 +270,6 @@ This property has no effect on non-toggling buttons. The default is FALSE (i.e. See also toggleButton and toggle(). .PP Set this property's value with setOn(). -.SH "QIconSet onIconSet" -This property holds the icon set that is used when the button is in an "on" state. -.PP -\fBThis property is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -Since TQt 3.0, QIconSet contains both the On and Off icons. There is now an QToolButton::iconSet property that replaces both QToolButton::onIconSet and QToolButton::offIconSet. -.PP -For ease of porting, this property is a synonym for QToolButton::iconSet. You probably want to go over your application code and use the QIconSet On/Off mechanism. -.PP -See also iconSet and QIconSet::State. -.PP -Set this property's value with setOnIconSet() and get this property's value with onIconSet(). .SH "QPixmap pixmap" This property holds the pixmap of the button. .PP |