diff options
Diffstat (limited to 'doc/man/man3/qaccel.3qt')
-rw-r--r-- | doc/man/man3/qaccel.3qt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/qaccel.3qt b/doc/man/man3/qaccel.3qt index 9c5e23e5f..b887dae5d 100644 --- a/doc/man/man3/qaccel.3qt +++ b/doc/man/man3/qaccel.3qt @@ -9,7 +9,7 @@ .SH NAME QAccel \- Handles keyboard accelerator and shortcut keys .SH SYNOPSIS -\fC#include <qaccel.h>\fR +\fC#include <ntqaccel.h>\fR .PP Inherits QObject. .PP @@ -116,7 +116,7 @@ In most cases, you will not need to use this class directly. Use the QAction cla .PP A QAccel contains a list of accelerator items that can be manipulated using insertItem(), removeItem(), clear(), key() and findKey(). .PP -Each accelerator item consists of an identifier and a QKeySequence. A single key sequence consists of a keyboard code combined with modifiers (SHIFT, CTRL, ALT or UNICODE_ACCEL). For example, \fCCTRL + Key_P\fR could be a shortcut for printing a document. The key codes are listed in qnamespace.h. As an alternative, use UNICODE_ACCEL with the unicode code point of the character. For example, \fCUNICODE_ACCEL + 'A'\fR gives the same accelerator as Key_A. +Each accelerator item consists of an identifier and a QKeySequence. A single key sequence consists of a keyboard code combined with modifiers (SHIFT, CTRL, ALT or UNICODE_ACCEL). For example, \fCCTRL + Key_P\fR could be a shortcut for printing a document. The key codes are listed in ntqnamespace.h. As an alternative, use UNICODE_ACCEL with the unicode code point of the character. For example, \fCUNICODE_ACCEL + 'A'\fR gives the same accelerator as Key_A. .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 @@ -299,7 +299,7 @@ Returns the What's This help text for the specified item \fIid\fR or QString::nu See also setWhatsThis(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qaccel.html +.BR http://doc.trolltech.com/ntqaccel.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |