diff options
Diffstat (limited to 'doc/html/qkeyevent.html')
-rw-r--r-- | doc/html/qkeyevent.html | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/html/qkeyevent.html b/doc/html/qkeyevent.html index af844331a..eb75051c7 100644 --- a/doc/html/qkeyevent.html +++ b/doc/html/qkeyevent.html @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; } <p>The TQKeyEvent class contains describes a key event. <a href="#details">More...</a> -<p><tt>#include <<a href="qevent-h.html">qevent.h</a>></tt> -<p>Inherits <a href="qevent.html">TQEvent</a>. +<p><tt>#include <<a href="qevent-h.html">ntqevent.h</a>></tt> +<p>Inherits <a href="ntqevent.html">TQEvent</a>. <p><a href="qkeyevent-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -66,16 +66,16 @@ Key events for multi media keys are ignored by default. You should call TQKeyEvent::accept() if your widget handles those events. <p> The TQWidget::setEnable() function can be used to enable or disable mouse and keyboard events for a widget. -<p> The event handlers <a href="qwidget.html#keyPressEvent">TQWidget::keyPressEvent</a>() and -<a href="qwidget.html#keyReleaseEvent">TQWidget::keyReleaseEvent</a>() receive key events. -<p> <p>See also <a href="qfocusevent.html">TQFocusEvent</a>, <a href="qwidget.html#grabKeyboard">TQWidget::grabKeyboard</a>(), and <a href="events.html">Event Classes</a>. +<p> The event handlers <a href="ntqwidget.html#keyPressEvent">TQWidget::keyPressEvent</a>() and +<a href="ntqwidget.html#keyReleaseEvent">TQWidget::keyReleaseEvent</a>() receive key events. +<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="qevent.html#Type-enum">Type</a> type, int key, int ascii, int state, const <a href="qstring.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. -<p> The <em>type</em> parameter must be <a href="qevent.html#Type-enum">TQEvent::KeyPress</a> or <a href="qevent.html#Type-enum">TQEvent::KeyRelease</a>. If <em>key</em> is 0 the event is not a result of a +<p> The <em>type</em> parameter must be <a href="ntqevent.html#Type-enum">TQEvent::KeyPress</a> or <a href="ntqevent.html#Type-enum">TQEvent::KeyRelease</a>. If <em>key</em> 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). <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 @@ -106,7 +106,7 @@ recommend using <a href="#text">text</a>() instead. <p> Returns the number of single keys for this event. If <a href="#text">text</a>() is not empty, this is simply the length of the string. -<p> <p>See also <a href="qwidget.html#setKeyCompression">TQWidget::setKeyCompression</a>(). +<p> <p>See also <a href="ntqwidget.html#setKeyCompression">TQWidget::setKeyCompression</a>(). <h3 class=fn>void <a name="ignore"></a>TQKeyEvent::ignore () </h3> @@ -137,25 +137,25 @@ or FALSE indeterminately. </h3> <p> Returns the code of the key that was pressed or released. -<p> See <a href="qt.html#Key-enum">TQt::Key</a> for the list of keyboard codes. These codes are +<p> See <a href="ntqt.html#Key-enum">TQt::Key</a> for the list of keyboard codes. These codes are independent of the underlying window system. <p> A value of either 0 or Key_unknown means that the event is not the result of a known key (e.g. it may be the result of a compose sequence or a keyboard macro, or due to key event compression). -<p> <p>See also <a href="qwidget.html#setKeyCompression">TQWidget::setKeyCompression</a>(). +<p> <p>See also <a href="ntqwidget.html#setKeyCompression">TQWidget::setKeyCompression</a>(). <p>Example: <a href="fileiconview-example.html#x853">fileiconview/qfileiconview.cpp</a>. -<h3 class=fn><a href="qt.html#ButtonState-enum">ButtonState</a> <a name="state"></a>TQKeyEvent::state () const +<h3 class=fn><a href="ntqt.html#ButtonState-enum">ButtonState</a> <a name="state"></a>TQKeyEvent::state () const </h3> <p> Returns the keyboard modifier flags that existed immediately before the event occurred. -<p> The returned value is <a href="qt.html#ButtonState-enum">ShiftButton</a>, <a href="qt.html#ButtonState-enum">ControlButton</a>, <a href="qt.html#ButtonState-enum">AltButton</a> -and <a href="qt.html#ButtonState-enum">MetaButton</a> OR'ed together. +<p> The returned value is <a href="ntqt.html#ButtonState-enum">ShiftButton</a>, <a href="ntqt.html#ButtonState-enum">ControlButton</a>, <a href="ntqt.html#ButtonState-enum">AltButton</a> +and <a href="ntqt.html#ButtonState-enum">MetaButton</a> OR'ed together. <p> <p>See also <a href="#stateAfter">stateAfter</a>(). <p>Example: <a href="fileiconview-example.html#x854">fileiconview/qfileiconview.cpp</a>. -<h3 class=fn><a href="qt.html#ButtonState-enum">ButtonState</a> <a name="stateAfter"></a>TQKeyEvent::stateAfter () const +<h3 class=fn><a href="ntqt.html#ButtonState-enum">ButtonState</a> <a name="stateAfter"></a>TQKeyEvent::stateAfter () const </h3> <p> Returns the keyboard modifier flags that existed immediately after @@ -163,14 +163,14 @@ the event occurred. <p> <b>Warning:</b> This function cannot be trusted. <p> <p>See also <a href="#state">state</a>(). -<h3 class=fn><a href="qstring.html">TQString</a> <a name="text"></a>TQKeyEvent::text () const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text"></a>TQKeyEvent::text () const </h3> <p> Returns the Unicode text that this key generated. The text returned migth be empty, which is the case when pressing or releasing modifying keys as Shift, Control, Alt and Meta. In these cases <a href="#key">key</a>() will contain a valid value. -<p> <p>See also <a href="qwidget.html#setKeyCompression">TQWidget::setKeyCompression</a>(). +<p> <p>See also <a href="ntqwidget.html#setKeyCompression">TQWidget::setKeyCompression</a>(). <!-- eof --> <hr><p> |