<class name="QHoverEvent" doc="/** <p>The <a href="QHoverEvent.html#QHoverEvent(com.trolltech.qt.core.QEvent.Type, com.trolltech.qt.core.QPoint, com.trolltech.qt.core.QPoint)"><tt>QHoverEvent</tt></a> class contains parameters that describe a mouse event.</p> <p>Mouse events occur when a mouse cursor is moved into, out of, or within a widget, and if the widget has the Qt::WA_Hover attribute.</p> <p>The function <a href="QHoverEvent.html#pos()"><tt>pos</tt></a> gives the current cursor position, while <a href="QHoverEvent.html#oldPos()"><tt>oldPos</tt></a> gives the old mouse position.</p> */"> <method name="public QHoverEvent(com.trolltech.qt.core.QEvent.Type type, com.trolltech.qt.core.QPoint pos, com.trolltech.qt.core.QPoint oldPos)" doc="/** <p>Constructs a hover event object.</p> <p>The <tt>type</tt> parameter must be QEvent::HoverEnter, QEvent::HoverLeave, or QEvent::HoverMove.</p> <p>The <tt>pos</tt> is the current mouse cursor's position relative to the receiving widget, while <tt>oldPos</tt> is the previous mouse cursor's position relative to the receiving widget.</p> */"/> <method name="public final com.trolltech.qt.core.QPoint oldPos()" doc="/** <p>Returns the previous position of the mouse cursor, relative to the widget that received the event. If there is no previous position, <a href="QHoverEvent.html#oldPos()"><tt>oldPos</tt></a> will return the same position as <a href="QHoverEvent.html#pos()"><tt>pos</tt></a>.</p> <p>On QEvent::HoverEnter events, this position will always be <a href="%2E%2E/core/QPoint.html"><tt>QPoint</tt></a>(-1, -1).</p> @see <a href="QHoverEvent.html#pos()"><tt>pos</tt></a> */"/> <method name="public final com.trolltech.qt.core.QPoint pos()" doc="/** <p>Returns the position of the mouse cursor, relative to the widget that received the event.</p> <p>On QEvent::HoverLeave events, this position will always be <a href="%2E%2E/core/QPoint.html"><tt>QPoint</tt></a>(-1, -1).</p> @see <a href="QHoverEvent.html#oldPos()"><tt>oldPos</tt></a> */"/> <method name="protected final com.trolltech.qt.core.QPoint op()" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QHoverEvent.html#setOp(com.trolltech.qt.core.QPoint)"><tt>setOp</tt></a> */"/> <method name="protected final void setOp(com.trolltech.qt.core.QPoint op)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QHoverEvent.html#op()"><tt>op</tt></a> */"/> <method name="protected final com.trolltech.qt.core.QPoint p()" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QHoverEvent.html#setP(com.trolltech.qt.core.QPoint)"><tt>setP</tt></a> */"/> <method name="protected final void setP(com.trolltech.qt.core.QPoint p)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QHoverEvent.html#p()"><tt>p</tt></a> */"/> </class>