diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-15 19:08:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-18 09:31:41 +0900 |
commit | a30f5359f03c3017fa19a6770fab32d25d22cb87 (patch) | |
tree | cb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/man/man3/tqpicture.3qt | |
parent | 25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff) | |
download | tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip |
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqpicture.3qt')
-rw-r--r-- | doc/man/man3/tqpicture.3qt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqpicture.3qt b/doc/man/man3/tqpicture.3qt index 9df2652e6..0437b3b98 100644 --- a/doc/man/man3/tqpicture.3qt +++ b/doc/man/man3/tqpicture.3qt @@ -7,11 +7,11 @@ .ad l .nh .SH NAME -QPicture \- Paint device that records and replays QPainter commands +QPicture \- Paint device that records and replays TQPainter commands .SH SYNOPSIS \fC#include <ntqpicture.h>\fR .PP -Inherits QPaintDevice. +Inherits TQPaintDevice. .PP .SS "Public Members" .in +1c @@ -37,7 +37,7 @@ Inherits QPaintDevice. .BI "virtual void \fBsetData\fR ( const char * data, uint size )" .br .ti -1c -.BI "bool \fBplay\fR ( QPainter * painter )" +.BI "bool \fBplay\fR ( TQPainter * painter )" .br .ti -1c .BI "bool \fBload\fR ( TQIODevice * dev, const char * format = 0 )" @@ -83,7 +83,7 @@ Inherits QPaintDevice. .br .in -1c .SH DESCRIPTION -The QPicture class is a paint device that records and replays QPainter commands. +The QPicture 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 @@ -99,7 +99,7 @@ Example of how to record a picture: .br QPicture pic; .br - QPainter p; + TQPainter p; .br p.begin( &pic ); // paint in picture .br @@ -119,7 +119,7 @@ Example of how to replay a picture: .br pic.load( "drawing.pic" ); // load picture .br - QPainter p; + TQPainter p; .br p.begin( &myWidget ); // paint in myWidget .br @@ -185,19 +185,19 @@ This is an overloaded member function, provided for convenience. It behaves esse .PP \fIdev\fR is the device to use for loading. .SH "int QPicture::metric ( int m ) const\fC [virtual protected]\fR" -Internal implementation of the virtual QPaintDevice::metric() function. +Internal implementation of the virtual TQPaintDevice::metric() function. .PP -Use the QPaintDeviceMetrics class instead. +Use the TQPaintDeviceMetrics class instead. .PP 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 )" Assigns a shallow copy of \fIp\fR to this picture and returns a reference to this picture. -.SH "bool QPicture::play ( QPainter * painter )" +.SH "bool QPicture::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 QPainter::drawPicture() with (x, y) = (0, 0). +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 )" Saves a picture to the file specified by \fIfileName\fR and returns TRUE if successful; otherwise returns FALSE. .PP |