summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqtabletevent.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqtabletevent.3qt')
-rw-r--r--doc/man/man3/tqtabletevent.3qt16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/man/man3/tqtabletevent.3qt b/doc/man/man3/tqtabletevent.3qt
index 8d866f9b..52d6cb94 100644
--- a/doc/man/man3/tqtabletevent.3qt
+++ b/doc/man/man3/tqtabletevent.3qt
@@ -19,10 +19,10 @@ Inherits QEvent.
.BI "enum \fBTabletDevice\fR { NoDevice = -1, Puck, Stylus, Eraser }"
.br
.ti -1c
-.BI "\fBQTabletEvent\fR ( Type t, const QPoint & pos, const QPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )"
+.BI "\fBQTabletEvent\fR ( Type t, const TQPoint & pos, const TQPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )"
.br
.ti -1c
-.BI "QTabletEvent ( const QPoint & pos, const QPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId ) \fI(obsolete)\fR"
+.BI "QTabletEvent ( const TQPoint & pos, const TQPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId ) \fI(obsolete)\fR"
.br
.ti -1c
.BI "int \fBpressure\fR () const"
@@ -34,10 +34,10 @@ Inherits QEvent.
.BI "int \fByTilt\fR () const"
.br
.ti -1c
-.BI "const QPoint & \fBpos\fR () const"
+.BI "const TQPoint & \fBpos\fR () const"
.br
.ti -1c
-.BI "const QPoint & \fBglobalPos\fR () const"
+.BI "const TQPoint & \fBglobalPos\fR () const"
.br
.ti -1c
.BI "int \fBx\fR () const"
@@ -91,13 +91,13 @@ This enum defines what type of device is generating the event.
.TP
\fCQTabletEvent::Eraser\fR - An Eraser (the broad end of the pen).
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QTabletEvent::QTabletEvent ( Type t, const QPoint & pos, const QPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )"
+.SH "QTabletEvent::QTabletEvent ( Type t, const TQPoint & pos, const TQPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )"
Construct a tablet event of type \fIt\fR. The position of when the event occurred is given int \fIpos\fR and \fIglobalPos\fR. \fIdevice\fR contains the device type, \fIpressure\fR contains the pressure exerted on the \fIdevice\fR, \fIxTilt\fR and \fIyTilt\fR contain \fIdevice\fR's degree of tilt from the X and Y axis respectively. The \fIuId\fR contains an event id.
.PP
On Irix, \fIglobalPos\fR will contain the high-resolution coordinates received from the tablet device driver, instead of from the windowing system.
.PP
See also pos(), globalPos(), device(), pressure(), xTilt(), and yTilt().
-.SH "QTabletEvent::QTabletEvent ( const QPoint & pos, const QPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )"
+.SH "QTabletEvent::QTabletEvent ( const TQPoint & pos, const TQPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Constructs a tablet event object. The position when the event occurred is is given in \fIpos\fR and \fIglobalPos\fR. \fIdevice\fR contains the device type, \fIpressure\fR contains the pressure exerted on the \fIdevice\fR, \fIxTilt\fR and \fIyTilt\fR contain the \fIdevice\fR's degrees of tilt from the X and Y axis respectively. The \fIuId\fR contains an event id.
@@ -117,7 +117,7 @@ See also ignore().
Returns the type of device that generated the event. Useful if you want one end of the pen to do something different than the other.
.PP
See also TabletDevice.
-.SH "const QPoint & QTabletEvent::globalPos () const"
+.SH "const TQPoint & QTabletEvent::globalPos () const"
Returns the global position of the device \fIat the time of the event\fR. This is important on asynchronous windows systems like X11; whenever you move your widgets around in response to mouse events, globalPos() can differ significantly from the current position QCursor::pos().
.PP
See also globalX() and globalY().
@@ -139,7 +139,7 @@ The accept flag is set by default.
See also accept().
.SH "int QTabletEvent::isAccepted () const"
Returns TRUE if the receiver of the event handles the tablet event; otherwise returns FALSE.
-.SH "const QPoint & QTabletEvent::pos () const"
+.SH "const TQPoint & QTabletEvent::pos () const"
Returns the position of the device, relative to the widget that received the event.
.PP
If you move widgets around in response to mouse events, use globalPos() instead of this function.