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.3qt14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqkeyevent.3qt b/doc/man/man3/tqkeyevent.3qt
index 2d203de58..52c567353 100644
--- a/doc/man/man3/tqkeyevent.3qt
+++ b/doc/man/man3/tqkeyevent.3qt
@@ -16,7 +16,7 @@ Inherits TQEvent.
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBTQKeyEvent\fR ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 )"
+.BI "\fBTQKeyEvent\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"
@@ -62,12 +62,12 @@ The event handlers TQWidget::keyPressEvent() and TQWidget::keyReleaseEvent() rec
.PP
See also TQFocusEvent, TQWidget::grabKeyboard(), and Event Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "TQKeyEvent::TQKeyEvent ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 )"
+.SH "TQKeyEvent::TQKeyEvent ( 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 TQEvent::KeyPress or TQEvent::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.
+The \fItype\fR parameter must be TQEvent::KeyPress or TQEvent::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.
.PP
-The accept flag is set to TRUE.
+The accept flag is set to true.
.SH "void TQKeyEvent::accept ()"
Sets the accept flag of the key event object.
.PP
@@ -95,11 +95,11 @@ The accept flag is set by default.
.PP
See also accept().
.SH "bool TQKeyEvent::isAccepted () const"
-Returns TRUE if the receiver of the event wants to keep the key; otherwise returns FALSE
+Returns true if the receiver of the event wants to keep the key; otherwise returns false
.SH "bool TQKeyEvent::isAutoRepeat () const"
-Returns TRUE if this event comes from an auto-repeating key and FALSE if it comes from an initial key press.
+Returns true if this event comes from an auto-repeating key and false if it comes from an initial key press.
.PP
-Note that if the event is a multiple-key compressed event that is partly due to auto-repeat, this function could return either TRUE or FALSE indeterminately.
+Note that if the event is a multiple-key compressed event that is partly due to auto-repeat, this function could return either true or false indeterminately.
.SH "int TQKeyEvent::key () const"
Returns the code of the key that was pressed or released.
.PP