diff options
Diffstat (limited to 'doc/man/man3/tqkeysequence.3qt')
-rw-r--r-- | doc/man/man3/tqkeysequence.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqkeysequence.3qt b/doc/man/man3/tqkeysequence.3qt index 0ee6b9e51..3db4b8ac4 100644 --- a/doc/man/man3/tqkeysequence.3qt +++ b/doc/man/man3/tqkeysequence.3qt @@ -75,14 +75,14 @@ The QKeySequence class encapsulates a key sequence as used by accelerators. .PP A key sequence consists of up to four keyboard codes, each optionally combined with modifiers, e.g. SHIFT, CTRL, ALT, META, or UNICODE_ACCEL. For example, \fCCTRL + Key_P\fR might be a sequence used as 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 key sequence as Key_A. .PP -Key sequences can be constructed either from an integer key code, or from a human readable translatable string such as" Ctrl+X,Alt+Space". A key sequence can be cast to a TQString to obtain a human readable translated version of the sequence. Translations are done in the "QAccel" context. +Key sequences can be constructed either from an integer key code, or from a human readable translatable string such as" Ctrl+X,Alt+Space". A key sequence can be cast to a TQString to obtain a human readable translated version of the sequence. Translations are done in the "TQAccel" context. .PP -See also QAccel and Miscellaneous Classes. +See also TQAccel and Miscellaneous Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QKeySequence::QKeySequence ()" Constructs an empty key sequence. .SH "QKeySequence::QKeySequence ( const TQString & key )" -Creates a key sequence from the string \fIkey\fR. For example" Ctrl+O" gives CTRL+UNICODE_ACCEL+'O'. The strings "Ctrl"," Shift", "Alt" and "Meta" are recognized, as well as their translated equivalents in the "QAccel" context (using TQObject::tr()). +Creates a key sequence from the string \fIkey\fR. For example" Ctrl+O" gives CTRL+UNICODE_ACCEL+'O'. The strings "Ctrl"," Shift", "Alt" and "Meta" are recognized, as well as their translated equivalents in the "TQAccel" context (using TQObject::tr()). .PP Multiple key codes (up to four) may be entered by separating them with commas, e.g. "Alt+X,Ctrl+S,Q". .PP @@ -118,7 +118,7 @@ Returns TRUE if the key sequence is empty; otherwise returns FALSE. .SH "TQt::SequenceMatch QKeySequence::matches ( const QKeySequence & seq ) const" Matches the sequence with \fIseq\fR. Returns TQt::Identical if successful, TQt::PartialMatch for matching but incomplete \fIseq\fR, and TQt::NoMatch if the sequences have nothing in common. Returns TQt::NoMatch if \fIseq\fR is shorter. .SH "QKeySequence::operator TQString () const" -Creates an accelerator string for the key sequence. For instance CTRL+Key_O gives "Ctrl+O". If the key sequence has multiple key codes they are returned comma-separated, e.g." Alt+X, Ctrl+Y, Z". The strings, "Ctrl", "Shift", etc. are translated (using TQObject::tr()) in the "QAccel" scope. If the key sequence has no keys, TQString::null is returned. +Creates an accelerator string for the key sequence. For instance CTRL+Key_O gives "Ctrl+O". If the key sequence has multiple key codes they are returned comma-separated, e.g." Alt+X, Ctrl+Y, Z". The strings, "Ctrl", "Shift", etc. are translated (using TQObject::tr()) in the "TQAccel" scope. If the key sequence has no keys, TQString::null is returned. .PP On Mac OS X, the string returned resembles the sequence that is shown in the menubar. .SH "QKeySequence::operator int () const" |