diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/emb-charinput.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 |
