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.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqaccel.3qt b/doc/man/man3/tqaccel.3qt
index 3b551a89..713624f7 100644
--- a/doc/man/man3/tqaccel.3qt
+++ b/doc/man/man3/tqaccel.3qt
@@ -102,7 +102,7 @@ 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 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, TQLabel (with TQLabel::setBuddy()), TQMenuBar 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 TQButton, QGroupBox, TQLabel (with TQLabel::setBuddy()), TQMenuBar and TQTabBar. Example:
.PP
.nf
.br
@@ -120,7 +120,7 @@ Each accelerator item consists of an identifier and a QKeySequence. A single key
.PP
When an accelerator key is pressed, the accelerator sends out the signal activated() with a number that identifies this particular accelerator item. Accelerator items can also be individually connected, so that two different keys will activate two different slots (see connectItem() and disconnectItem()).
.PP
-The activated() signal is \fInot\fR emitted when two or more accelerators match the same key. Instead, the first matching accelerator sends out the activatedAmbiguously() signal. By pressing the key multiple times, users can navigate between all matching accelerators. Some standard controls like TQPushButton and TQCheckBox connect the activatedAmbiguously() signal to the harmless setFocus() slot, whereas activated() is connected to a slot invoking the button's action. Most controls, like TQLabel and QTabBar, treat activated() and activatedAmbiguously() as equivalent.
+The activated() signal is \fInot\fR emitted when two or more accelerators match the same key. Instead, the first matching accelerator sends out the activatedAmbiguously() signal. By pressing the key multiple times, users can navigate between all matching accelerators. Some standard controls like TQPushButton and TQCheckBox connect the activatedAmbiguously() signal to the harmless setFocus() slot, whereas activated() is connected to a slot invoking the button's action. Most controls, like TQLabel and TQTabBar, treat activated() and activatedAmbiguously() as equivalent.
.PP
Use setEnabled() to enable or disable all the items in an accelerator, or setItemEnabled() to enable or disable individual items. An item is active only when both the QAccel and the item itself are enabled.
.PP
@@ -151,7 +151,7 @@ Example:
.br
.fi
.PP
-See also QKeyEvent, TQWidget::keyPressEvent(), TQMenuData::setAccel(), QButton::accel, TQLabel::setBuddy(), QKeySequence, GUI Design Handbook: Keyboard Shortcuts, and Miscellaneous Classes.
+See also QKeyEvent, TQWidget::keyPressEvent(), TQMenuData::setAccel(), TQButton::accel, TQLabel::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.