summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqmouseevent.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqmouseevent.3qt')
-rw-r--r--doc/man/man3/tqmouseevent.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqmouseevent.3qt b/doc/man/man3/tqmouseevent.3qt
index 21e604fcb..91ea44b13 100644
--- a/doc/man/man3/tqmouseevent.3qt
+++ b/doc/man/man3/tqmouseevent.3qt
@@ -75,7 +75,7 @@ The TQWidget::setEnabled() function can be used to enable or disable mouse and k
.PP
The event handlers TQWidget::mousePressEvent(), TQWidget::mouseReleaseEvent(), TQWidget::mouseDoubleClickEvent() and TQWidget::mouseMoveEvent() receive mouse events.
.PP
-See also TQWidget::mouseTracking, TQWidget::grabMouse(), QCursor::pos(), and Event Classes.
+See also TQWidget::mouseTracking, TQWidget::grabMouse(), TQCursor::pos(), and Event Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QMouseEvent::QMouseEvent ( Type type, const TQPoint & pos, int button, int state )"
Constructs a mouse event object.
@@ -84,7 +84,7 @@ The \fItype\fR parameter must be one of TQEvent::MouseButtonPress, TQEvent::Mous
.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
-The globalPos() is initialized to QCursor::pos(), which may not be appropriate. Use the other constructor to specify the global position explicitly.
+The globalPos() is initialized to TQCursor::pos(), which may not be appropriate. Use the other constructor to specify the global position explicitly.
.SH "QMouseEvent::QMouseEvent ( Type type, const TQPoint & pos, const TQPoint & globalPos, int button, int state )"
Constructs a mouse event object.
.PP
@@ -111,7 +111,7 @@ See also state() and TQt::ButtonState.
Examples:
.)l dclock/dclock.cpp, life/life.cpp, and t14/cannon.cpp.
.SH "const TQPoint & QMouseEvent::globalPos () const"
-Returns the global position of the mouse pointer \fIat the time of the event\fR. This is important on asynchronous window systems like X11. Whenever you move your widgets around in response to mouse events, globalPos() may differ a lot from the current pointer position QCursor::pos(), and from TQWidget::mapToGlobal( pos() ).
+Returns the global position of the mouse pointer \fIat the time of the event\fR. This is important on asynchronous window systems like X11. Whenever you move your widgets around in response to mouse events, globalPos() may differ a lot from the current pointer position TQCursor::pos(), and from TQWidget::mapToGlobal( pos() ).
.PP
See also globalX() and globalY().
.PP