diff options
Diffstat (limited to 'doc/html/emb-charinput.html')
| -rw-r--r-- | doc/html/emb-charinput.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/emb-charinput.html b/doc/html/emb-charinput.html index 6380d5a51..01e429c26 100644 --- a/doc/html/emb-charinput.html +++ b/doc/html/emb-charinput.html @@ -45,9 +45,9 @@ following fields: <td valign="top">A bitfield consisting of some of <a href="ntqt.html#ButtonState-enum">TQt::ShiftButton</a>, <a href="ntqt.html#ButtonState-enum">TQt::ControlButton</a>, and <a href="ntqt.html#ButtonState-enum">TQt::AltButton</a>. <tr bgcolor="#d0d0d0"> <td valign="top"><tt>is_press</tt> -<td valign="top">TRUE if this is a key press, FALSE if it is a key release. +<td valign="top">true if this is a key press, false if it is a key release. <tr bgcolor="#f0f0f0"> <td valign="top"><tt>is_auto_repeat</tt> -<td valign="top">TRUE if this event is caused by auto repeat. +<td valign="top">true if this event is caused by auto repeat. </table></center> <p> When the server receives a key event it is sent to each client process which is responsible for processing the key event and sending it to @@ -75,9 +75,9 @@ written and installed as plugins. passes it through a filter. <p> This can be used to implement input methods, providing input of characters that are not on the keyboard. -<p> To make an input method, subclass TQWSServer::KeyboardFilter (in <tt>src/kernel/qwindowsystem_qws.h</tt>) and implement the virtual function <tt>filter()</tt>. If <tt>filter()</tt> returns <tt>FALSE</tt>, the event will be sent to +<p> To make an input method, subclass TQWSServer::KeyboardFilter (in <tt>src/kernel/qwindowsystem_qws.h</tt>) and implement the virtual function <tt>filter()</tt>. If <tt>filter()</tt> returns <tt>false</tt>, the event will be sent to the clients (using <a href="qwsserver.html#sendKeyEvent">TQWSServer::sendKeyEvent</a>()). If <tt>filter()</tt> returns -<tt>TRUE</tt>, the event will be stopped. To generate new key events, use +<tt>true</tt>, the event will be stopped. To generate new key events, use TQWSServer::sendKeyEvent(). (Do not use processKeyEvent(), since this will lead to infinite recursion.) <p> To install a keyboard event filter, use |
