summaryrefslogtreecommitdiffstats
path: root/doc/html/qmouseevent.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qmouseevent.html')
-rw-r--r--doc/html/qmouseevent.html70
1 files changed, 35 insertions, 35 deletions
diff --git a/doc/html/qmouseevent.html b/doc/html/qmouseevent.html
index 2f076db98..b2bbafe59 100644
--- a/doc/html/qmouseevent.html
+++ b/doc/html/qmouseevent.html
@@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }
<p>The TQMouseEvent class contains parameters that describe a mouse event.
<a href="#details">More...</a>
-<p><tt>#include &lt;<a href="qevent-h.html">qevent.h</a>&gt;</tt>
-<p>Inherits <a href="qevent.html">TQEvent</a>.
+<p><tt>#include &lt;<a href="qevent-h.html">ntqevent.h</a>&gt;</tt>
+<p>Inherits <a href="ntqevent.html">TQEvent</a>.
<p><a href="qmouseevent-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@@ -62,7 +62,7 @@ body { background: #ffffff; color: black; }
inside a widget or when the mouse cursor is moved.
<p> Mouse move events will occur only when a mouse button is pressed
down, unless mouse tracking has been enabled with
-<a href="qwidget.html#setMouseTracking">TQWidget::setMouseTracking</a>().
+<a href="ntqwidget.html#setMouseTracking">TQWidget::setMouseTracking</a>().
<p> TQt automatically grabs the mouse when a mouse button is pressed
inside a widget; the widget will continue to receive mouse events
until the last mouse button is released.
@@ -76,38 +76,38 @@ filter consumes it.
to the widget that receives the mouse event. If you move the
widget as a result of the mouse event, use the global position
returned by <a href="#globalPos">globalPos</a>() to avoid a shaking motion.
-<p> The <a href="qwidget.html#setEnabled">TQWidget::setEnabled</a>() function can be used to enable or
+<p> The <a href="ntqwidget.html#setEnabled">TQWidget::setEnabled</a>() function can be used to enable or
disable mouse and keyboard events for a widget.
-<p> The event handlers <a href="qwidget.html#mousePressEvent">TQWidget::mousePressEvent</a>(),
-<a href="qwidget.html#mouseReleaseEvent">TQWidget::mouseReleaseEvent</a>(), <a href="qwidget.html#mouseDoubleClickEvent">TQWidget::mouseDoubleClickEvent</a>() and
-<a href="qwidget.html#mouseMoveEvent">TQWidget::mouseMoveEvent</a>() receive mouse events.
-<p> <p>See also <a href="qwidget.html#mouseTracking-prop">TQWidget::mouseTracking</a>, <a href="qwidget.html#grabMouse">TQWidget::grabMouse</a>(), <a href="qcursor.html#pos">TQCursor::pos</a>(), and <a href="events.html">Event Classes</a>.
+<p> The event handlers <a href="ntqwidget.html#mousePressEvent">TQWidget::mousePressEvent</a>(),
+<a href="ntqwidget.html#mouseReleaseEvent">TQWidget::mouseReleaseEvent</a>(), <a href="ntqwidget.html#mouseDoubleClickEvent">TQWidget::mouseDoubleClickEvent</a>() and
+<a href="ntqwidget.html#mouseMoveEvent">TQWidget::mouseMoveEvent</a>() receive mouse events.
+<p> <p>See also <a href="ntqwidget.html#mouseTracking-prop">TQWidget::mouseTracking</a>, <a href="ntqwidget.html#grabMouse">TQWidget::grabMouse</a>(), <a href="ntqcursor.html#pos">TQCursor::pos</a>(), and <a href="events.html">Event Classes</a>.
<hr><h2>Member Function Documentation</h2>
-<h3 class=fn><a name="TQMouseEvent"></a>TQMouseEvent::TQMouseEvent ( <a href="qevent.html#Type-enum">Type</a>&nbsp;type, const&nbsp;<a href="qpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos, int&nbsp;button, int&nbsp;state )
+<h3 class=fn><a name="TQMouseEvent"></a>TQMouseEvent::TQMouseEvent ( <a href="ntqevent.html#Type-enum">Type</a>&nbsp;type, const&nbsp;<a href="ntqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos, int&nbsp;button, int&nbsp;state )
</h3>
<p> Constructs a mouse event object.
-<p> The <em>type</em> parameter must be one of <a href="qevent.html#Type-enum">TQEvent::MouseButtonPress</a>,
-<a href="qevent.html#Type-enum">TQEvent::MouseButtonRelease</a>, <a href="qevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> or
-<a href="qevent.html#Type-enum">TQEvent::MouseMove</a>.
+<p> The <em>type</em> parameter must be one of <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonPress</a>,
+<a href="ntqevent.html#Type-enum">TQEvent::MouseButtonRelease</a>, <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> or
+<a href="ntqevent.html#Type-enum">TQEvent::MouseMove</a>.
<p> The <em>pos</em> parameter specifies the position relative to the
-receiving widget. <em>button</em> specifies the <a href="qt.html#ButtonState-enum">button</a> that caused the event, which should be <a href="qt.html#ButtonState-enum">TQt::NoButton</a> (0), if <em>type</em> is <a href="qevent.html#Type-enum">MouseMove</a>. <em>state</em> is the
-<a href="qt.html#ButtonState-enum">ButtonState</a> at the time of the
+receiving widget. <em>button</em> specifies the <a href="ntqt.html#ButtonState-enum">button</a> that caused the event, which should be <a href="ntqt.html#ButtonState-enum">TQt::NoButton</a> (0), if <em>type</em> is <a href="ntqevent.html#Type-enum">MouseMove</a>. <em>state</em> is the
+<a href="ntqt.html#ButtonState-enum">ButtonState</a> at the time of the
event.
-<p> The <a href="#globalPos">globalPos</a>() is initialized to <a href="qcursor.html#pos">TQCursor::pos</a>(), which may not be
+<p> The <a href="#globalPos">globalPos</a>() is initialized to <a href="ntqcursor.html#pos">TQCursor::pos</a>(), which may not be
appropriate. Use the other constructor to specify the global
position explicitly.
-<h3 class=fn><a name="TQMouseEvent-2"></a>TQMouseEvent::TQMouseEvent ( <a href="qevent.html#Type-enum">Type</a>&nbsp;type, const&nbsp;<a href="qpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos, const&nbsp;<a href="qpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;globalPos, int&nbsp;button, int&nbsp;state )
+<h3 class=fn><a name="TQMouseEvent-2"></a>TQMouseEvent::TQMouseEvent ( <a href="ntqevent.html#Type-enum">Type</a>&nbsp;type, const&nbsp;<a href="ntqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos, const&nbsp;<a href="ntqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;globalPos, int&nbsp;button, int&nbsp;state )
</h3>
<p> Constructs a mouse event object.
-<p> The <em>type</em> parameter must be <a href="qevent.html#Type-enum">TQEvent::MouseButtonPress</a>, <a href="qevent.html#Type-enum">TQEvent::MouseButtonRelease</a>, <a href="qevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> or <a href="qevent.html#Type-enum">TQEvent::MouseMove</a>.
+<p> The <em>type</em> parameter must be <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonPress</a>, <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonRelease</a>, <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> or <a href="ntqevent.html#Type-enum">TQEvent::MouseMove</a>.
<p> The <em>pos</em> parameter specifies the position relative to the
receiving widget. <em>globalPos</em> is the position in absolute
-coordinates. <em>button</em> specifies the <a href="qt.html#ButtonState-enum">button</a> that caused the event, which should be <a href="qt.html#ButtonState-enum">TQt::NoButton</a> (0), if <em>type</em> is <a href="qevent.html#Type-enum">MouseMove</a>. <em>state</em> is the
-<a href="qt.html#ButtonState-enum">ButtonState</a> at the time of the
+coordinates. <em>button</em> specifies the <a href="ntqt.html#ButtonState-enum">button</a> that caused the event, which should be <a href="ntqt.html#ButtonState-enum">TQt::NoButton</a> (0), if <em>type</em> is <a href="ntqevent.html#Type-enum">MouseMove</a>. <em>state</em> is the
+<a href="ntqt.html#ButtonState-enum">ButtonState</a> at the time of the
event.
<p>
<h3 class=fn>void <a name="accept"></a>TQMouseEvent::accept ()
@@ -120,23 +120,23 @@ parent widget.
<p> The accept flag is set by default.
<p> <p>See also <a href="#ignore">ignore</a>().
-<h3 class=fn><a href="qt.html#ButtonState-enum">ButtonState</a> <a name="button"></a>TQMouseEvent::button () const
+<h3 class=fn><a href="ntqt.html#ButtonState-enum">ButtonState</a> <a name="button"></a>TQMouseEvent::button () const
</h3>
<p> Returns the button that caused the event.
-<p> Possible return values are <a href="qt.html#ButtonState-enum">LeftButton</a>, <a href="qt.html#ButtonState-enum">RightButton</a>, <a href="qt.html#ButtonState-enum">MidButton</a> and <a href="qt.html#ButtonState-enum">NoButton</a>.
-<p> Note that the returned value is always <a href="qt.html#ButtonState-enum">NoButton</a> for mouse move
+<p> Possible return values are <a href="ntqt.html#ButtonState-enum">LeftButton</a>, <a href="ntqt.html#ButtonState-enum">RightButton</a>, <a href="ntqt.html#ButtonState-enum">MidButton</a> and <a href="ntqt.html#ButtonState-enum">NoButton</a>.
+<p> Note that the returned value is always <a href="ntqt.html#ButtonState-enum">NoButton</a> for mouse move
events.
-<p> <p>See also <a href="#state">state</a>() and <a href="qt.html#ButtonState-enum">TQt::ButtonState</a>.
+<p> <p>See also <a href="#state">state</a>() and <a href="ntqt.html#ButtonState-enum">TQt::ButtonState</a>.
<p>Examples: <a href="dclock-example.html#x1101">dclock/dclock.cpp</a>, <a href="life-example.html#x1890">life/life.cpp</a>, and <a href="tutorial1-14.html#x2417">t14/cannon.cpp</a>.
-<h3 class=fn>const&nbsp;<a href="qpoint.html">TQPoint</a>&nbsp;&amp; <a name="globalPos"></a>TQMouseEvent::globalPos () const
+<h3 class=fn>const&nbsp;<a href="ntqpoint.html">TQPoint</a>&nbsp;&amp; <a name="globalPos"></a>TQMouseEvent::globalPos () const
</h3>
<p> Returns the global position of the mouse pointer <em>at the time of the event</em>. This is important on asynchronous window systems
like X11. Whenever you move your widgets around in response to
mouse events, <a href="#globalPos">globalPos</a>() may differ a lot from the current
-pointer position <a href="qcursor.html#pos">TQCursor::pos</a>(), and from <a href="qwidget.html#mapToGlobal">TQWidget::mapToGlobal</a>(
+pointer position <a href="ntqcursor.html#pos">TQCursor::pos</a>(), and from <a href="ntqwidget.html#mapToGlobal">TQWidget::mapToGlobal</a>(
<a href="#pos">pos</a>() ).
<p> <p>See also <a href="#globalX">globalX</a>() and <a href="#globalY">globalY</a>().
@@ -171,7 +171,7 @@ the parent widget.
<p> Returns TRUE if the receiver of the event wants to keep the key;
otherwise returns FALSE.
-<h3 class=fn>const&nbsp;<a href="qpoint.html">TQPoint</a>&nbsp;&amp; <a name="pos"></a>TQMouseEvent::pos () const
+<h3 class=fn>const&nbsp;<a href="ntqpoint.html">TQPoint</a>&nbsp;&amp; <a name="pos"></a>TQMouseEvent::pos () const
</h3>
<p> Returns the position of the mouse pointer relative to the widget
@@ -181,28 +181,28 @@ global position returned by <a href="#globalPos">globalPos</a>() to avoid a shak
<p> <p>See also <a href="#x">x</a>(), <a href="#y">y</a>(), and <a href="#globalPos">globalPos</a>().
<p>Examples: <a href="tutorial2-06.html#x2580">chart/canvasview.cpp</a>, <a href="drawlines-example.html#x1654">drawlines/connect.cpp</a>, <a href="life-example.html#x1891">life/life.cpp</a>, <a href="popup-example.html#x1611">popup/popup.cpp</a>, <a href="qmag-example.html#x1780">qmag/qmag.cpp</a>, <a href="tutorial1-14.html#x2418">t14/cannon.cpp</a>, and <a href="tooltip-example.html#x443">tooltip/tooltip.cpp</a>.
-<h3 class=fn><a href="qt.html#ButtonState-enum">ButtonState</a> <a name="state"></a>TQMouseEvent::state () const
+<h3 class=fn><a href="ntqt.html#ButtonState-enum">ButtonState</a> <a name="state"></a>TQMouseEvent::state () const
</h3>
<p> Returns the button state (a combination of mouse buttons and
keyboard modifiers), i.e. what buttons and keys were being pressed
immediately before the event was generated.
-<p> This means that if you have a <a href="qevent.html#Type-enum">TQEvent::MouseButtonPress</a> or a <a href="qevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> <a href="#state">state</a>() will <em>not</em> include the mouse
+<p> This means that if you have a <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonPress</a> or a <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> <a href="#state">state</a>() will <em>not</em> include the mouse
button that's pressed. But once the mouse button has been
-released, the <a href="qevent.html#Type-enum">TQEvent::MouseButtonRelease</a> event will have the
+released, the <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonRelease</a> event will have the
<a href="#button">button</a>() that was pressed.
-<p> This value is mainly interesting for <a href="qevent.html#Type-enum">TQEvent::MouseMove</a>; for the
+<p> This value is mainly interesting for <a href="ntqevent.html#Type-enum">TQEvent::MouseMove</a>; for the
other cases, button() is more useful.
-<p> The returned value is <a href="qt.html#ButtonState-enum">LeftButton</a>, <a href="qt.html#ButtonState-enum">RightButton</a>, <a href="qt.html#ButtonState-enum">MidButton</a>,
-<a href="qt.html#ButtonState-enum">ShiftButton</a>, <a href="qt.html#ButtonState-enum">ControlButton</a> and <a href="qt.html#ButtonState-enum">AltButton</a> OR'ed together.
-<p> <p>See also <a href="#button">button</a>(), <a href="#stateAfter">stateAfter</a>(), and <a href="qt.html#ButtonState-enum">TQt::ButtonState</a>.
+<p> The returned value is <a href="ntqt.html#ButtonState-enum">LeftButton</a>, <a href="ntqt.html#ButtonState-enum">RightButton</a>, <a href="ntqt.html#ButtonState-enum">MidButton</a>,
+<a href="ntqt.html#ButtonState-enum">ShiftButton</a>, <a href="ntqt.html#ButtonState-enum">ControlButton</a> and <a href="ntqt.html#ButtonState-enum">AltButton</a> OR'ed together.
+<p> <p>See also <a href="#button">button</a>(), <a href="#stateAfter">stateAfter</a>(), and <a href="ntqt.html#ButtonState-enum">TQt::ButtonState</a>.
<p>Examples: <a href="popup-example.html#x1612">popup/popup.cpp</a> and <a href="showimg-example.html#x1334">showimg/showimg.cpp</a>.
-<h3 class=fn><a href="qt.html#ButtonState-enum">ButtonState</a> <a name="stateAfter"></a>TQMouseEvent::stateAfter () const
+<h3 class=fn><a href="ntqt.html#ButtonState-enum">ButtonState</a> <a name="stateAfter"></a>TQMouseEvent::stateAfter () const
</h3>
<p> Returns the state of buttons after the event.
-<p> <p>See also <a href="#state">state</a>() and <a href="qt.html#ButtonState-enum">TQt::ButtonState</a>.
+<p> <p>See also <a href="#state">state</a>() and <a href="ntqt.html#ButtonState-enum">TQt::ButtonState</a>.
<h3 class=fn>int <a name="x"></a>TQMouseEvent::x () const
</h3>