summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqkeysequence.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqkeysequence.3qt')
-rw-r--r--doc/man/man3/tqkeysequence.3qt70
1 files changed, 35 insertions, 35 deletions
diff --git a/doc/man/man3/tqkeysequence.3qt b/doc/man/man3/tqkeysequence.3qt
index 3db4b8ac..799fdd12 100644
--- a/doc/man/man3/tqkeysequence.3qt
+++ b/doc/man/man3/tqkeysequence.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QKeySequence 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQKeySequence 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,31 +7,31 @@
.ad l
.nh
.SH NAME
-QKeySequence \- Encapsulates a key sequence as used by accelerators
+TQKeySequence \- Encapsulates a key sequence as used by accelerators
.SH SYNOPSIS
-\fC#include <ntqkeysequence.h>\fR
+\fC#include <tqkeysequence.h>\fR
.PP
Inherits Qt.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQKeySequence\fR ()"
+.BI "\fBTQKeySequence\fR ()"
.br
.ti -1c
-.BI "\fBQKeySequence\fR ( const TQString & key )"
+.BI "\fBTQKeySequence\fR ( const TQString & key )"
.br
.ti -1c
-.BI "\fBQKeySequence\fR ( int key )"
+.BI "\fBTQKeySequence\fR ( int key )"
.br
.ti -1c
-.BI "\fBQKeySequence\fR ( int k1, int k2, int k3 = 0, int k4 = 0 )"
+.BI "\fBTQKeySequence\fR ( int k1, int k2, int k3 = 0, int k4 = 0 )"
.br
.ti -1c
-.BI "\fBQKeySequence\fR ( const QKeySequence & keysequence )"
+.BI "\fBTQKeySequence\fR ( const TQKeySequence & keysequence )"
.br
.ti -1c
-.BI "\fB~QKeySequence\fR ()"
+.BI "\fB~TQKeySequence\fR ()"
.br
.ti -1c
.BI "uint \fBcount\fR () const"
@@ -40,7 +40,7 @@ Inherits Qt.
.BI "bool \fBisEmpty\fR () const"
.br
.ti -1c
-.BI "TQt::SequenceMatch \fBmatches\fR ( const QKeySequence & seq ) const"
+.BI "TQt::SequenceMatch \fBmatches\fR ( const TQKeySequence & seq ) const"
.br
.ti -1c
.BI "\fBoperator TQString\fR () const"
@@ -52,26 +52,26 @@ Inherits Qt.
.BI "int \fBoperator[]\fR ( uint index ) const"
.br
.ti -1c
-.BI "QKeySequence & \fBoperator=\fR ( const QKeySequence & keysequence )"
+.BI "TQKeySequence & \fBoperator=\fR ( const TQKeySequence & keysequence )"
.br
.ti -1c
-.BI "bool \fBoperator==\fR ( const QKeySequence & keysequence ) const"
+.BI "bool \fBoperator==\fR ( const TQKeySequence & keysequence ) const"
.br
.ti -1c
-.BI "bool \fBoperator!=\fR ( const QKeySequence & keysequence ) const"
+.BI "bool \fBoperator!=\fR ( const TQKeySequence & keysequence ) const"
.br
.in -1c
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QKeySequence & keysequence )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQKeySequence & keysequence )"
.br
.ti -1c
-.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QKeySequence & keysequence )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQKeySequence & keysequence )"
.br
.in -1c
.SH DESCRIPTION
-The QKeySequence class encapsulates a key sequence as used by accelerators.
+The TQKeySequence 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
@@ -79,9 +79,9 @@ Key sequences can be constructed either from an integer key code, or from a huma
.PP
See also TQAccel and Miscellaneous Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QKeySequence::QKeySequence ()"
+.SH "TQKeySequence::TQKeySequence ()"
Constructs an empty key sequence.
-.SH "QKeySequence::QKeySequence ( const TQString & key )"
+.SH "TQKeySequence::TQKeySequence ( 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 "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".
@@ -94,57 +94,57 @@ This contructor is typically used with tr(), so that accelerator keys can be rep
.br
file->insertItem( tr("&Open..."), this, TQ_SLOT(open()),
.br
- QKeySequence( tr("Ctrl+O", "File|Open") ) );
+ TQKeySequence( tr("Ctrl+O", "File|Open") ) );
.br
.fi
.PP
Note the \fC"File|Open"\fR translator comment. It is by no means necessary, but it provides some context for the human translator.
-.SH "QKeySequence::QKeySequence ( int key )"
+.SH "TQKeySequence::TQKeySequence ( int key )"
Constructs a key sequence that has a single \fIkey\fR.
.PP
The key codes are listed in ntqnamespace.h and can be combined with modifiers, e.g. with SHIFT, CTRL, ALT, META or UNICODE_ACCEL.
-.SH "QKeySequence::QKeySequence ( int k1, int k2, int k3 = 0, int k4 = 0 )"
+.SH "TQKeySequence::TQKeySequence ( int k1, int k2, int k3 = 0, int k4 = 0 )"
Constructs a key sequence with up to 4 keys \fIk1\fR, \fIk2\fR, \fIk3\fR and \fIk4\fR.
.PP
The key codes are listed in ntqnamespace.h and can be combined with modifiers, e.g. with SHIFT, CTRL, ALT, META or UNICODE_ACCEL.
-.SH "QKeySequence::QKeySequence ( const QKeySequence & keysequence )"
+.SH "TQKeySequence::TQKeySequence ( const TQKeySequence & keysequence )"
Copy constructor. Makes a copy of \fIkeysequence\fR.
-.SH "QKeySequence::~QKeySequence ()"
+.SH "TQKeySequence::~TQKeySequence ()"
Destroys the key sequence.
-.SH "uint QKeySequence::count () const"
+.SH "uint TQKeySequence::count () const"
Returns the number of keys in the key sequence. The maximum is 4.
-.SH "bool QKeySequence::isEmpty () const"
+.SH "bool TQKeySequence::isEmpty () const"
Returns TRUE if the key sequence is empty; otherwise returns FALSE.
-.SH "TQt::SequenceMatch QKeySequence::matches ( const QKeySequence & seq ) const"
+.SH "TQt::SequenceMatch TQKeySequence::matches ( const TQKeySequence & 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"
+.SH "TQKeySequence::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 "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"
+.SH "TQKeySequence::operator int () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
For backward compatibility: returns the first keycode as integer. If the key sequence is empty, 0 is returned.
-.SH "bool QKeySequence::operator!= ( const QKeySequence & keysequence ) const"
+.SH "bool TQKeySequence::operator!= ( const TQKeySequence & keysequence ) const"
Returns TRUE if \fIkeysequence\fR is not equal to this key sequence; otherwise returns FALSE.
-.SH "QKeySequence & QKeySequence::operator= ( const QKeySequence & keysequence )"
+.SH "TQKeySequence & TQKeySequence::operator= ( const TQKeySequence & keysequence )"
Assignment operator. Assigns \fIkeysequence\fR to this object.
-.SH "bool QKeySequence::operator== ( const QKeySequence & keysequence ) const"
+.SH "bool TQKeySequence::operator== ( const TQKeySequence & keysequence ) const"
Returns TRUE if \fIkeysequence\fR is equal to this key sequence; otherwise returns FALSE.
-.SH "int QKeySequence::operator[] ( uint index ) const"
+.SH "int TQKeySequence::operator[] ( uint index ) const"
Returns a reference to the element at position \fIindex\fR in the key sequence. This can only be used to read an element.
.SH RELATED FUNCTION DOCUMENTATION
-.SH "TQDataStream & operator<< ( TQDataStream & s, const QKeySequence & keysequence )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQKeySequence & keysequence )"
Writes the key sequence \fIkeysequence\fR to the stream \fIs\fR.
.PP
See also Format of the TQDataStream operators.
-.SH "TQDataStream & operator>> ( TQDataStream & s, QKeySequence & keysequence )"
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQKeySequence & keysequence )"
Reads a key sequence from the stream \fIs\fR into the key sequence \fIkeysequence\fR.
.PP
See also Format of the TQDataStream operators.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqkeysequence.html
+.BR http://doc.trolltech.com/tqkeysequence.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the