summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqkeyevent.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqkeyevent.3qt')
-rw-r--r--doc/man/man3/tqkeyevent.3qt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqkeyevent.3qt b/doc/man/man3/tqkeyevent.3qt
index c2ee132a..bf61299a 100644
--- a/doc/man/man3/tqkeyevent.3qt
+++ b/doc/man/man3/tqkeyevent.3qt
@@ -16,7 +16,7 @@ Inherits QEvent.
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQKeyEvent\fR ( Type type, int key, int ascii, int state, const QString & text = QString::null, bool autorep = FALSE, ushort count = 1 )"
+.BI "\fBQKeyEvent\fR ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 )"
.br
.ti -1c
.BI "int \fBkey\fR () const"
@@ -34,7 +34,7 @@ Inherits QEvent.
.BI "bool \fBisAccepted\fR () const"
.br
.ti -1c
-.BI "QString \fBtext\fR () const"
+.BI "TQString \fBtext\fR () const"
.br
.ti -1c
.BI "bool \fBisAutoRepeat\fR () const"
@@ -56,13 +56,13 @@ Key events occur when a key is pressed or released when a widget has keyboard in
.PP
A key event contains a special accept flag that indicates whether the receiver wants the key event. You should call QKeyEvent::ignore() if the key press or release event is not handled by your widget. A key event is propagated up the parent widget chain until a widget accepts it with QKeyEvent::accept() or an event filter consumes it. Key events for multi media keys are ignored by default. You should call QKeyEvent::accept() if your widget handles those events.
.PP
-The QWidget::setEnable() function can be used to enable or disable mouse and keyboard events for a widget.
+The TQWidget::setEnable() function can be used to enable or disable mouse and keyboard events for a widget.
.PP
-The event handlers QWidget::keyPressEvent() and QWidget::keyReleaseEvent() receive key events.
+The event handlers TQWidget::keyPressEvent() and TQWidget::keyReleaseEvent() receive key events.
.PP
-See also QFocusEvent, QWidget::grabKeyboard(), and Event Classes.
+See also QFocusEvent, TQWidget::grabKeyboard(), and Event Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QKeyEvent::QKeyEvent ( Type type, int key, int ascii, int state, const QString & text = QString::null, bool autorep = FALSE, ushort count = 1 )"
+.SH "QKeyEvent::QKeyEvent ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 )"
Constructs a key event object.
.PP
The \fItype\fR parameter must be QEvent::KeyPress or QEvent::KeyRelease. If \fIkey\fR is 0 the event is not a result of a known key (e.g. it may be the result of a compose sequence or keyboard macro). \fIascii\fR is the ASCII code of the key that was pressed or released. \fIstate\fR holds the keyboard modifiers. \fItext\fR is the Unicode text that the key generated. If \fIautorep\fR is TRUE, isAutoRepeat() will be TRUE. \fIcount\fR is the number of single keys.
@@ -85,7 +85,7 @@ Example: picture/picture.cpp.
.SH "int QKeyEvent::count () const"
Returns the number of single keys for this event. If text() is not empty, this is simply the length of the string.
.PP
-See also QWidget::setKeyCompression().
+See also TQWidget::setKeyCompression().
.SH "void QKeyEvent::ignore ()"
Clears the accept flag parameter of the key event object.
.PP
@@ -107,7 +107,7 @@ See Qt::Key for the list of keyboard codes. These codes are independent of the u
.PP
A value of either 0 or Key_unknown means that the event is not the result of a known key (e.g. it may be the result of a compose sequence or a keyboard macro, or due to key event compression).
.PP
-See also QWidget::setKeyCompression().
+See also TQWidget::setKeyCompression().
.PP
Example: fileiconview/qfileiconview.cpp.
.SH "ButtonState QKeyEvent::state () const"
@@ -124,10 +124,10 @@ Returns the keyboard modifier flags that existed immediately after the event occ
\fBWarning:\fR This function cannot be trusted.
.PP
See also state().
-.SH "QString QKeyEvent::text () const"
+.SH "TQString QKeyEvent::text () const"
Returns the Unicode text that this key generated. The text returned migth be empty, which is the case when pressing or releasing modifying keys as Shift, Control, Alt and Meta. In these cases key() will contain a valid value.
.PP
-See also QWidget::setKeyCompression().
+See also TQWidget::setKeyCompression().
.SH "SEE ALSO"
.BR http://doc.trolltech.com/qkeyevent.html