summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqpicture.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqpicture.3qt')
-rw-r--r--doc/man/man3/tqpicture.3qt80
1 files changed, 40 insertions, 40 deletions
diff --git a/doc/man/man3/tqpicture.3qt b/doc/man/man3/tqpicture.3qt
index 0437b3b9..841e01b5 100644
--- a/doc/man/man3/tqpicture.3qt
+++ b/doc/man/man3/tqpicture.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QPicture 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQPicture 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,22 +7,22 @@
.ad l
.nh
.SH NAME
-QPicture \- Paint device that records and replays TQPainter commands
+TQPicture \- Paint device that records and replays TQPainter commands
.SH SYNOPSIS
-\fC#include <ntqpicture.h>\fR
+\fC#include <tqpicture.h>\fR
.PP
Inherits TQPaintDevice.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQPicture\fR ( int formatVersion = -1 )"
+.BI "\fBTQPicture\fR ( int formatVersion = -1 )"
.br
.ti -1c
-.BI "\fBQPicture\fR ( const QPicture & pic )"
+.BI "\fBTQPicture\fR ( const TQPicture & pic )"
.br
.ti -1c
-.BI "\fB~QPicture\fR ()"
+.BI "\fB~TQPicture\fR ()"
.br
.ti -1c
.BI "bool \fBisNull\fR () const"
@@ -52,13 +52,13 @@ Inherits TQPaintDevice.
.BI "bool \fBsave\fR ( const TQString & fileName, const char * format = 0 )"
.br
.ti -1c
-.BI "QRect \fBboundingRect\fR () const"
+.BI "TQRect \fBboundingRect\fR () const"
.br
.ti -1c
-.BI "void \fBsetBoundingRect\fR ( const QRect & r )"
+.BI "void \fBsetBoundingRect\fR ( const TQRect & r )"
.br
.ti -1c
-.BI "QPicture & \fBoperator=\fR ( const QPicture & p )"
+.BI "TQPicture & \fBoperator=\fR ( const TQPicture & p )"
.br
.in -1c
.SS "Protected Members"
@@ -70,20 +70,20 @@ Inherits TQPaintDevice.
.BI "void \fBdetach\fR ()"
.br
.ti -1c
-.BI "QPicture \fBcopy\fR () const"
+.BI "TQPicture \fBcopy\fR () const"
.br
.in -1c
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QPicture & r )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQPicture & r )"
.br
.ti -1c
-.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QPicture & r )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQPicture & r )"
.br
.in -1c
.SH DESCRIPTION
-The QPicture class is a paint device that records and replays TQPainter commands.
+The TQPicture class is a paint device that records and replays TQPainter commands.
.PP
A picture serializes painter commands to an IO device in a platform-independent format. For example, a picture created under Windows can be read on a Sun SPARC.
.PP
@@ -91,13 +91,13 @@ Pictures are called meta-files on some platforms.
.PP
Qt pictures use a proprietary binary format. Unlike native picture (meta-file) formats on many window systems, TQt pictures have no limitations regarding their contents. Everything that can be painted can also be stored in a picture, e.g. fonts, pixmaps, regions, transformed graphics, etc.
.PP
-QPicture is an implicitly shared class.
+TQPicture is an implicitly shared class.
.PP
Example of how to record a picture:
.PP
.nf
.br
- QPicture pic;
+ TQPicture pic;
.br
TQPainter p;
.br
@@ -115,7 +115,7 @@ Example of how to replay a picture:
.PP
.nf
.br
- QPicture pic;
+ TQPicture pic;
.br
pic.load( "drawing.pic" ); // load picture
.br
@@ -133,10 +133,10 @@ Pictures can also be drawn using play(). Some basic data about a picture is avai
.PP
See also Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QPicture::QPicture ( int formatVersion = -1 )"
+.SH "TQPicture::TQPicture ( int formatVersion = -1 )"
Constructs an empty picture.
.PP
-The \fIformatVersion\fR parameter may be used to \fIcreate\fR a QPicture that can be read by applications that are compiled with earlier versions of Qt.
+The \fIformatVersion\fR parameter may be used to \fIcreate\fR a TQPicture that can be read by applications that are compiled with earlier versions of Qt.
.TP
\fIformatVersion\fR == 1 is binary compatible with TQt 1.x and later.
.TP
@@ -151,28 +151,28 @@ The \fIformatVersion\fR parameter may be used to \fIcreate\fR a QPicture that ca
Note that the default formatVersion is -1 which signifies the current release, i.e. for TQt 3.1 a formatVersion of 5 is the same as the default formatVersion of -1.
.PP
Reading pictures generated by earlier versions of TQt is supported and needs no special coding; the format is automatically detected.
-.SH "QPicture::QPicture ( const QPicture & pic )"
+.SH "TQPicture::TQPicture ( const TQPicture & pic )"
Constructs a shallow copy of \fIpic\fR.
-.SH "QPicture::~QPicture ()"
+.SH "TQPicture::~TQPicture ()"
Destroys the picture.
-.SH "QRect QPicture::boundingRect () const"
+.SH "TQRect TQPicture::boundingRect () const"
Returns the picture's bounding rectangle or an invalid rectangle if the picture contains no data.
-.SH "QPicture QPicture::copy () const\fC [protected]\fR"
+.SH "TQPicture TQPicture::copy () const\fC [protected]\fR"
Returns a deep copy of the picture.
-.SH "const char * QPicture::data () const"
+.SH "const char * TQPicture::data () const"
Returns a pointer to the picture data. The pointer is only valid until the next non-const function is called on this picture. The returned pointer is 0 if the picture contains no data.
.PP
See also size() and isNull().
-.SH "void QPicture::detach ()\fC [protected]\fR"
+.SH "void TQPicture::detach ()\fC [protected]\fR"
Detaches from shared picture data and makes sure that this picture is the only one referring to the data.
.PP
If multiple pictures share common data, this picture makes a copy of the data and detaches itself from the sharing mechanism. Nothing is done if there is just a single reference.
-.SH "bool QPicture::isNull () const"
+.SH "bool TQPicture::isNull () const"
Returns TRUE if the picture contains no data; otherwise returns FALSE.
-.SH "bool QPicture::load ( const TQString & fileName, const char * format = 0 )"
+.SH "bool TQPicture::load ( const TQString & fileName, const char * format = 0 )"
Loads a picture from the file specified by \fIfileName\fR and returns TRUE if successful; otherwise returns FALSE.
.PP
-By default, the file will be interpreted as being in the native QPicture format. Specifying the \fIformat\fR string is optional and is only needed for importing picture data stored in a different format.
+By default, the file will be interpreted as being in the native TQPicture format. Specifying the \fIformat\fR string is optional and is only needed for importing picture data stored in a different format.
.PP
Currently, the only external format supported is the W3C SVG format which requires the TQt XML module. The corresponding \fIformat\fR string is "svg".
.PP
@@ -180,11 +180,11 @@ See also save().
.PP
Examples:
.)l picture/picture.cpp and xform/xform.cpp.
-.SH "bool QPicture::load ( TQIODevice * dev, const char * format = 0 )"
+.SH "bool TQPicture::load ( TQIODevice * dev, const char * format = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
\fIdev\fR is the device to use for loading.
-.SH "int QPicture::metric ( int m ) const\fC [virtual protected]\fR"
+.SH "int TQPicture::metric ( int m ) const\fC [virtual protected]\fR"
Internal implementation of the virtual TQPaintDevice::metric() function.
.PP
Use the TQPaintDeviceMetrics class instead.
@@ -192,45 +192,45 @@ Use the TQPaintDeviceMetrics class instead.
A picture has the following hard-coded values: dpi=72, numcolors=16777216 and depth=24.
.PP
\fIm\fR is the metric to get.
-.SH "QPicture & QPicture::operator= ( const QPicture & p )"
+.SH "TQPicture & TQPicture::operator= ( const TQPicture & p )"
Assigns a shallow copy of \fIp\fR to this picture and returns a reference to this picture.
-.SH "bool QPicture::play ( TQPainter * painter )"
+.SH "bool TQPicture::play ( TQPainter * painter )"
Replays the picture using \fIpainter\fR, and returns TRUE if successful; otherwise returns FALSE.
.PP
This function does exactly the same as TQPainter::drawPicture() with (x, y) = (0, 0).
-.SH "bool QPicture::save ( const TQString & fileName, const char * format = 0 )"
+.SH "bool TQPicture::save ( const TQString & fileName, const char * format = 0 )"
Saves a picture to the file specified by \fIfileName\fR and returns TRUE if successful; otherwise returns FALSE.
.PP
-Specifying the file \fIformat\fR string is optional. It's not recommended unless you intend to export the picture data for use by a third party reader. By default the data will be saved in the native QPicture file format.
+Specifying the file \fIformat\fR string is optional. It's not recommended unless you intend to export the picture data for use by a third party reader. By default the data will be saved in the native TQPicture file format.
.PP
Currently, the only external format supported is the W3C SVG format which requires the TQt XML module. The corresponding \fIformat\fR string is "svg".
.PP
See also load().
.PP
Example: picture/picture.cpp.
-.SH "bool QPicture::save ( TQIODevice * dev, const char * format = 0 )"
+.SH "bool TQPicture::save ( TQIODevice * dev, const char * format = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
\fIdev\fR is the device to use for saving.
-.SH "void QPicture::setBoundingRect ( const QRect & r )"
+.SH "void TQPicture::setBoundingRect ( const TQRect & r )"
Sets the picture's bounding rectangle to \fIr\fR. The automatically calculated value is overriden.
-.SH "void QPicture::setData ( const char * data, uint size )\fC [virtual]\fR"
+.SH "void TQPicture::setData ( const char * data, uint size )\fC [virtual]\fR"
Sets the picture data directly from \fIdata\fR and \fIsize\fR. This function copies the input data.
.PP
See also data() and size().
-.SH "uint QPicture::size () const"
+.SH "uint TQPicture::size () const"
Returns the size of the picture data.
.PP
See also data().
.SH RELATED FUNCTION DOCUMENTATION
-.SH "TQDataStream & operator<< ( TQDataStream & s, const QPicture & r )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQPicture & r )"
Writes picture \fIr\fR to the stream \fIs\fR and returns a reference to the stream.
-.SH "TQDataStream & operator>> ( TQDataStream & s, QPicture & r )"
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQPicture & r )"
Reads a picture from the stream \fIs\fR into picture \fIr\fR and returns
a reference to the stream.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqpicture.html
+.BR http://doc.trolltech.com/tqpicture.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the