diff options
Diffstat (limited to 'doc/man/man3/tqimage.3qt')
-rw-r--r-- | doc/man/man3/tqimage.3qt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/man/man3/tqimage.3qt b/doc/man/man3/tqimage.3qt index 2057a1b87..0923308da 100644 --- a/doc/man/man3/tqimage.3qt +++ b/doc/man/man3/tqimage.3qt @@ -32,7 +32,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the .BI "\fBTQImage\fR ( const char * const xpm[] )" .br .ti -1c -.BI "\fBTQImage\fR ( const QByteArray & array )" +.BI "\fBTQImage\fR ( const TQByteArray & array )" .br .ti -1c .BI "\fBTQImage\fR ( uchar * yourdata, int w, int h, int depth, TQRgb * colortable, int numColors, Endian bitOrder )" @@ -206,7 +206,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the .BI "bool \fBloadFromData\fR ( const uchar * buf, uint len, const char * format = 0 )" .br .ti -1c -.BI "bool \fBloadFromData\fR ( QByteArray buf, const char * format = 0 )" +.BI "bool \fBloadFromData\fR ( TQByteArray buf, const char * format = 0 )" .br .ti -1c .BI "bool \fBsave\fR ( const TQString & fileName, const char * format, int quality = -1 ) const" @@ -373,7 +373,7 @@ Images can be loaded and saved in the supported formats. Images are saved to a f .PP Strings of text may be added to images using setText(). .PP -The TQImage class uses explicit sharing, similar to that used by QMemArray. +The TQImage class uses explicit sharing, similar to that used by TQMemArray. .PP New image formats can be added as plugins. .PP @@ -448,7 +448,7 @@ Note that it's possible to squeeze the XPM variable a little bit by using an unu .fi .PP The extra \fCconst\fR makes the entire definition read-only, which is slightly more efficient (e.g. when the code is in a shared library) and ROMable when the application is to be stored in ROM. -.SH "TQImage::TQImage ( const QByteArray & array )" +.SH "TQImage::TQImage ( const TQByteArray & array )" Constructs an image from the binary data \fIarray\fR. It tries to guess the file format. .PP If the loading of the image failed, this object is a null image. @@ -709,10 +709,10 @@ If \fIformat\fR is specified, the loader attempts to read the image using the sp The TQImageIO documentation lists the supported image formats and explains how to add extra formats. .PP See also load(), save(), imageFormat(), QPixmap::loadFromData(), and TQImageIO. -.SH "bool TQImage::loadFromData ( QByteArray buf, const char * format = 0 )" +.SH "bool TQImage::loadFromData ( TQByteArray buf, const char * format = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Loads an image from the QByteArray \fIbuf\fR. +Loads an image from the TQByteArray \fIbuf\fR. .SH "TQImage TQImage::mirror () const" Returns a TQImage which is a vertically mirrored copy of this image. The original TQImage is not changed. .SH "TQImage TQImage::mirror ( bool horizontal, bool vertical ) const" @@ -813,13 +813,13 @@ See also load(), loadFromData(), imageFormat(), QPixmap::save(), and TQImageIO. .SH "bool TQImage::save ( TQIODevice * device, const char * format, int quality = -1 ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function writes a TQImage to the TQIODevice, \fIdevice\fR. This can be used, for example, to save an image directly into a QByteArray: +This function writes a TQImage to the TQIODevice, \fIdevice\fR. This can be used, for example, to save an image directly into a TQByteArray: .PP .nf .br TQImage image; .br - QByteArray ba; + TQByteArray ba; .br QBuffer buffer( ba ); .br |