summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqbitmap.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqbitmap.3qt')
-rw-r--r--doc/man/man3/tqbitmap.3qt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqbitmap.3qt b/doc/man/man3/tqbitmap.3qt
index b7b18bbd..ea088d08 100644
--- a/doc/man/man3/tqbitmap.3qt
+++ b/doc/man/man3/tqbitmap.3qt
@@ -34,7 +34,7 @@ Inherits QPixmap.
.BI "\fBQBitmap\fR ( const QBitmap & bitmap )"
.br
.ti -1c
-.BI "\fBQBitmap\fR ( const QString & fileName, const char * format = 0 )"
+.BI "\fBQBitmap\fR ( const TQString & fileName, const char * format = 0 )"
.br
.ti -1c
.BI "QBitmap & \fBoperator=\fR ( const QBitmap & bitmap )"
@@ -43,7 +43,7 @@ Inherits QPixmap.
.BI "QBitmap & \fBoperator=\fR ( const QPixmap & pixmap )"
.br
.ti -1c
-.BI "QBitmap & \fBoperator=\fR ( const QImage & image )"
+.BI "QBitmap & \fBoperator=\fR ( const TQImage & image )"
.br
.ti -1c
.BI "QBitmap \fBxForm\fR ( const QWMatrix & matrix ) const"
@@ -56,7 +56,7 @@ The QBitmap class is a monochrome off-screen paint device used mainly for creati
.PP
A QBitmap is a QPixmap with a depth of 1. If a pixmap with a depth greater than 1 is assigned to a bitmap, the bitmap will be dithered automatically. A QBitmap is guaranteed to always have the depth 1, unless it is QPixmap::isNull() which has depth 0.
.PP
-When drawing in a QBitmap (or QPixmap with depth 1), we recommend using the QColor objects \fCQt::color0\fR and \fCQt::color1\fR. Painting with \fCcolor0\fR sets the bitmap bits to 0, and painting with \fCcolor1\fR sets the bits to 1. For a bitmap, 0-bits indicate background (or transparent) and 1-bits indicate foreground (or opaque). Using the \fCblack\fR and \fCwhite\fR QColor objects make no sense because the QColor::pixel() value is not necessarily 0 for black and 1 for white.
+When drawing in a QBitmap (or QPixmap with depth 1), we recommend using the TQColor objects \fCQt::color0\fR and \fCQt::color1\fR. Painting with \fCcolor0\fR sets the bitmap bits to 0, and painting with \fCcolor1\fR sets the bits to 1. For a bitmap, 0-bits indicate background (or transparent) and 1-bits indicate foreground (or opaque). Using the \fCblack\fR and \fCwhite\fR TQColor objects make no sense because the TQColor::pixel() value is not necessarily 0 for black and 1 for white.
.PP
The QBitmap can be transformed (translated, scaled, sheared or rotated) using xForm().
.PP
@@ -71,7 +71,7 @@ See also QPixmap::isNull().
.SH "QBitmap::QBitmap ( int w, int h, bool clear = FALSE, QPixmap::Optimization optimization = QPixmap::DefaultOptim )"
Constructs a bitmap with width \fIw\fR and height \fIh\fR.
.PP
-The contents of the bitmap is uninitialized if \fIclear\fR is FALSE; otherwise it is filled with pixel value 0 (the QColor \fCQt::color0\fR).
+The contents of the bitmap is uninitialized if \fIclear\fR is FALSE; otherwise it is filled with pixel value 0 (the TQColor \fCQt::color0\fR).
.PP
The optional \fIoptimization\fR argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may benefit from setting this argument; see QPixmap::Optimization.
.PP
@@ -81,13 +81,13 @@ This is an overloaded member function, provided for convenience. It behaves esse
.PP
Constructs a bitmap with the size \fIsize\fR.
.PP
-The contents of the bitmap is uninitialized if \fIclear\fR is FALSE; otherwise it is filled with pixel value 0 (the QColor \fCQt::color0\fR).
+The contents of the bitmap is uninitialized if \fIclear\fR is FALSE; otherwise it is filled with pixel value 0 (the TQColor \fCQt::color0\fR).
.PP
The optional \fIoptimization\fR argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may benefit from setting this argument; see QPixmap::Optimization.
.SH "QBitmap::QBitmap ( int w, int h, const uchar * bits, bool isXbitmap = FALSE )"
Constructs a bitmap with width \fIw\fR and height \fIh\fR and sets the contents to \fIbits\fR.
.PP
-The \fIisXbitmap\fR flag should be TRUE if \fIbits\fR was generated by the X11 bitmap program. The X bitmap bit order is little endian. The QImage documentation discusses bit order of monochrome images.
+The \fIisXbitmap\fR flag should be TRUE if \fIbits\fR was generated by the X11 bitmap program. The X bitmap bit order is little endian. The TQImage documentation discusses bit order of monochrome images.
.PP
Example (creates an arrow bitmap):
.PP
@@ -103,10 +103,10 @@ This is an overloaded member function, provided for convenience. It behaves esse
.PP
Constructs a bitmap with the size \fIsize\fR and sets the contents to \fIbits\fR.
.PP
-The \fIisXbitmap\fR flag should be TRUE if \fIbits\fR was generated by the X11 bitmap program. The X bitmap bit order is little endian. The QImage documentation discusses bit order of monochrome images.
+The \fIisXbitmap\fR flag should be TRUE if \fIbits\fR was generated by the X11 bitmap program. The X bitmap bit order is little endian. The TQImage documentation discusses bit order of monochrome images.
.SH "QBitmap::QBitmap ( const QBitmap & bitmap )"
Constructs a bitmap that is a copy of \fIbitmap\fR.
-.SH "QBitmap::QBitmap ( const QString & fileName, const char * format = 0 )"
+.SH "QBitmap::QBitmap ( const TQString & fileName, const char * format = 0 )"
Constructs a bitmap from the file \fIfileName\fR. If the file does not exist or is of an unknown format, the bitmap becomes a null bitmap.
.PP
The parameters \fIfileName\fR and \fIformat\fR are passed on to QPixmap::load(). Dithering will be performed if the file format uses more than 1 bit per pixel.
@@ -120,12 +120,12 @@ This is an overloaded member function, provided for convenience. It behaves esse
Assigns the pixmap \fIpixmap\fR to this bitmap and returns a reference to this bitmap.
.PP
Dithering will be performed if the pixmap has a QPixmap::depth() greater than 1.
-.SH "QBitmap & QBitmap::operator= ( const QImage & image )"
+.SH "QBitmap & QBitmap::operator= ( const TQImage & image )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Converts the image \fIimage\fR to a bitmap and assigns the result to this bitmap. Returns a reference to the bitmap.
.PP
-Dithering will be performed if the image has a QImage::depth() greater than 1.
+Dithering will be performed if the image has a TQImage::depth() greater than 1.
.SH "QBitmap QBitmap::xForm ( const QWMatrix & matrix ) const"
Returns a transformed copy of this bitmap by using \fImatrix\fR.
.PP