summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqsize.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqsize.3qt')
-rw-r--r--doc/man/man3/tqsize.3qt158
1 files changed, 79 insertions, 79 deletions
diff --git a/doc/man/man3/tqsize.3qt b/doc/man/man3/tqsize.3qt
index 1df1a7b44..510dba354 100644
--- a/doc/man/man3/tqsize.3qt
+++ b/doc/man/man3/tqsize.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QSize 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQSize 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,9 +7,9 @@
.ad l
.nh
.SH NAME
-QSize \- Defines the size of a two-dimensional object
+TQSize \- Defines the size of a two-dimensional object
.SH SYNOPSIS
-\fC#include <ntqsize.h>\fR
+\fC#include <tqsize.h>\fR
.PP
.SS "Public Members"
.in +1c
@@ -17,10 +17,10 @@ QSize \- Defines the size of a two-dimensional object
.BI "enum \fBScaleMode\fR { ScaleFree, ScaleMin, ScaleMax }"
.br
.ti -1c
-.BI "\fBQSize\fR ()"
+.BI "\fBTQSize\fR ()"
.br
.ti -1c
-.BI "\fBQSize\fR ( int w, int h )"
+.BI "\fBTQSize\fR ( int w, int h )"
.br
.ti -1c
.BI "bool \fBisNull\fR () const"
@@ -50,13 +50,13 @@ QSize \- Defines the size of a two-dimensional object
.BI "void \fBscale\fR ( int w, int h, ScaleMode mode )"
.br
.ti -1c
-.BI "void \fBscale\fR ( const QSize & s, ScaleMode mode )"
+.BI "void \fBscale\fR ( const TQSize & s, ScaleMode mode )"
.br
.ti -1c
-.BI "QSize \fBexpandedTo\fR ( const QSize & otherSize ) const"
+.BI "TQSize \fBexpandedTo\fR ( const TQSize & otherSize ) const"
.br
.ti -1c
-.BI "QSize \fBboundedTo\fR ( const QSize & otherSize ) const"
+.BI "TQSize \fBboundedTo\fR ( const TQSize & otherSize ) const"
.br
.ti -1c
.BI "QCOORD & \fBrwidth\fR ()"
@@ -65,65 +65,65 @@ QSize \- Defines the size of a two-dimensional object
.BI "QCOORD & \fBrheight\fR ()"
.br
.ti -1c
-.BI "QSize & \fBoperator+=\fR ( const QSize & s )"
+.BI "TQSize & \fBoperator+=\fR ( const TQSize & s )"
.br
.ti -1c
-.BI "QSize & \fBoperator-=\fR ( const QSize & s )"
+.BI "TQSize & \fBoperator-=\fR ( const TQSize & s )"
.br
.ti -1c
-.BI "QSize & \fBoperator*=\fR ( int c )"
+.BI "TQSize & \fBoperator*=\fR ( int c )"
.br
.ti -1c
-.BI "QSize & \fBoperator*=\fR ( double c )"
+.BI "TQSize & \fBoperator*=\fR ( double c )"
.br
.ti -1c
-.BI "QSize & \fBoperator/=\fR ( int c )"
+.BI "TQSize & \fBoperator/=\fR ( int c )"
.br
.ti -1c
-.BI "QSize & \fBoperator/=\fR ( double c )"
+.BI "TQSize & \fBoperator/=\fR ( double c )"
.br
.in -1c
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "bool \fBoperator==\fR ( const QSize & s1, const QSize & s2 )"
+.BI "bool \fBoperator==\fR ( const TQSize & s1, const TQSize & s2 )"
.br
.ti -1c
-.BI "bool \fBoperator!=\fR ( const QSize & s1, const QSize & s2 )"
+.BI "bool \fBoperator!=\fR ( const TQSize & s1, const TQSize & s2 )"
.br
.ti -1c
-.BI "const QSize \fBoperator+\fR ( const QSize & s1, const QSize & s2 )"
+.BI "const TQSize \fBoperator+\fR ( const TQSize & s1, const TQSize & s2 )"
.br
.ti -1c
-.BI "const QSize \fBoperator-\fR ( const QSize & s1, const QSize & s2 )"
+.BI "const TQSize \fBoperator-\fR ( const TQSize & s1, const TQSize & s2 )"
.br
.ti -1c
-.BI "const QSize \fBoperator*\fR ( const QSize & s, int c )"
+.BI "const TQSize \fBoperator*\fR ( const TQSize & s, int c )"
.br
.ti -1c
-.BI "const QSize \fBoperator*\fR ( int c, const QSize & s )"
+.BI "const TQSize \fBoperator*\fR ( int c, const TQSize & s )"
.br
.ti -1c
-.BI "const QSize \fBoperator*\fR ( const QSize & s, double c )"
+.BI "const TQSize \fBoperator*\fR ( const TQSize & s, double c )"
.br
.ti -1c
-.BI "const QSize \fBoperator*\fR ( double c, const QSize & s )"
+.BI "const TQSize \fBoperator*\fR ( double c, const TQSize & s )"
.br
.ti -1c
-.BI "const QSize \fBoperator/\fR ( const QSize & s, int c )"
+.BI "const TQSize \fBoperator/\fR ( const TQSize & s, int c )"
.br
.ti -1c
-.BI "const QSize \fBoperator/\fR ( const QSize & s, double c )"
+.BI "const TQSize \fBoperator/\fR ( const TQSize & s, double c )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const QSize & sz )"
+.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const TQSize & sz )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, QSize & sz )"
+.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, TQSize & sz )"
.br
.in -1c
.SH DESCRIPTION
-The QSize class defines the size of a two-dimensional object.
+The TQSize class defines the size of a two-dimensional object.
.PP
A size is specified by a width and a height.
.PP
@@ -133,7 +133,7 @@ The size can be set in the constructor and changed with setWidth() and setHeight
.PP
See also QPoint, QRect, Graphics Classes, and Image Processing Classes.
.SS "Member Type Documentation"
-.SH "QSize::ScaleMode"
+.SH "TQSize::ScaleMode"
This enum type defines the different ways of scaling a size.
.PP
<center>
@@ -142,82 +142,82 @@ This enum type defines the different ways of scaling a size.
.PP
</center>
.TP
-\fCQSize::ScaleFree\fR - The size is scaled freely. The ratio is not preserved.
+\fCTQSize::ScaleFree\fR - The size is scaled freely. The ratio is not preserved.
.TP
-\fCQSize::ScaleMin\fR - The size is scaled to a rectangle as large as possible inside a given rectangle, preserving the aspect ratio.
+\fCTQSize::ScaleMin\fR - The size is scaled to a rectangle as large as possible inside a given rectangle, preserving the aspect ratio.
.TP
-\fCQSize::ScaleMax\fR - The size is scaled to a rectangle as small as possible outside a given rectangle, preserving the aspect ratio.
+\fCTQSize::ScaleMax\fR - The size is scaled to a rectangle as small as possible outside a given rectangle, preserving the aspect ratio.
.PP
-See also QSize::scale(), TQImage::scale(), and TQImage::smoothScale().
+See also TQSize::scale(), TQImage::scale(), and TQImage::smoothScale().
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QSize::QSize ()"
+.SH "TQSize::TQSize ()"
Constructs a size with invalid (negative) width and height.
-.SH "QSize::QSize ( int w, int h )"
+.SH "TQSize::TQSize ( int w, int h )"
Constructs a size with width \fIw\fR and height \fIh\fR.
-.SH "QSize QSize::boundedTo ( const QSize & otherSize ) const"
+.SH "TQSize TQSize::boundedTo ( const TQSize & otherSize ) const"
Returns a size with the minimum width and height of this size and \fIotherSize\fR.
-.SH "QSize QSize::expandedTo ( const QSize & otherSize ) const"
+.SH "TQSize TQSize::expandedTo ( const TQSize & otherSize ) const"
Returns a size with the maximum width and height of this size and \fIotherSize\fR.
.PP
Examples:
.)l customlayout/card.cpp and customlayout/flow.cpp.
-.SH "int QSize::height () const"
+.SH "int TQSize::height () const"
Returns the height.
.PP
See also width().
.PP
Examples:
.)l movies/main.cpp, qfd/fontdisplayer.cpp, and qfd/qfd.cpp.
-.SH "bool QSize::isEmpty () const"
+.SH "bool TQSize::isEmpty () const"
Returns TRUE if the width is less than or equal to 0, or the height is less than or equal to 0; otherwise returns FALSE.
-.SH "bool QSize::isNull () const"
+.SH "bool TQSize::isNull () const"
Returns TRUE if the width is 0 and the height is 0; otherwise returns FALSE.
-.SH "bool QSize::isValid () const"
+.SH "bool TQSize::isValid () const"
Returns TRUE if the width is equal to or greater than 0 and the height is equal to or greater than 0; otherwise returns FALSE.
-.SH "QSize & QSize::operator*= ( int c )"
+.SH "TQSize & TQSize::operator*= ( int c )"
Multiplies both the width and height by \fIc\fR and returns a reference to the size.
-.SH "QSize & QSize::operator*= ( double c )"
+.SH "TQSize & TQSize::operator*= ( double c )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Multiplies both the width and height by \fIc\fR and returns a reference to the size.
.PP
Note that the result is truncated.
-.SH "QSize & QSize::operator+= ( const QSize & s )"
+.SH "TQSize & TQSize::operator+= ( const TQSize & s )"
Adds \fIs\fR to the size and returns a reference to this size.
.PP
Example:
.PP
.nf
.br
- QSize s( 3, 7 );
+ TQSize s( 3, 7 );
.br
- QSize r( -1, 4 );
+ TQSize r( -1, 4 );
.br
s += r; // s becomes (2,11)
.fi
-.SH "QSize & QSize::operator-= ( const QSize & s )"
+.SH "TQSize & TQSize::operator-= ( const TQSize & s )"
Subtracts \fIs\fR from the size and returns a reference to this size.
.PP
Example:
.PP
.nf
.br
- QSize s( 3, 7 );
+ TQSize s( 3, 7 );
.br
- QSize r( -1, 4 );
+ TQSize r( -1, 4 );
.br
s -= r; // s becomes (4,3)
.br
.fi
-.SH "QSize & QSize::operator/= ( int c )"
+.SH "TQSize & TQSize::operator/= ( int c )"
Divides both the width and height by \fIc\fR and returns a reference to the size.
-.SH "QSize & QSize::operator/= ( double c )"
+.SH "TQSize & TQSize::operator/= ( double c )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Divides both the width and height by \fIc\fR and returns a reference to the size.
.PP
Note that the result is truncated.
-.SH "QCOORD & QSize::rheight ()"
+.SH "QCOORD & TQSize::rheight ()"
Returns a reference to the height.
.PP
Using a reference makes it possible to directly manipulate the height.
@@ -226,14 +226,14 @@ Example:
.PP
.nf
.br
- QSize s( 100, 10 );
+ TQSize s( 100, 10 );
.br
s.rheight() += 5; // s becomes (100,15)
.br
.fi
.PP
See also rwidth().
-.SH "QCOORD & QSize::rwidth ()"
+.SH "QCOORD & TQSize::rwidth ()"
Returns a reference to the width.
.PP
Using a reference makes it possible to directly manipulate the width.
@@ -242,14 +242,14 @@ Example:
.PP
.nf
.br
- QSize s( 100, 10 );
+ TQSize s( 100, 10 );
.br
s.rwidth() += 20; // s becomes (120,10)
.br
.fi
.PP
See also rheight().
-.SH "void QSize::scale ( int w, int h, ScaleMode mode )"
+.SH "void TQSize::scale ( int w, int h, ScaleMode mode )"
Scales the size to a rectangle of width \fIw\fR and height \fIh\fR according to the ScaleMode \fImode\fR.
.TP
If \fImode\fR is ScaleFree, the size is set to (\fIw\fR, \fIh\fR).
@@ -262,42 +262,42 @@ Example:
.PP
.nf
.br
- QSize t1( 10, 12 );
+ TQSize t1( 10, 12 );
.br
- t1.scale( 60, 60, QSize::ScaleFree );
+ t1.scale( 60, 60, TQSize::ScaleFree );
.br
// t1 is (60, 60)
.br
.br
- QSize t2( 10, 12 );
+ TQSize t2( 10, 12 );
.br
- t2.scale( 60, 60, QSize::ScaleMin );
+ t2.scale( 60, 60, TQSize::ScaleMin );
.br
// t2 is (50, 60)
.br
.br
- QSize t3( 10, 12 );
+ TQSize t3( 10, 12 );
.br
- t3.scale( 60, 60, QSize::ScaleMax );
+ t3.scale( 60, 60, TQSize::ScaleMax );
.br
// t3 is (60, 72)
.br
.fi
-.SH "void QSize::scale ( const QSize & s, ScaleMode mode )"
+.SH "void TQSize::scale ( const TQSize & s, ScaleMode mode )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Equivalent to scale(\fIs\fR.width(), \fIs\fR.height(), \fImode\fR).
-.SH "void QSize::setHeight ( int h )"
+.SH "void TQSize::setHeight ( int h )"
Sets the height to \fIh\fR.
.PP
See also height() and setWidth().
-.SH "void QSize::setWidth ( int w )"
+.SH "void TQSize::setWidth ( int w )"
Sets the width to \fIw\fR.
.PP
See also width() and setHeight().
-.SH "void QSize::transpose ()"
+.SH "void TQSize::transpose ()"
Swaps the values of width and height.
-.SH "int QSize::width () const"
+.SH "int TQSize::width () const"
Returns the width.
.PP
See also height().
@@ -305,47 +305,47 @@ See also height().
Examples:
.)l movies/main.cpp, qfd/fontdisplayer.cpp, and qfd/qfd.cpp.
.SH RELATED FUNCTION DOCUMENTATION
-.SH "bool operator!= ( const QSize & s1, const QSize & s2 )"
+.SH "bool operator!= ( const TQSize & s1, const TQSize & s2 )"
Returns TRUE if \fIs1\fR and \fIs2\fR are different; otherwise returns FALSE.
-.SH "const QSize operator* ( const QSize & s, int c )"
+.SH "const TQSize operator* ( const TQSize & s, int c )"
Multiplies \fIs\fR by \fIc\fR and returns the result.
-.SH "const QSize operator* ( int c, const QSize & s )"
+.SH "const TQSize operator* ( int c, const TQSize & s )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Multiplies \fIs\fR by \fIc\fR and returns the result.
-.SH "const QSize operator* ( const QSize & s, double c )"
+.SH "const TQSize operator* ( const TQSize & s, double c )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Multiplies \fIs\fR by \fIc\fR and returns the result.
-.SH "const QSize operator* ( double c, const QSize & s )"
+.SH "const TQSize operator* ( double c, const TQSize & s )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Multiplies \fIs\fR by \fIc\fR and returns the result.
-.SH "const QSize operator+ ( const QSize & s1, const QSize & s2 )"
+.SH "const TQSize operator+ ( const TQSize & s1, const TQSize & s2 )"
Returns the sum of \fIs1\fR and \fIs2\fR; each component is added separately.
-.SH "const QSize operator- ( const QSize & s1, const QSize & s2 )"
+.SH "const TQSize operator- ( const TQSize & s1, const TQSize & s2 )"
Returns \fIs2\fR subtracted from \fIs1\fR; each component is subtracted separately.
-.SH "const QSize operator/ ( const QSize & s, int c )"
+.SH "const TQSize operator/ ( const TQSize & s, int c )"
Divides \fIs\fR by \fIc\fR and returns the result.
-.SH "const QSize operator/ ( const QSize & s, double c )"
+.SH "const TQSize operator/ ( const TQSize & s, double c )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Divides \fIs\fR by \fIc\fR and returns the result.
.PP
Note that the result is truncated.
-.SH "QDataStream & operator<< ( QDataStream & s, const QSize & sz )"
+.SH "QDataStream & operator<< ( QDataStream & s, const TQSize & sz )"
Writes the size \fIsz\fR to the stream \fIs\fR and returns a reference to the stream.
.PP
See also Format of the QDataStream operators.
-.SH "bool operator== ( const QSize & s1, const QSize & s2 )"
+.SH "bool operator== ( const TQSize & s1, const TQSize & s2 )"
Returns TRUE if \fIs1\fR and \fIs2\fR are equal; otherwise returns FALSE.
-.SH "QDataStream & operator>> ( QDataStream & s, QSize & sz )"
+.SH "QDataStream & operator>> ( QDataStream & s, TQSize & sz )"
Reads the size from the stream \fIs\fR into size \fIsz\fR and returns a reference to the stream.
.PP
See also Format of the QDataStream operators.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqsize.html
+.BR http://doc.trolltech.com/tqsize.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the