summaryrefslogtreecommitdiffstats
path: root/doc/charinput-qws.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/charinput-qws.doc')
-rw-r--r--doc/charinput-qws.doc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/charinput-qws.doc b/doc/charinput-qws.doc
index e8511e39b..c769657e1 100644
--- a/doc/charinput-qws.doc
+++ b/doc/charinput-qws.doc
@@ -54,9 +54,9 @@ following fields:
\i A bitfield consisting of some of \c TQt::ShiftButton,
\c TQt::ControlButton, and \c TQt::AltButton.
\row \i \c{is_press}
- \i TRUE if this is a key press, FALSE if it is a key release.
+ \i true if this is a key press, false if it is a key release.
\row \i \c{is_auto_repeat}
- \i TRUE if this event is caused by auto repeat.
+ \i true if this event is caused by auto repeat.
\endtable
When the server receives a key event it is sent to each client process
@@ -95,9 +95,9 @@ characters that are not on the keyboard.
To make an input method, subclass QWSServer::KeyboardFilter (in \c
src/kernel/qwindowsystem_qws.h) and implement the virtual function \c
-filter(). If \c filter() returns \c FALSE, the event will be sent to
+filter(). If \c filter() returns \c false, the event will be sent to
the clients (using QWSServer::sendKeyEvent()). If \c filter() returns
-\c TRUE, the event will be stopped. To generate new key events, use
+\c true, the event will be stopped. To generate new key events, use
QWSServer::sendKeyEvent(). (Do not use processKeyEvent(), since this
will lead to infinite recursion.)