summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqpushbutton.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqpushbutton.3qt')
-rw-r--r--doc/man/man3/tqpushbutton.3qt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqpushbutton.3qt b/doc/man/man3/tqpushbutton.3qt
index aefb21929..d0298868c 100644
--- a/doc/man/man3/tqpushbutton.3qt
+++ b/doc/man/man3/tqpushbutton.3qt
@@ -49,10 +49,10 @@ Inherits QButton.
.BI "bool isMenuButton () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "void \fBsetPopup\fR ( QPopupMenu * popup )"
+.BI "void \fBsetPopup\fR ( TQPopupMenu * popup )"
.br
.ti -1c
-.BI "QPopupMenu * \fBpopup\fR () const"
+.BI "TQPopupMenu * \fBpopup\fR () const"
.br
.ti -1c
.BI "void \fBsetIconSet\fR ( const TQIconSet & )"
@@ -202,7 +202,7 @@ Auto-repeat or not.
.TP
Pressed down or not.
.PP
-As a general rule, use a push button when the application or dialog window performs an action when the user clicks on it (such as Apply, Cancel, Close and Help) \fIand\fR when the widget is supposed to have a wide, rectangular shape with a text label. Small, typically square buttons that change the state of the window rather than performing an action (such as the buttons in the top-right corner of the QFileDialog) are not command buttons, but tool buttons. TQt provides a special class (QToolButton) for these buttons.
+As a general rule, use a push button when the application or dialog window performs an action when the user clicks on it (such as Apply, Cancel, Close and Help) \fIand\fR when the widget is supposed to have a wide, rectangular shape with a text label. Small, typically square buttons that change the state of the window rather than performing an action (such as the buttons in the top-right corner of the QFileDialog) are not command buttons, but tool buttons. TQt provides a special class (TQToolButton) for these buttons.
.PP
If you need toggle behavior (see setToggleButton()) or a button that auto-repeats the activation signal when being pushed down like the arrows in a scroll bar (see setAutoRepeat()), a command button is probably not what you want. When in doubt, use a tool button.
.PP
@@ -219,7 +219,7 @@ Other classes of buttons are option buttons (see QRadioButton) and check boxes (
.PP
In Qt, the QButton abstract base class provides most of the modes and other API, and QPushButton provides GUI logic. See QButton for more information about the API.
.PP
-See also QToolButton, QRadioButton, QCheckBox, GUI Design Handbook: Push Button, and Basic Widgets.
+See also TQToolButton, QRadioButton, QCheckBox, GUI Design Handbook: Push Button, and Basic Widgets.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QPushButton::QPushButton ( TQWidget * parent, const char * name = 0 )"
Constructs a push button with no text.
@@ -276,7 +276,7 @@ Returns TRUE if the button is toggled; otherwise returns FALSE. See the "on" pro
Returns TRUE if the button is a toggle button; otherwise returns FALSE. See the "toggleButton" property for details.
.SH "const QPixmap * QButton::pixmap () const"
Returns the pixmap shown on the button. See the "pixmap" property for details.
-.SH "QPopupMenu * QPushButton::popup () const"
+.SH "TQPopupMenu * QPushButton::popup () const"
Returns the button's associated popup menu or 0 if no popup menu has been set.
.PP
See also setPopup().
@@ -311,7 +311,7 @@ Sets the icon set on the push button. See the "iconSet" property for details.
Sets whether the push button is toggled. See the "on" property for details.
.SH "void QButton::setPixmap ( const QPixmap & )\fC [virtual]\fR"
Sets the pixmap shown on the button. See the "pixmap" property for details.
-.SH "void QPushButton::setPopup ( QPopupMenu * popup )"
+.SH "void QPushButton::setPopup ( TQPopupMenu * popup )"
Associates the popup menu \fIpopup\fR with this push button. This turns the button into a menu button.
.PP
Ownership of the popup menu is \fInot\fR transferred to the push button.