diff options
Diffstat (limited to 'doc/man/man3/tqpushbutton.3qt')
-rw-r--r-- | doc/man/man3/tqpushbutton.3qt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man/man3/tqpushbutton.3qt b/doc/man/man3/tqpushbutton.3qt index 9afed57c1..20ffb02a3 100644 --- a/doc/man/man3/tqpushbutton.3qt +++ b/doc/man/man3/tqpushbutton.3qt @@ -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 (TQToolButton) 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 TQFileDialog) 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 @@ -319,7 +319,7 @@ Ownership of the popup menu is \fInot\fR transferred to the push button. See also popup(). .PP Examples: -.)l buttongroups/buttongroups.cpp and qdir/qdir.cpp. +.)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 )" |