summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcanvaspixmap.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqcanvaspixmap.3qt')
-rw-r--r--doc/man/man3/tqcanvaspixmap.3qt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqcanvaspixmap.3qt b/doc/man/man3/tqcanvaspixmap.3qt
index e3272218..dd947a33 100644
--- a/doc/man/man3/tqcanvaspixmap.3qt
+++ b/doc/man/man3/tqcanvaspixmap.3qt
@@ -11,7 +11,7 @@ TQCanvasPixmap \- Pixmaps for TQCanvasSprites
.SH SYNOPSIS
\fC#include <tqcanvas.h>\fR
.PP
-Inherits QPixmap.
+Inherits TQPixmap.
.PP
.SS "Public Members"
.in +1c
@@ -22,7 +22,7 @@ Inherits QPixmap.
.BI "\fBTQCanvasPixmap\fR ( const TQImage & image )"
.br
.ti -1c
-.BI "\fBTQCanvasPixmap\fR ( const QPixmap & pm, const QPoint & offset )"
+.BI "\fBTQCanvasPixmap\fR ( const TQPixmap & pm, const TQPoint & offset )"
.br
.ti -1c
.BI "\fB~TQCanvasPixmap\fR ()"
@@ -44,7 +44,7 @@ If you want to show a single pixmap on a TQCanvas use a TQCanvasSprite with just
.PP
When pixmaps are inserted into a TQCanvasPixmapArray they are held as TQCanvasPixmaps. TQCanvasSprites are used to show pixmaps on TQCanvases and hold their pixmaps in a TQCanvasPixmapArray. If you retrieve a frame (pixmap) from a TQCanvasSprite it will be returned as a TQCanvasPixmap.
.PP
-The pixmap is a QPixmap and can only be set in the constructor. There are three different constructors, one taking a QPixmap, one a TQImage and one a file name that refers to a file in any supported file format (see TQImageIO).
+The pixmap is a TQPixmap and can only be set in the constructor. There are three different constructors, one taking a TQPixmap, one a TQImage and one a file name that refers to a file in any supported file format (see TQImageIO).
.PP
TQCanvasPixmap can have a hotspot which is defined in terms of an (x, y) offset. When you create a TQCanvasPixmap from a PNG file or from a TQImage that has a TQImage::offset(), the offset() is initialized appropriately, otherwise the constructor leaves it at (0, 0). You can set it later using setOffset(). When the TQCanvasPixmap is used in a TQCanvasSprite, the offset position is the point at TQCanvasItem::x() and TQCanvasItem::y(), not the top-left corner of the pixmap.
.PP
@@ -56,7 +56,7 @@ See also TQCanvasPixmapArray, TQCanvasItem, TQCanvasSprite, Graphics Classes, an
Constructs a TQCanvasPixmap that uses the image stored in \fIdatafilename\fR.
.SH "TQCanvasPixmap::TQCanvasPixmap ( const TQImage & image )"
Constructs a TQCanvasPixmap from the image \fIimage\fR.
-.SH "TQCanvasPixmap::TQCanvasPixmap ( const QPixmap & pm, const QPoint & offset )"
+.SH "TQCanvasPixmap::TQCanvasPixmap ( const TQPixmap & pm, const TQPoint & offset )"
Constructs a TQCanvasPixmap from the pixmap \fIpm\fR using the offset \fIoffset\fR.
.SH "TQCanvasPixmap::~TQCanvasPixmap ()"
Destroys the pixmap.