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.3qt64
1 files changed, 32 insertions, 32 deletions
diff --git a/doc/man/man3/tqpushbutton.3qt b/doc/man/man3/tqpushbutton.3qt
index 7ac93748c..082e51d84 100644
--- a/doc/man/man3/tqpushbutton.3qt
+++ b/doc/man/man3/tqpushbutton.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QPushButton 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQPushButton 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,25 +7,25 @@
.ad l
.nh
.SH NAME
-QPushButton \- Command button
+TQPushButton \- Command button
.SH SYNOPSIS
-\fC#include <ntqpushbutton.h>\fR
+\fC#include <tqpushbutton.h>\fR
.PP
Inherits QButton.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQPushButton\fR ( TQWidget * parent, const char * name = 0 )"
+.BI "\fBTQPushButton\fR ( TQWidget * parent, const char * name = 0 )"
.br
.ti -1c
-.BI "\fBQPushButton\fR ( const TQString & text, TQWidget * parent, const char * name = 0 )"
+.BI "\fBTQPushButton\fR ( const TQString & text, TQWidget * parent, const char * name = 0 )"
.br
.ti -1c
-.BI "\fBQPushButton\fR ( const TQIconSet & icon, const TQString & text, TQWidget * parent, const char * name = 0 )"
+.BI "\fBTQPushButton\fR ( const TQIconSet & icon, const TQString & text, TQWidget * parent, const char * name = 0 )"
.br
.ti -1c
-.BI "\fB~QPushButton\fR ()"
+.BI "\fB~TQPushButton\fR ()"
.br
.ti -1c
.BI "void \fBsetToggleButton\fR ( bool )"
@@ -167,7 +167,7 @@ Inherits QButton.
.br
.in -1c
.SH DESCRIPTION
-The QPushButton widget provides a command button.
+The TQPushButton widget provides a command button.
.PP
The push button, or command button, is perhaps the most commonly used widget in any graphical user interface. Push (click) a button to command the computer to perform some action, or to answer a question. Typical buttons are OK, Apply, Cancel, Close, Yes, No and Help.
.PP
@@ -175,7 +175,7 @@ A command button is rectangular and typically displays a text label describing i
.PP
.nf
.br
- QPushButton *pb = new QPushButton( "&Download", this );
+ TQPushButton *pb = new TQPushButton( "&Download", this );
.br
.fi
In this example the accelerator is \fIAlt+D\fR, and the label text will be displayed as \fB<u>D</u>ownload\fR.
@@ -208,7 +208,7 @@ If you need toggle behavior (see setToggleButton()) or a button that auto-repeat
.PP
A variation of a command button is a menu button. These provide not just one command, but several, since when they are clicked they pop up a menu of options. Use the method setPopup() to associate a popup menu with a push button.
.PP
-Other classes of buttons are option buttons (see QRadioButton) and check boxes (see QCheckBox).
+Other classes of buttons are option buttons (see TQRadioButton) and check boxes (see TQCheckBox).
.PP
.ce 1
.B "[Image Omitted]"
@@ -217,27 +217,27 @@ Other classes of buttons are option buttons (see QRadioButton) and check boxes (
.ce 1
.B "[Image Omitted]"
.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.
+In Qt, the QButton abstract base class provides most of the modes and other API, and TQPushButton provides GUI logic. See QButton for more information about the API.
.PP
-See also TQToolButton, QRadioButton, QCheckBox, GUI Design Handbook: Push Button, and Basic Widgets.
+See also TQToolButton, TQRadioButton, TQCheckBox, GUI Design Handbook: Push Button, and Basic Widgets.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QPushButton::QPushButton ( TQWidget * parent, const char * name = 0 )"
+.SH "TQPushButton::TQPushButton ( TQWidget * parent, const char * name = 0 )"
Constructs a push button with no text.
.PP
The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructor.
-.SH "QPushButton::QPushButton ( const TQString & text, TQWidget * parent, const char * name = 0 )"
+.SH "TQPushButton::TQPushButton ( const TQString & text, TQWidget * parent, const char * name = 0 )"
Constructs a push button called \fIname\fR with the parent \fIparent\fR and the text \fItext\fR.
-.SH "QPushButton::QPushButton ( const TQIconSet & icon, const TQString & text, TQWidget * parent, const char * name = 0 )"
+.SH "TQPushButton::TQPushButton ( const TQIconSet & icon, const TQString & text, TQWidget * parent, const char * name = 0 )"
Constructs a push button with an \fIicon\fR and a \fItext\fR.
.PP
Note that you can also pass a TQPixmap object as an icon (thanks to the implicit type conversion provided by C++).
.PP
The \fIparent\fR and \fIname\fR arguments are sent to the TQWidget constructor.
-.SH "QPushButton::~QPushButton ()"
+.SH "TQPushButton::~TQPushButton ()"
Destroys the push button.
.SH "QKeySequence QButton::accel () const"
Returns the accelerator associated with the button. See the "accel" property for details.
-.SH "bool QPushButton::autoDefault () const"
+.SH "bool TQPushButton::autoDefault () const"
Returns TRUE if the push button is the auto default button; otherwise returns FALSE. See the "autoDefault" property for details.
.SH "bool QButton::autoRepeat () const"
Returns TRUE if autoRepeat is enabled; otherwise returns FALSE. See the "autoRepeat" property for details.
@@ -258,17 +258,17 @@ Returns the group that this button belongs to.
If the button is not a member of any QButtonGroup, this function returns 0.
.PP
See also QButtonGroup.
-.SH "TQIconSet * QPushButton::iconSet () const"
+.SH "TQIconSet * TQPushButton::iconSet () const"
Returns the icon set on the push button. See the "iconSet" property for details.
-.SH "bool QPushButton::isDefault () const"
+.SH "bool TQPushButton::isDefault () const"
Returns TRUE if the push button is the default button; otherwise returns FALSE. See the "default" property for details.
.SH "bool QButton::isDown () const"
Returns TRUE if the button is pressed; otherwise returns FALSE. See the "down" property for details.
.SH "bool QButton::isExclusiveToggle () const"
Returns TRUE if the button is an exclusive toggle; otherwise returns FALSE. See the "exclusiveToggle" property for details.
-.SH "bool QPushButton::isFlat () const"
+.SH "bool TQPushButton::isFlat () const"
Returns TRUE if the border is disabled; otherwise returns FALSE. See the "flat" property for details.
-.SH "bool QPushButton::isMenuButton () const"
+.SH "bool TQPushButton::isMenuButton () const"
Returns TRUE if the push button has a menu button on it; otherwise returns FALSE. See the "menuButton" property for details.
.SH "bool QButton::isOn () const"
Returns TRUE if the button is toggled; otherwise returns FALSE. See the "on" property for details.
@@ -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 TQPixmap * QButton::pixmap () const"
Returns the pixmap shown on the button. See the "pixmap" property for details.
-.SH "TQPopupMenu * QPushButton::popup () const"
+.SH "TQPopupMenu * TQPushButton::popup () const"
Returns the button's associated popup menu or 0 if no popup menu has been set.
.PP
See also setPopup().
@@ -293,25 +293,25 @@ This signal is emitted when the button is released.
See also pressed(), clicked(), and toggled().
.SH "void QButton::setAccel ( const QKeySequence & )\fC [virtual]\fR"
Sets the accelerator associated with the button. See the "accel" property for details.
-.SH "void QPushButton::setAutoDefault ( bool autoDef )\fC [virtual]\fR"
+.SH "void TQPushButton::setAutoDefault ( bool autoDef )\fC [virtual]\fR"
Sets whether the push button is the auto default button to \fIautoDef\fR. See the "autoDefault" property for details.
.SH "void QButton::setAutoRepeat ( bool )\fC [virtual]\fR"
Sets whether autoRepeat is enabled. See the "autoRepeat" property for details.
-.SH "void QPushButton::setDefault ( bool def )\fC [virtual]\fR"
+.SH "void TQPushButton::setDefault ( bool def )\fC [virtual]\fR"
Sets whether the push button is the default button to \fIdef\fR. See the "default" property for details.
.SH "void QButton::setDown ( bool )\fC [virtual]\fR"
Sets whether the button is pressed. See the "down" property for details.
-.SH "void QPushButton::setFlat ( bool )"
+.SH "void TQPushButton::setFlat ( bool )"
Sets whether the border is disabled. See the "flat" property for details.
-.SH "void QPushButton::setIconSet ( const TQIconSet & )"
+.SH "void TQPushButton::setIconSet ( const TQIconSet & )"
Sets the icon set on the push button. See the "iconSet" property for details.
-.SH "void QPushButton::setIsMenuButton ( bool enable )\fC [virtual]\fR"
+.SH "void TQPushButton::setIsMenuButton ( bool enable )\fC [virtual]\fR"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
-.SH "void QPushButton::setOn ( bool )\fC [virtual slot]\fR"
+.SH "void TQPushButton::setOn ( bool )\fC [virtual slot]\fR"
Sets whether the push button is toggled. See the "on" property for details.
.SH "void QButton::setPixmap ( const TQPixmap & )\fC [virtual]\fR"
Sets the pixmap shown on the button. See the "pixmap" property for details.
-.SH "void QPushButton::setPopup ( TQPopupMenu * popup )"
+.SH "void TQPushButton::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.
@@ -322,7 +322,7 @@ Examples:
.)l buttongroups/buttongroups.cpp and tqdir/tqdir.cpp.
.SH "void QButton::setText ( const TQString & )\fC [virtual]\fR"
Sets the text shown on the button. See the "text" property for details.
-.SH "void QPushButton::setToggleButton ( bool )"
+.SH "void TQPushButton::setToggleButton ( bool )"
Sets whether the button is a toggle button. See the "toggleButton" property for details.
.SH "ToggleState QButton::state () const"
Returns the state of the toggle button. See the "toggleState" property for details.
@@ -360,7 +360,7 @@ If this property is set to TRUE then the push button is the auto default button
.PP
In some GUI styles a default button is drawn with an extra frame around it, up to 3 pixels or more. TQt automatically keeps this space free around auto-default buttons, i.e. auto-default buttons may have a slightly larger size hint.
.PP
-This property's default is TRUE for buttons that have a QDialog parent; otherwise it defaults to FALSE.
+This property's default is TRUE for buttons that have a TQDialog parent; otherwise it defaults to FALSE.
.PP
See the default property for details of how default and auto-default interact.
.PP
@@ -443,7 +443,7 @@ See also on, toggle(), toggleButton, and toggled().
Set this property's value with setToggleButton().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqpushbutton.html
+.BR http://doc.trolltech.com/tqpushbutton.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the