diff options
Diffstat (limited to 'doc/man/man3/tqmouseevent.3qt')
-rw-r--r-- | doc/man/man3/tqmouseevent.3qt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqmouseevent.3qt b/doc/man/man3/tqmouseevent.3qt index 9728913fe..21e604fcb 100644 --- a/doc/man/man3/tqmouseevent.3qt +++ b/doc/man/man3/tqmouseevent.3qt @@ -9,9 +9,9 @@ .SH NAME QMouseEvent \- Parameters that describe a mouse event .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c @@ -80,7 +80,7 @@ See also TQWidget::mouseTracking, TQWidget::grabMouse(), QCursor::pos(), and Eve .SH "QMouseEvent::QMouseEvent ( Type type, const TQPoint & pos, int button, int state )" Constructs a mouse event object. .PP -The \fItype\fR parameter must be one of QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::MouseMove. +The \fItype\fR parameter must be one of TQEvent::MouseButtonPress, TQEvent::MouseButtonRelease, TQEvent::MouseButtonDblClick or TQEvent::MouseMove. .PP The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIbutton\fR specifies the button that caused the event, which should be TQt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event. .PP @@ -88,7 +88,7 @@ The globalPos() is initialized to QCursor::pos(), which may not be appropriate. .SH "QMouseEvent::QMouseEvent ( Type type, const TQPoint & pos, const TQPoint & globalPos, int button, int state )" Constructs a mouse event object. .PP -The \fItype\fR parameter must be QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::MouseMove. +The \fItype\fR parameter must be TQEvent::MouseButtonPress, TQEvent::MouseButtonRelease, TQEvent::MouseButtonDblClick or TQEvent::MouseMove. .PP The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIglobalPos\fR is the position in absolute coordinates. \fIbutton\fR specifies the button that caused the event, which should be TQt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event. .SH "void QMouseEvent::accept ()" @@ -146,9 +146,9 @@ Examples: .SH "ButtonState QMouseEvent::state () const" 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. .PP -This means that if you have a QEvent::MouseButtonPress or a QEvent::MouseButtonDblClick state() will \fInot\fR include the mouse button that's pressed. But once the mouse button has been released, the QEvent::MouseButtonRelease event will have the button() that was pressed. +This means that if you have a TQEvent::MouseButtonPress or a TQEvent::MouseButtonDblClick state() will \fInot\fR include the mouse button that's pressed. But once the mouse button has been released, the TQEvent::MouseButtonRelease event will have the button() that was pressed. .PP -This value is mainly interesting for QEvent::MouseMove; for the other cases, button() is more useful. +This value is mainly interesting for TQEvent::MouseMove; for the other cases, button() is more useful. .PP The returned value is LeftButton, RightButton, MidButton, ShiftButton, ControlButton and AltButton OR'ed together. .PP |