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/qkeyevent.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/qkeyevent.html')
| -rw-r--r-- | doc/html/qkeyevent.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/qkeyevent.html b/doc/html/qkeyevent.html index eb75051c7..7acdcb567 100644 --- a/doc/html/qkeyevent.html +++ b/doc/html/qkeyevent.html @@ -38,7 +38,7 @@ body { background: #ffffff; color: black; } <p><a href="qkeyevent-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> -<li class=fn><a href="#TQKeyEvent"><b>TQKeyEvent</b></a> ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 )</li> +<li class=fn><a href="#TQKeyEvent"><b>TQKeyEvent</b></a> ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = false, ushort count = 1 )</li> <li class=fn>int <a href="#key"><b>key</b></a> () const</li> <li class=fn>int <a href="#ascii"><b>ascii</b></a> () const</li> <li class=fn>ButtonState <a href="#state"><b>state</b></a> () const</li> @@ -71,7 +71,7 @@ mouse and keyboard events for a widget. <p> <p>See also <a href="qfocusevent.html">TQFocusEvent</a>, <a href="ntqwidget.html#grabKeyboard">TQWidget::grabKeyboard</a>(), and <a href="events.html">Event Classes</a>. <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQKeyEvent"></a>TQKeyEvent::TQKeyEvent ( <a href="ntqevent.html#Type-enum">Type</a> type, int key, int ascii, int state, const <a href="ntqstring.html">TQString</a> & text = TQString::null, bool autorep = FALSE, ushort count = 1 ) +<h3 class=fn><a name="TQKeyEvent"></a>TQKeyEvent::TQKeyEvent ( <a href="ntqevent.html#Type-enum">Type</a> type, int key, int ascii, int state, const <a href="ntqstring.html">TQString</a> & text = TQString::null, bool autorep = false, ushort count = 1 ) </h3> <p> Constructs a key event object. @@ -79,9 +79,9 @@ mouse and keyboard events for a widget. known key (e.g. it may be the result of a compose sequence or keyboard macro). <em>ascii</em> is the ASCII code of the key that was pressed or released. <em>state</em> holds the keyboard modifiers. <em>text</em> is the Unicode text that the key generated. If <em>autorep</em> is -TRUE, <a href="#isAutoRepeat">isAutoRepeat</a>() will be TRUE. <em>count</em> is the number of +true, <a href="#isAutoRepeat">isAutoRepeat</a>() will be true. <em>count</em> is the number of single keys. -<p> The accept flag is set to TRUE. +<p> The accept flag is set to true. <h3 class=fn>void <a name="accept"></a>TQKeyEvent::accept () </h3> @@ -121,17 +121,17 @@ parent widget. <h3 class=fn>bool <a name="isAccepted"></a>TQKeyEvent::isAccepted () const </h3> -<p> Returns TRUE if the receiver of the event wants to keep the key; -otherwise returns FALSE +<p> Returns true if the receiver of the event wants to keep the key; +otherwise returns false <h3 class=fn>bool <a name="isAutoRepeat"></a>TQKeyEvent::isAutoRepeat () const </h3> -<p> Returns TRUE if this event comes from an auto-repeating key and -FALSE if it comes from an initial key press. +<p> Returns true if this event comes from an auto-repeating key and +false if it comes from an initial key press. <p> 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. +partly due to auto-repeat, this function could return either true +or false indeterminately. <h3 class=fn>int <a name="key"></a>TQKeyEvent::key () const </h3> |
