diff options
Diffstat (limited to 'doc/man/man3/tqmouseevent.3qt')
-rw-r--r-- | doc/man/man3/tqmouseevent.3qt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqmouseevent.3qt b/doc/man/man3/tqmouseevent.3qt index a52ae9dc8..134f3c250 100644 --- a/doc/man/man3/tqmouseevent.3qt +++ b/doc/man/man3/tqmouseevent.3qt @@ -82,7 +82,7 @@ Constructs a mouse event object. .PP The \fItype\fR parameter must be one of QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::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 Qt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event. +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 The globalPos() is initialized to QCursor::pos(), which may not be appropriate. Use the other constructor to specify the global position explicitly. .SH "QMouseEvent::QMouseEvent ( Type type, const QPoint & pos, const QPoint & globalPos, int button, int state )" @@ -90,7 +90,7 @@ Constructs a mouse event object. .PP The \fItype\fR parameter must be QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::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 Qt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event. +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 ()" Sets the accept flag of the mouse event object. .PP @@ -106,7 +106,7 @@ Possible return values are LeftButton, RightButton, MidButton and NoButton. .PP Note that the returned value is always NoButton for mouse move events. .PP -See also state() and Qt::ButtonState. +See also state() and TQt::ButtonState. .PP Examples: .)l dclock/dclock.cpp, life/life.cpp, and t14/cannon.cpp. @@ -152,14 +152,14 @@ This value is mainly interesting for QEvent::MouseMove; for the other cases, but .PP The returned value is LeftButton, RightButton, MidButton, ShiftButton, ControlButton and AltButton OR'ed together. .PP -See also button(), stateAfter(), and Qt::ButtonState. +See also button(), stateAfter(), and TQt::ButtonState. .PP Examples: .)l popup/popup.cpp and showimg/showimg.cpp. .SH "ButtonState QMouseEvent::stateAfter () const" Returns the state of buttons after the event. .PP -See also state() and Qt::ButtonState. +See also state() and TQt::ButtonState. .SH "int QMouseEvent::x () const" Returns the x-position of the mouse pointer, relative to the widget that received the event. .PP |