summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqimage.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqimage.3qt')
-rw-r--r--doc/man/man3/tqimage.3qt76
1 files changed, 38 insertions, 38 deletions
diff --git a/doc/man/man3/tqimage.3qt b/doc/man/man3/tqimage.3qt
index 7fafb746..4e245f6d 100644
--- a/doc/man/man3/tqimage.3qt
+++ b/doc/man/man3/tqimage.3qt
@@ -9,7 +9,7 @@
.SH NAME
TQImage \- Hardware-independent pixmap representation with direct access to the pixel data
.SH SYNOPSIS
-\fC#include <ntqimage.h>\fR
+\fC#include <tqimage.h>\fR
.PP
.SS "Public Members"
.in +1c
@@ -17,31 +17,31 @@ TQImage \- Hardware-independent pixmap representation with direct access to the
.BI "enum \fBEndian\fR { IgnoreEndian, BigEndian, LittleEndian }"
.br
.ti -1c
-.BI "\fBQImage\fR ()"
+.BI "\fBTQImage\fR ()"
.br
.ti -1c
-.BI "\fBQImage\fR ( int w, int h, int depth, int numColors = 0, Endian bitOrder = IgnoreEndian )"
+.BI "\fBTQImage\fR ( int w, int h, int depth, int numColors = 0, Endian bitOrder = IgnoreEndian )"
.br
.ti -1c
-.BI "\fBQImage\fR ( const QSize & size, int depth, int numColors = 0, Endian bitOrder = IgnoreEndian )"
+.BI "\fBTQImage\fR ( const QSize & size, int depth, int numColors = 0, Endian bitOrder = IgnoreEndian )"
.br
.ti -1c
-.BI "\fBQImage\fR ( const TQString & fileName, const char * format = 0 )"
+.BI "\fBTQImage\fR ( const TQString & fileName, const char * format = 0 )"
.br
.ti -1c
-.BI "\fBQImage\fR ( const char * const xpm[] )"
+.BI "\fBTQImage\fR ( const char * const xpm[] )"
.br
.ti -1c
-.BI "\fBQImage\fR ( const QByteArray & array )"
+.BI "\fBTQImage\fR ( const QByteArray & array )"
.br
.ti -1c
-.BI "\fBQImage\fR ( uchar * yourdata, int w, int h, int depth, TQRgb * colortable, int numColors, Endian bitOrder )"
+.BI "\fBTQImage\fR ( uchar * yourdata, int w, int h, int depth, TQRgb * colortable, int numColors, Endian bitOrder )"
.br
.ti -1c
-.BI "\fBQImage\fR ( uchar * yourdata, int w, int h, int depth, int bpl, TQRgb * colortable, int numColors, Endian bitOrder )"
+.BI "\fBTQImage\fR ( uchar * yourdata, int w, int h, int depth, int bpl, TQRgb * colortable, int numColors, Endian bitOrder )"
.br
.ti -1c
-.BI "\fBQImage\fR ( const TQImage & image )"
+.BI "\fBTQImage\fR ( const TQImage & image )"
.br
.ti -1c
.BI "\fB~TQImage\fR ()"
@@ -245,7 +245,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the
.BI "void \fBsetOffset\fR ( const QPoint & p )"
.br
.ti -1c
-.BI "TQValueList<QImageTextKeyLang> \fBtextList\fR () const"
+.BI "TQValueList<TQImageTextKeyLang> \fBtextList\fR () const"
.br
.ti -1c
.BI "QStringList \fBtextLanguages\fR () const"
@@ -257,7 +257,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the
.BI "TQString \fBtext\fR ( const char * key, const char * lang = 0 ) const"
.br
.ti -1c
-.BI "TQString \fBtext\fR ( const QImageTextKeyLang & kl ) const"
+.BI "TQString \fBtext\fR ( const TQImageTextKeyLang & kl ) const"
.br
.ti -1c
.BI "void \fBsetText\fR ( const char * key, const char * lang, const TQString & s )"
@@ -379,16 +379,16 @@ The TQImage class uses explicit sharing, similar to that used by QMemArray.
.PP
New image formats can be added as plugins.
.PP
-See also QImageIO, QPixmap, Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
+See also TQImageIO, QPixmap, Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
.SS "Member Type Documentation"
.SH "TQImage::Endian"
This enum type is used to describe the endianness of the CPU and graphics hardware.
.TP
-\fCQImage::IgnoreEndian\fR - Endianness does not matter. Useful for some operations that are independent of endianness.
+\fCTQImage::IgnoreEndian\fR - Endianness does not matter. Useful for some operations that are independent of endianness.
.TP
-\fCQImage::BigEndian\fR - Network byte order, as on SPARC and Motorola CPUs.
+\fCTQImage::BigEndian\fR - Network byte order, as on SPARC and Motorola CPUs.
.TP
-\fCQImage::LittleEndian\fR - PC/Alpha byte order.
+\fCTQImage::LittleEndian\fR - PC/Alpha byte order.
.SH "TQImage::ScaleMode"
The functions scale() and smoothScale() use different modes for scaling the image. The purpose of these modes is to retain the ratio of the image if this is required.
.PP
@@ -398,11 +398,11 @@ The functions scale() and smoothScale() use different modes for scaling the imag
.PP
</center>
.TP
-\fCQImage::ScaleFree\fR - The image is scaled freely: the resulting image fits exactly into the specified size; the ratio will not necessarily be preserved.
+\fCTQImage::ScaleFree\fR - The image is scaled freely: the resulting image fits exactly into the specified size; the ratio will not necessarily be preserved.
.TP
-\fCQImage::ScaleMin\fR - The ratio of the image is preserved and the resulting image is guaranteed to fit into the specified size (it is as large as possible within these constraints) - the image might be smaller than the requested size.
+\fCTQImage::ScaleMin\fR - The ratio of the image is preserved and the resulting image is guaranteed to fit into the specified size (it is as large as possible within these constraints) - the image might be smaller than the requested size.
.TP
-\fCQImage::ScaleMax\fR - The ratio of the image is preserved and the resulting image fills the whole specified rectangle (it is as small as possible within these constraints) - the image might be larger than the requested size.
+\fCTQImage::ScaleMax\fR - The ratio of the image is preserved and the resulting image fills the whole specified rectangle (it is as small as possible within these constraints) - the image might be larger than the requested size.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "TQImage::TQImage ()"
Constructs a null image.
@@ -427,9 +427,9 @@ If \fIformat\fR is specified, the loader attempts to read the image using the sp
.PP
If the loading of the image failed, this object is a null image.
.PP
-The QImageIO documentation lists the supported image formats and explains how to add extra formats.
+The TQImageIO documentation lists the supported image formats and explains how to add extra formats.
.PP
-See also load(), isNull(), and QImageIO.
+See also load(), isNull(), and TQImageIO.
.SH "TQImage::TQImage ( const char * const xpm[] )"
Constructs an image from \fIxpm\fR, which must be a valid XPM image.
.PP
@@ -629,7 +629,7 @@ See also invertPixels(), depth(), hasAlphaBuffer(), and create().
.SH "TQImage TQImage::fromMimeSource ( const TQString & abs_name )\fC [static]\fR"
Convenience function. Gets the data associated with the absolute name \fIabs_name\fR from the default mime source factory and decodes it to an image.
.PP
-See also QMimeSourceFactory, TQImage::fromMimeSource(), and QImageDrag::decode().
+See also QMimeSourceFactory, TQImage::fromMimeSource(), and TQImageDrag::decode().
.SH "bool TQImage::hasAlphaBuffer () const"
Returns TRUE if alpha buffer mode is enabled; otherwise returns FALSE.
.PP
@@ -644,7 +644,7 @@ Examples:
.SH "const char * TQImage::imageFormat ( const TQString & fileName )\fC [static]\fR"
Returns a string that specifies the image format of the file \fIfileName\fR, or 0 if the file cannot be read or if the format is not recognized.
.PP
-The QImageIO documentation lists the guaranteed supported image formats, or use TQImage::inputFormats() and TQImage::outputFormats() to get lists that include the installed formats.
+The TQImageIO documentation lists the guaranteed supported image formats, or use TQImage::inputFormats() and TQImage::outputFormats() to get lists that include the installed formats.
.PP
See also load() and save().
.SH "QStringList TQImage::inputFormatList ()\fC [static]\fR"
@@ -668,13 +668,13 @@ Note that if you want to iterate over the list, you should iterate over a copy,
.br
.fi
.PP
-See also outputFormatList(), inputFormats(), and QImageIO.
+See also outputFormatList(), inputFormats(), and TQImageIO.
.PP
Example: showimg/showimg.cpp.
.SH "QStrList TQImage::inputFormats ()\fC [static]\fR"
Returns a list of image formats that are supported for image input.
.PP
-See also outputFormats(), inputFormatList(), and QImageIO.
+See also outputFormats(), inputFormatList(), and TQImageIO.
.SH "void TQImage::invertPixels ( bool invertAlpha = TRUE )"
Inverts all pixel values in the image.
.PP
@@ -708,17 +708,17 @@ Loads an image from the file \fIfileName\fR. Returns TRUE if the image was succe
.PP
If \fIformat\fR is specified, the loader attempts to read the image using the specified format. If \fIformat\fR is not specified (which is the default), the loader reads a few bytes from the header to guess the file format.
.PP
-The QImageIO documentation lists the supported image formats and explains how to add extra formats.
+The TQImageIO documentation lists the supported image formats and explains how to add extra formats.
.PP
-See also loadFromData(), save(), imageFormat(), QPixmap::load(), and QImageIO.
+See also loadFromData(), save(), imageFormat(), QPixmap::load(), and TQImageIO.
.SH "bool TQImage::loadFromData ( const uchar * buf, uint len, const char * format = 0 )"
Loads an image from the first \fIlen\fR bytes of binary data in \fIbuf\fR. Returns TRUE if the image was successfully loaded; otherwise returns FALSE.
.PP
If \fIformat\fR is specified, the loader attempts to read the image using the specified format. If \fIformat\fR is not specified (which is the default), the loader reads a few bytes from the header to guess the file format.
.PP
-The QImageIO documentation lists the supported image formats and explains how to add extra formats.
+The TQImageIO documentation lists the supported image formats and explains how to add extra formats.
.PP
-See also load(), save(), imageFormat(), QPixmap::loadFromData(), and QImageIO.
+See also load(), save(), imageFormat(), QPixmap::loadFromData(), and TQImageIO.
.SH "bool TQImage::loadFromData ( QByteArray buf, const char * format = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -786,11 +786,11 @@ Note that if you want to iterate over the list, you should iterate over a copy,
.br
.fi
.PP
-See also inputFormatList(), outputFormats(), and QImageIO.
+See also inputFormatList(), outputFormats(), and TQImageIO.
.SH "QStrList TQImage::outputFormats ()\fC [static]\fR"
Returns a list of image formats that are supported for image output.
.PP
-See also inputFormats(), outputFormatList(), and QImageIO.
+See also inputFormats(), outputFormatList(), and TQImageIO.
.PP
Example: showimg/showimg.cpp.
.SH "TQRgb TQImage::pixel ( int x, int y ) const"
@@ -819,7 +819,7 @@ Saves the image to the file \fIfileName\fR, using the image file format \fIforma
.PP
Returns TRUE if the image was successfully saved; otherwise returns FALSE.
.PP
-See also load(), loadFromData(), imageFormat(), QPixmap::save(), and QImageIO.
+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
@@ -959,7 +959,7 @@ Determines the host computer byte order. Returns TQImage::LittleEndian (LSB firs
See also systemBitOrder().
.SH "TQString TQImage::text ( const char * key, const char * lang = 0 ) const"
Returns the string recorded for the keyword \fIkey\fR in language \fIlang\fR, or in a default language if \fIlang\fR is 0.
-.SH "TQString TQImage::text ( const QImageTextKeyLang & kl ) const"
+.SH "TQString TQImage::text ( const TQImageTextKeyLang & kl ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the string recorded for the keyword and language \fIkl\fR.
@@ -1007,16 +1007,16 @@ Note that if you want to iterate over the list, you should iterate over a copy,
.fi
.PP
See also textList(), text(), setText(), and textKeys().
-.SH "TQValueList<QImageTextKeyLang> TQImage::textList () const"
-Returns a list of QImageTextKeyLang objects that enumerate all the texts key/language pairs set by setText() for this image.
+.SH "TQValueList<TQImageTextKeyLang> TQImage::textList () const"
+Returns a list of TQImageTextKeyLang objects that enumerate all the texts key/language pairs set by setText() for this image.
.PP
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
.PP
.nf
.br
- TQValueList<QImageTextKeyLang> list = myImage.textList();
+ TQValueList<TQImageTextKeyLang> list = myImage.textList();
.br
- TQValueList<QImageTextKeyLang>::Iterator it = list.begin();
+ TQValueList<TQImageTextKeyLang>::Iterator it = list.begin();
.br
while( it != list.end() ) {
.br
@@ -1070,7 +1070,7 @@ Reads an image from the stream \fIs\fR and stores it in \fIimage\fR.
See also TQImage::load() and Format of the QDataStream operators.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqimage.html
+.BR http://doc.trolltech.com/tqimage.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the