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 513168617..a52ae9dc8 100644 --- a/doc/man/man3/tqmouseevent.3qt +++ b/doc/man/man3/tqmouseevent.3qt @@ -63,7 +63,7 @@ The QMouseEvent class contains parameters that describe a mouse event. .PP Mouse events occur when a mouse button is pressed or released inside a widget or when the mouse cursor is moved. .PP -Mouse move events will occur only when a mouse button is pressed down, unless mouse tracking has been enabled with QWidget::setMouseTracking(). +Mouse move events will occur only when a mouse button is pressed down, unless mouse tracking has been enabled with TQWidget::setMouseTracking(). .PP Qt 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. .PP @@ -71,11 +71,11 @@ A mouse event contains a special accept flag that indicates whether the receiver .PP The functions pos(), x() and y() give the cursor position relative 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 globalPos() to avoid a shaking motion. .PP -The QWidget::setEnabled() function can be used to enable or disable mouse and keyboard events for a widget. +The TQWidget::setEnabled() function can be used to enable or disable mouse and keyboard events for a widget. .PP -The event handlers QWidget::mousePressEvent(), QWidget::mouseReleaseEvent(), QWidget::mouseDoubleClickEvent() and QWidget::mouseMoveEvent() receive mouse events. +The event handlers TQWidget::mousePressEvent(), TQWidget::mouseReleaseEvent(), TQWidget::mouseDoubleClickEvent() and TQWidget::mouseMoveEvent() receive mouse events. .PP -See also QWidget::mouseTracking, QWidget::grabMouse(), QCursor::pos(), and Event Classes. +See also TQWidget::mouseTracking, TQWidget::grabMouse(), QCursor::pos(), and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QMouseEvent::QMouseEvent ( Type type, const QPoint & pos, int button, int state )" Constructs a mouse event object. @@ -111,7 +111,7 @@ See also state() and Qt::ButtonState. Examples: .)l dclock/dclock.cpp, life/life.cpp, and t14/cannon.cpp. .SH "const QPoint & 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 QWidget::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 QCursor::pos(), and from TQWidget::mapToGlobal( pos() ). .PP See also globalX() and globalY(). .PP |