summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqaccel.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqaccel.3qt')
-rw-r--r--doc/man/man3/tqaccel.3qt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqaccel.3qt b/doc/man/man3/tqaccel.3qt
index 423ecd6da..28420add5 100644
--- a/doc/man/man3/tqaccel.3qt
+++ b/doc/man/man3/tqaccel.3qt
@@ -102,13 +102,13 @@ The QAccel class handles keyboard accelerator and shortcut keys.
.PP
A keyboard accelerator triggers an action when a certain key combination is pressed. The accelerator handles all keyboard activity for all the children of one top-level widget, so it is not affected by the keyboard focus.
.PP
-In most cases, you will not need to use this class directly. Use the QAction class to create actions with accelerators that can be used in both menus and toolbars. If you're only interested in menus use QMenuData::insertItem() or QMenuData::setAccel() to make accelerators for operations that are also available on menus. Many widgets automatically generate accelerators, such as QButton, QGroupBox, QLabel (with QLabel::setBuddy()), QMenuBar and QTabBar. Example:
+In most cases, you will not need to use this class directly. Use the TQAction class to create actions with accelerators that can be used in both menus and toolbars. If you're only interested in menus use TQMenuData::insertItem() or TQMenuData::setAccel() to make accelerators for operations that are also available on menus. Many widgets automatically generate accelerators, such as QButton, QGroupBox, QLabel (with QLabel::setBuddy()), TQMenuBar and QTabBar. Example:
.PP
.nf
.br
QPushButton p( "&Exit", parent ); // automatic shortcut ALT+Key_E
.br
- QPopupMenu *fileMenu = new fileMenu( parent );
+ TQPopupMenu *fileMenu = new fileMenu( parent );
.br
fileMenu->insertItem( "Undo", parent, TQ_SLOT(undo()), CTRL+Key_Z );
.br
@@ -151,7 +151,7 @@ Example:
.br
.fi
.PP
-See also QKeyEvent, TQWidget::keyPressEvent(), QMenuData::setAccel(), QButton::accel, QLabel::setBuddy(), QKeySequence, GUI Design Handbook: Keyboard Shortcuts, and Miscellaneous Classes.
+See also QKeyEvent, TQWidget::keyPressEvent(), TQMenuData::setAccel(), QButton::accel, QLabel::setBuddy(), QKeySequence, GUI Design Handbook: Keyboard Shortcuts, and Miscellaneous Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QAccel::QAccel ( TQWidget * parent, const char * name = 0 )"
Constructs a QAccel object called \fIname\fR, with parent \fIparent\fR. The accelerator operates on \fIparent\fR.
@@ -260,9 +260,9 @@ Sets a What's This help text for the accelerator item \fIid\fR to \fItext\fR.
.PP
The text will be shown when the application is in What's This mode and the user hits the accelerator key.
.PP
-To set What's This help on a menu item (with or without an accelerator key), use QMenuData::setWhatsThis().
+To set What's This help on a menu item (with or without an accelerator key), use TQMenuData::setWhatsThis().
.PP
-See also whatsThis(), QWhatsThis::inWhatsThisMode(), QMenuData::setWhatsThis(), and QAction::whatsThis.
+See also whatsThis(), QWhatsThis::inWhatsThisMode(), TQMenuData::setWhatsThis(), and TQAction::whatsThis.
.SH "QKeySequence QAccel::shortcutKey ( const TQString & str )\fC [static]\fR"
Returns the shortcut key sequence for \fIstr\fR, or an invalid key sequence (0) if \fIstr\fR has no shortcut sequence.
.PP
@@ -278,7 +278,7 @@ This function is typically used with tr(), so that accelerator keys can be repla
.PP
.nf
.br
- QPopupMenu *file = new QPopupMenu( this );
+ TQPopupMenu *file = new TQPopupMenu( this );
.br
file->insertItem( p1, tr("&Open..."), this, TQ_SLOT(open()),
.br