diff options
Diffstat (limited to 'doc/man/man3/tqcursor.3qt')
-rw-r--r-- | doc/man/man3/tqcursor.3qt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqcursor.3qt b/doc/man/man3/tqcursor.3qt index 3b86bbbf9..11b9106eb 100644 --- a/doc/man/man3/tqcursor.3qt +++ b/doc/man/man3/tqcursor.3qt @@ -25,7 +25,7 @@ Inherits Qt. .BI "\fBQCursor\fR ( const TQBitmap & bitmap, const TQBitmap & mask, int hotX = -1, int hotY = -1 )" .br .ti -1c -.BI "\fBQCursor\fR ( const QPixmap & pixmap, int hotX = -1, int hotY = -1 )" +.BI "\fBQCursor\fR ( const TQPixmap & pixmap, int hotX = -1, int hotY = -1 )" .br .ti -1c .BI "\fBQCursor\fR ( const QCursor & c )" @@ -49,7 +49,7 @@ Inherits Qt. .BI "const TQBitmap * \fBmask\fR () const" .br .ti -1c -.BI "QPoint \fBhotSpot\fR () const" +.BI "TQPoint \fBhotSpot\fR () const" .br .ti -1c .BI "HCURSOR \fBhandle\fR () const" @@ -64,13 +64,13 @@ Inherits Qt. .SS "Static Public Members" .in +1c .ti -1c -.BI "QPoint \fBpos\fR ()" +.BI "TQPoint \fBpos\fR ()" .br .ti -1c .BI "void \fBsetPos\fR ( int x, int y )" .br .ti -1c -.BI "void \fBsetPos\fR ( const QPoint & )" +.BI "void \fBsetPos\fR ( const TQPoint & )" .br .ti -1c .BI "void \fBinitialize\fR ()" @@ -150,10 +150,10 @@ Use the global TQt color \fCcolor0\fR to draw 0-pixels and \fCcolor1\fR to draw Valid cursor sizes depend on the display hardware (or the underlying window system). We recommend using 32x32 cursors, because this size is supported on all platforms. Some platforms also support 16x16, 48x48 and 64x64 cursors. .PP See also TQBitmap::TQBitmap() and TQBitmap::setMask(). -.SH "QCursor::QCursor ( const QPixmap & pixmap, int hotX = -1, int hotY = -1 )" +.SH "QCursor::QCursor ( const TQPixmap & pixmap, int hotX = -1, int hotY = -1 )" Constructs a custom pixmap cursor. .PP -\fIpixmap\fR is the image. It is usual to give it a mask (set using QPixmap::setMask()). \fIhotX\fR and \fIhotY\fR define the cursor's hot spot. +\fIpixmap\fR is the image. It is usual to give it a mask (set using TQPixmap::setMask()). \fIhotX\fR and \fIhotY\fR define the cursor's hot spot. .PP If \fIhotX\fR is negative, it is set to the \fCpixmap().width()/2\fR. If \fIhotY\fR is negative, it is set to the \fCpixmap().height()/2\fR. .PP @@ -161,7 +161,7 @@ Valid cursor sizes depend on the display hardware (or the underlying window syst .PP Currently, only black-and-white pixmaps can be used. .PP -See also QPixmap::QPixmap() and QPixmap::setMask(). +See also TQPixmap::TQPixmap() and TQPixmap::setMask(). .SH "QCursor::QCursor ( const QCursor & c )" Constructs a copy of the cursor \fIc\fR. .SH "QCursor::QCursor ( HCURSOR handle )" @@ -180,7 +180,7 @@ See also initialize(). Returns the window system cursor handle. .PP \fBWarning:\fR Portable in principle, but if you use it you are probably about to do something non-portable. Be careful. -.SH "QPoint QCursor::hotSpot () const" +.SH "TQPoint QCursor::hotSpot () const" Returns the cursor hot spot, or (0, 0) if it is one of the standard cursors. .SH "void QCursor::initialize ()\fC [static]\fR" Internal function that initializes the predefined cursors. This function is called from the QApplication constructor. @@ -190,7 +190,7 @@ See also cleanup(). Returns the cursor bitmap mask, or 0 if it is one of the standard cursors. .SH "QCursor & QCursor::operator= ( const QCursor & c )" Assigns \fIc\fR to this cursor and returns a reference to this cursor. -.SH "QPoint QCursor::pos ()\fC [static]\fR" +.SH "TQPoint QCursor::pos ()\fC [static]\fR" Returns the position of the cursor (hot spot) in global screen coordinates. .PP You can call TQWidget::mapFromGlobal() to translate it to widget coordinates. @@ -205,7 +205,7 @@ Moves the cursor (hot spot) to the global screen position (\fIx\fR, \fIy\fR). You can call TQWidget::mapToGlobal() to translate widget coordinates to global screen coordinates. .PP See also pos(), TQWidget::mapFromGlobal(), and TQWidget::mapToGlobal(). -.SH "void QCursor::setPos ( const QPoint & )\fC [static]\fR" +.SH "void QCursor::setPos ( const TQPoint & )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .SH "void QCursor::setShape ( int shape )" Sets the cursor to the shape identified by \fIshape\fR. |