summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqrect.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqrect.3qt')
-rw-r--r--doc/man/man3/tqrect.3qt228
1 files changed, 114 insertions, 114 deletions
diff --git a/doc/man/man3/tqrect.3qt b/doc/man/man3/tqrect.3qt
index 0701ed63b..7b153d5c6 100644
--- a/doc/man/man3/tqrect.3qt
+++ b/doc/man/man3/tqrect.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QRect 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQRect 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,23 +7,23 @@
.ad l
.nh
.SH NAME
-QRect \- Defines a rectangle in the plane
+TQRect \- Defines a rectangle in the plane
.SH SYNOPSIS
-\fC#include <ntqrect.h>\fR
+\fC#include <tqrect.h>\fR
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQRect\fR ()"
+.BI "\fBTQRect\fR ()"
.br
.ti -1c
-.BI "\fBQRect\fR ( const QPoint & topLeft, const QPoint & bottomRight )"
+.BI "\fBTQRect\fR ( const TQPoint & topLeft, const TQPoint & bottomRight )"
.br
.ti -1c
-.BI "\fBQRect\fR ( const QPoint & topLeft, const TQSize & size )"
+.BI "\fBTQRect\fR ( const TQPoint & topLeft, const TQSize & size )"
.br
.ti -1c
-.BI "\fBQRect\fR ( int left, int top, int width, int height )"
+.BI "\fBTQRect\fR ( int left, int top, int width, int height )"
.br
.ti -1c
.BI "bool \fBisNull\fR () const"
@@ -35,7 +35,7 @@ QRect \- Defines a rectangle in the plane
.BI "bool \fBisValid\fR () const"
.br
.ti -1c
-.BI "QRect \fBnormalize\fR () const"
+.BI "TQRect \fBnormalize\fR () const"
.br
.ti -1c
.BI "int \fBleft\fR () const"
@@ -86,31 +86,31 @@ QRect \- Defines a rectangle in the plane
.BI "void \fBsetY\fR ( int y )"
.br
.ti -1c
-.BI "void \fBsetTopLeft\fR ( const QPoint & p )"
+.BI "void \fBsetTopLeft\fR ( const TQPoint & p )"
.br
.ti -1c
-.BI "void \fBsetBottomRight\fR ( const QPoint & p )"
+.BI "void \fBsetBottomRight\fR ( const TQPoint & p )"
.br
.ti -1c
-.BI "void \fBsetTopRight\fR ( const QPoint & p )"
+.BI "void \fBsetTopRight\fR ( const TQPoint & p )"
.br
.ti -1c
-.BI "void \fBsetBottomLeft\fR ( const QPoint & p )"
+.BI "void \fBsetBottomLeft\fR ( const TQPoint & p )"
.br
.ti -1c
-.BI "QPoint \fBtopLeft\fR () const"
+.BI "TQPoint \fBtopLeft\fR () const"
.br
.ti -1c
-.BI "QPoint \fBbottomRight\fR () const"
+.BI "TQPoint \fBbottomRight\fR () const"
.br
.ti -1c
-.BI "QPoint \fBtopRight\fR () const"
+.BI "TQPoint \fBtopRight\fR () const"
.br
.ti -1c
-.BI "QPoint \fBbottomLeft\fR () const"
+.BI "TQPoint \fBbottomLeft\fR () const"
.br
.ti -1c
-.BI "QPoint \fBcenter\fR () const"
+.BI "TQPoint \fBcenter\fR () const"
.br
.ti -1c
.BI "void \fBrect\fR ( int * x, int * y, int * w, int * h ) const"
@@ -131,19 +131,19 @@ QRect \- Defines a rectangle in the plane
.BI "void \fBmoveBottom\fR ( int pos )"
.br
.ti -1c
-.BI "void \fBmoveTopLeft\fR ( const QPoint & p )"
+.BI "void \fBmoveTopLeft\fR ( const TQPoint & p )"
.br
.ti -1c
-.BI "void \fBmoveBottomRight\fR ( const QPoint & p )"
+.BI "void \fBmoveBottomRight\fR ( const TQPoint & p )"
.br
.ti -1c
-.BI "void \fBmoveTopRight\fR ( const QPoint & p )"
+.BI "void \fBmoveTopRight\fR ( const TQPoint & p )"
.br
.ti -1c
-.BI "void \fBmoveBottomLeft\fR ( const QPoint & p )"
+.BI "void \fBmoveBottomLeft\fR ( const TQPoint & p )"
.br
.ti -1c
-.BI "void \fBmoveCenter\fR ( const QPoint & p )"
+.BI "void \fBmoveCenter\fR ( const TQPoint & p )"
.br
.ti -1c
.BI "void \fBmoveBy\fR ( int dx, int dy )"
@@ -176,19 +176,19 @@ QRect \- Defines a rectangle in the plane
.BI "void \fBsetSize\fR ( const TQSize & s )"
.br
.ti -1c
-.BI "QRect \fBoperator|\fR ( const QRect & r ) const"
+.BI "TQRect \fBoperator|\fR ( const TQRect & r ) const"
.br
.ti -1c
-.BI "QRect \fBoperator&\fR ( const QRect & r ) const"
+.BI "TQRect \fBoperator&\fR ( const TQRect & r ) const"
.br
.ti -1c
-.BI "QRect & \fBoperator|=\fR ( const QRect & r )"
+.BI "TQRect & \fBoperator|=\fR ( const TQRect & r )"
.br
.ti -1c
-.BI "QRect & \fBoperator&=\fR ( const QRect & r )"
+.BI "TQRect & \fBoperator&=\fR ( const TQRect & r )"
.br
.ti -1c
-.BI "bool \fBcontains\fR ( const QPoint & p, bool proper = FALSE ) const"
+.BI "bool \fBcontains\fR ( const TQPoint & p, bool proper = FALSE ) const"
.br
.ti -1c
.BI "bool \fBcontains\fR ( int x, int y ) const"
@@ -197,35 +197,35 @@ QRect \- Defines a rectangle in the plane
.BI "bool \fBcontains\fR ( int x, int y, bool proper ) const"
.br
.ti -1c
-.BI "bool \fBcontains\fR ( const QRect & r, bool proper = FALSE ) const"
+.BI "bool \fBcontains\fR ( const TQRect & r, bool proper = FALSE ) const"
.br
.ti -1c
-.BI "QRect \fBunite\fR ( const QRect & r ) const"
+.BI "TQRect \fBunite\fR ( const TQRect & r ) const"
.br
.ti -1c
-.BI "QRect \fBintersect\fR ( const QRect & r ) const"
+.BI "TQRect \fBintersect\fR ( const TQRect & r ) const"
.br
.ti -1c
-.BI "bool \fBintersects\fR ( const QRect & r ) const"
+.BI "bool \fBintersects\fR ( const TQRect & r ) const"
.br
.in -1c
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "bool \fBoperator==\fR ( const QRect & r1, const QRect & r2 )"
+.BI "bool \fBoperator==\fR ( const TQRect & r1, const TQRect & r2 )"
.br
.ti -1c
-.BI "bool \fBoperator!=\fR ( const QRect & r1, const QRect & r2 )"
+.BI "bool \fBoperator!=\fR ( const TQRect & r1, const TQRect & r2 )"
.br
.ti -1c
-.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QRect & r )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQRect & r )"
.br
.ti -1c
-.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QRect & r )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQRect & r )"
.br
.in -1c
.SH DESCRIPTION
-The QRect class defines a rectangle in the plane.
+The TQRect class defines a rectangle in the plane.
.PP
A rectangle is internally represented as an upper-left corner and a bottom-right corner, but it is normally expressed as an upper-left corner and a size.
.PP
@@ -237,79 +237,79 @@ Generally, \fIwidth = right - left + 1\fR and \fIheight = bottom - top + 1\fR. W
.PP
The default coordinate system has origin (0, 0) in the top-left corner. The positive direction of the y axis is down, and the positive x axis is from left to right.
.PP
-A QRect can be constructed with a set of left, top, width and height integers, from two QPoints or from a QPoint and a TQSize. After creation the dimensions can be changed, e.g. with setLeft(), setRight(), setTop() and setBottom(), or by setting sizes, e.g. setWidth(), setHeight() and setSize(). The dimensions can also be changed with the move functions, e.g. moveBy(), moveCenter(), moveBottomRight(), etc. You can also add coordinates to a rectangle with addCoords().
+A TQRect can be constructed with a set of left, top, width and height integers, from two TQPoints or from a TQPoint and a TQSize. After creation the dimensions can be changed, e.g. with setLeft(), setRight(), setTop() and setBottom(), or by setting sizes, e.g. setWidth(), setHeight() and setSize(). The dimensions can also be changed with the move functions, e.g. moveBy(), moveCenter(), moveBottomRight(), etc. You can also add coordinates to a rectangle with addCoords().
.PP
-You can test to see if a QRect contains a specific point with contains(). You can also test to see if two QRects intersect with intersects() (see also intersect()). To get the bounding rectangle of two QRects use unite().
+You can test to see if a TQRect contains a specific point with contains(). You can also test to see if two TQRects intersect with intersects() (see also intersect()). To get the bounding rectangle of two TQRects use unite().
.PP
-See also QPoint, TQSize, Graphics Classes, and Image Processing Classes.
+See also TQPoint, TQSize, Graphics Classes, and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QRect::QRect ()"
+.SH "TQRect::TQRect ()"
Constructs an invalid rectangle.
-.SH "QRect::QRect ( const QPoint & topLeft, const QPoint & bottomRight )"
+.SH "TQRect::TQRect ( const TQPoint & topLeft, const TQPoint & bottomRight )"
Constructs a rectangle with \fItopLeft\fR as the top-left corner and \fIbottomRight\fR as the bottom-right corner.
-.SH "QRect::QRect ( const QPoint & topLeft, const TQSize & size )"
+.SH "TQRect::TQRect ( const TQPoint & topLeft, const TQSize & size )"
Constructs a rectangle with \fItopLeft\fR as the top-left corner and \fIsize\fR as the rectangle size.
-.SH "QRect::QRect ( int left, int top, int width, int height )"
+.SH "TQRect::TQRect ( int left, int top, int width, int height )"
Constructs a rectangle with the \fItop\fR, \fIleft\fR corner and \fIwidth\fR and \fIheight\fR.
.PP
Example (creates three identical rectangles):
.PP
.nf
.br
- QRect r1( QPoint(100,200), QPoint(110,215) );
+ TQRect r1( TQPoint(100,200), TQPoint(110,215) );
.br
- QRect r2( QPoint(100,200), TQSize(11,16) );
+ TQRect r2( TQPoint(100,200), TQSize(11,16) );
.br
- QRect r3( 100, 200, 11, 16 );
+ TQRect r3( 100, 200, 11, 16 );
.br
.fi
-.SH "void QRect::addCoords ( int xp1, int yp1, int xp2, int yp2 )"
+.SH "void TQRect::addCoords ( int xp1, int yp1, int xp2, int yp2 )"
Adds \fIxp1\fR, \fIyp1\fR, \fIxp2\fR and \fIyp2\fR respectively to the existing coordinates of the rectangle.
.PP
Examples:
.)l multiple/ax1.h and multiple/ax2.h.
-.SH "int QRect::bottom () const"
+.SH "int TQRect::bottom () const"
Returns the bottom coordinate of the rectangle.
.PP
See also setBottom(), top(), bottomLeft(), and bottomRight().
.PP
Examples:
.)l action/application.cpp, application/application.cpp, desktop/desktop.cpp, helpviewer/helpwindow.cpp, qfd/fontdisplayer.cpp, scribble/scribble.cpp, and themes/wood.cpp.
-.SH "QPoint QRect::bottomLeft () const"
+.SH "TQPoint TQRect::bottomLeft () const"
Returns the bottom-left position of the rectangle.
.PP
See also setBottomLeft(), moveBottomLeft(), topRight(), bottom(), and left().
.PP
Example: tictac/tictac.cpp.
-.SH "QPoint QRect::bottomRight () const"
+.SH "TQPoint TQRect::bottomRight () const"
Returns the bottom-right position of the rectangle.
.PP
See also setBottomRight(), moveBottomRight(), topLeft(), right(), and bottom().
.PP
Example: tictac/tictac.cpp.
-.SH "QPoint QRect::center () const"
+.SH "TQPoint TQRect::center () const"
Returns the center point of the rectangle.
.PP
See also moveCenter(), topLeft(), bottomRight(), topRight(), and bottomLeft().
.PP
Example: tooltip/tooltip.cpp.
-.SH "bool QRect::contains ( const QPoint & p, bool proper = FALSE ) const"
+.SH "bool TQRect::contains ( const TQPoint & p, bool proper = FALSE ) const"
Returns TRUE if the point \fIp\fR is inside or on the edge of the rectangle; otherwise returns FALSE.
.PP
If \fIproper\fR is TRUE, this function returns TRUE only if \fIp\fR is inside (not on the edge).
.PP
Example: t14/cannon.cpp.
-.SH "bool QRect::contains ( int x, int y ) const"
+.SH "bool TQRect::contains ( int x, int y ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns TRUE if the point \fIx\fR, \fIy\fR is inside this rectangle; otherwise returns FALSE.
-.SH "bool QRect::contains ( int x, int y, bool proper ) const"
+.SH "bool TQRect::contains ( int x, int y, bool proper ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns TRUE if the point \fIx\fR, \fIy\fR is inside this rectangle; otherwise returns FALSE.
.PP
If \fIproper\fR is TRUE, this function returns TRUE only if the point is entirely inside (not on the edge).
-.SH "bool QRect::contains ( const QRect & r, bool proper = FALSE ) const"
+.SH "bool TQRect::contains ( const TQRect & r, bool proper = FALSE ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns TRUE if the rectangle \fIr\fR is inside this rectangle; otherwise returns FALSE.
@@ -317,30 +317,30 @@ Returns TRUE if the rectangle \fIr\fR is inside this rectangle; otherwise return
If \fIproper\fR is TRUE, this function returns TRUE only if \fIr\fR is entirely inside (not on the edge).
.PP
See also unite(), intersect(), and intersects().
-.SH "void QRect::coords ( int * xp1, int * yp1, int * xp2, int * yp2 ) const"
+.SH "void TQRect::coords ( int * xp1, int * yp1, int * xp2, int * yp2 ) const"
Extracts the rectangle parameters as the top-left point \fI*xp1\fR, \fI*yp1\fR and the bottom-right point \fI*xp2\fR, \fI*yp2\fR.
.PP
See also setCoords() and rect().
.PP
Examples:
.)l themes/metal.cpp and themes/wood.cpp.
-.SH "int QRect::height () const"
+.SH "int TQRect::height () const"
Returns the height of the rectangle. The height includes both the top and bottom edges, i.e. height = bottom - top + 1.
.PP
See also width(), size(), and setHeight().
.PP
Examples:
.)l aclock/aclock.cpp, desktop/desktop.cpp, movies/main.cpp, scribble/scribble.cpp, themes/metal.cpp, themes/wood.cpp, and xform/xform.cpp.
-.SH "QRect QRect::intersect ( const QRect & r ) const"
+.SH "TQRect TQRect::intersect ( const TQRect & r ) const"
Returns the intersection of this rectangle and rectangle \fIr\fR. \fCr.intersect(s)\fR is equivalent to \fCr&s\fR.
-.SH "bool QRect::intersects ( const QRect & r ) const"
+.SH "bool TQRect::intersects ( const TQRect & r ) const"
Returns TRUE if this rectangle intersects with rectangle \fIr\fR (there is at least one pixel that is within both rectangles); otherwise returns FALSE.
.PP
See also intersect() and contains().
.PP
Examples:
.)l t11/cannon.cpp, t12/cannon.cpp, t13/cannon.cpp, and t14/cannon.cpp.
-.SH "bool QRect::isEmpty () const"
+.SH "bool TQRect::isEmpty () const"
Returns TRUE if the rectangle is empty; otherwise returns FALSE.
.PP
An empty rectangle has a left() > right() or top() > bottom().
@@ -348,7 +348,7 @@ An empty rectangle has a left() > right() or top() > bottom().
An empty rectangle is not valid. \fCisEmpty() == !isValid()\fR
.PP
See also isNull(), isValid(), and normalize().
-.SH "bool QRect::isNull () const"
+.SH "bool TQRect::isNull () const"
Returns TRUE if the rectangle is a null rectangle; otherwise returns FALSE.
.PP
A null rectangle has both the width and the height set to 0, that is right() == left() - 1 and bottom() == top() - 1.
@@ -360,7 +360,7 @@ A null rectangle is also empty.
A null rectangle is not valid.
.PP
See also isEmpty() and isValid().
-.SH "bool QRect::isValid () const"
+.SH "bool TQRect::isValid () const"
Returns TRUE if the rectangle is valid; otherwise returns FALSE.
.PP
A valid rectangle has a left() <= right() and top() <= bottom().
@@ -373,65 +373,65 @@ See also isNull(), isEmpty(), and normalize().
.PP
Examples:
.)l themes/metal.cpp and tooltip/tooltip.cpp.
-.SH "int QRect::left () const"
+.SH "int TQRect::left () const"
Returns the left coordinate of the rectangle. Identical to x().
.PP
See also setLeft(), right(), topLeft(), and bottomLeft().
.PP
Examples:
.)l aclock/aclock.cpp, desktop/desktop.cpp, i18n/main.cpp, scribble/scribble.cpp, tictac/tictac.cpp, and xform/xform.cpp.
-.SH "void QRect::moveBottom ( int pos )"
+.SH "void TQRect::moveBottom ( int pos )"
Sets the bottom position of the rectangle to \fIpos\fR, leaving the size unchanged.
.PP
See also bottom(), setBottom(), moveLeft(), moveTop(), and moveRight().
-.SH "void QRect::moveBottomLeft ( const QPoint & p )"
+.SH "void TQRect::moveBottomLeft ( const TQPoint & p )"
Sets the bottom-left position of the rectangle to \fIp\fR, leaving the size unchanged.
.PP
See also bottomLeft(), setBottomLeft(), moveTopLeft(), moveBottomRight(), and moveTopRight().
.PP
Example: t10/cannon.cpp.
-.SH "void QRect::moveBottomRight ( const QPoint & p )"
+.SH "void TQRect::moveBottomRight ( const TQPoint & p )"
Sets the bottom-right position of the rectangle to \fIp\fR, leaving the size unchanged.
.PP
See also bottomRight(), setBottomRight(), moveTopLeft(), moveTopRight(), and moveBottomLeft().
-.SH "void QRect::moveBy ( int dx, int dy )"
+.SH "void TQRect::moveBy ( int dx, int dy )"
Moves the rectangle \fIdx\fR along the x axis and \fIdy\fR along the y axis, relative to the current position. Positive values move the rectangle to the right and down.
.PP
See also moveTopLeft().
.PP
Examples:
.)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, themes/wood.cpp, and xform/xform.cpp.
-.SH "void QRect::moveCenter ( const QPoint & p )"
+.SH "void TQRect::moveCenter ( const TQPoint & p )"
Sets the center point of the rectangle to \fIp\fR, leaving the size unchanged.
.PP
See also center(), moveTopLeft(), moveBottomRight(), moveTopRight(), and moveBottomLeft().
.PP
Examples:
.)l t11/cannon.cpp and t12/cannon.cpp.
-.SH "void QRect::moveLeft ( int pos )"
+.SH "void TQRect::moveLeft ( int pos )"
Sets the left position of the rectangle to \fIpos\fR, leaving the size unchanged.
.PP
See also left(), setLeft(), moveTop(), moveRight(), and moveBottom().
-.SH "void QRect::moveRight ( int pos )"
+.SH "void TQRect::moveRight ( int pos )"
Sets the right position of the rectangle to \fIpos\fR, leaving the size unchanged.
.PP
See also right(), setRight(), moveLeft(), moveTop(), and moveBottom().
-.SH "void QRect::moveTop ( int pos )"
+.SH "void TQRect::moveTop ( int pos )"
Sets the top position of the rectangle to \fIpos\fR, leaving the size unchanged.
.PP
See also top(), setTop(), moveLeft(), moveRight(), and moveBottom().
-.SH "void QRect::moveTopLeft ( const QPoint & p )"
+.SH "void TQRect::moveTopLeft ( const TQPoint & p )"
Sets the top-left position of the rectangle to \fIp\fR, leaving the size unchanged.
.PP
See also topLeft(), setTopLeft(), moveBottomRight(), moveTopRight(), and moveBottomLeft().
.PP
Examples:
.)l helpsystem/tooltip.cpp and xform/xform.cpp.
-.SH "void QRect::moveTopRight ( const QPoint & p )"
+.SH "void TQRect::moveTopRight ( const TQPoint & p )"
Sets the top-right position of the rectangle to \fIp\fR, leaving the size unchanged.
.PP
See also topRight(), setTopRight(), moveTopLeft(), moveBottomRight(), and moveBottomLeft().
-.SH "QRect QRect::normalize () const"
+.SH "TQRect TQRect::normalize () const"
Returns a normalized rectangle, i.e. a rectangle that has a non-negative width and height.
.PP
It swaps left and right if left() > right(), and swaps top and bottom if top() > bottom().
@@ -439,77 +439,77 @@ It swaps left and right if left() > right(), and swaps top and bottom if top() >
See also isValid().
.PP
Example: scribble/scribble.cpp.
-.SH "QRect QRect::operator& ( const QRect & r ) const"
+.SH "TQRect TQRect::operator& ( const TQRect & r ) const"
Returns the intersection of this rectangle and rectangle \fIr\fR.
.PP
Returns an empty rectangle if there is no intersection.
.PP
See also operator&=(), operator|(), isEmpty(), intersects(), and contains().
-.SH "QRect & QRect::operator&= ( const QRect & r )"
+.SH "TQRect & TQRect::operator&= ( const TQRect & r )"
Intersects this rectangle with rectangle \fIr\fR.
-.SH "QRect QRect::operator| ( const QRect & r ) const"
+.SH "TQRect TQRect::operator| ( const TQRect & r ) const"
Returns the bounding rectangle of this rectangle and rectangle \fIr\fR.
.PP
The bounding rectangle of a nonempty rectangle and an empty or invalid rectangle is defined to be the nonempty rectangle.
.PP
See also operator|=(), operator&(), intersects(), and contains().
-.SH "QRect & QRect::operator|= ( const QRect & r )"
+.SH "TQRect & TQRect::operator|= ( const TQRect & r )"
Unites this rectangle with rectangle \fIr\fR.
-.SH "QCOORD & QRect::rBottom ()"
+.SH "QCOORD & TQRect::rBottom ()"
Returns a reference to the bottom coordinate of the rectangle.
.PP
See also rLeft(), rTop(), and rRight().
-.SH "QCOORD & QRect::rLeft ()"
+.SH "QCOORD & TQRect::rLeft ()"
Returns a reference to the left coordinate of the rectangle.
.PP
See also rTop(), rRight(), and rBottom().
-.SH "QCOORD & QRect::rRight ()"
+.SH "QCOORD & TQRect::rRight ()"
Returns a reference to the right coordinate of the rectangle.
.PP
See also rLeft(), rTop(), and rBottom().
-.SH "QCOORD & QRect::rTop ()"
+.SH "QCOORD & TQRect::rTop ()"
Returns a reference to the top coordinate of the rectangle.
.PP
See also rLeft(), rRight(), and rBottom().
-.SH "void QRect::rect ( int * x, int * y, int * w, int * h ) const"
+.SH "void TQRect::rect ( int * x, int * y, int * w, int * h ) const"
Extracts the rectangle parameters as the position \fI*x\fR, \fI*y\fR and width \fI*w\fR and height \fI*h\fR.
.PP
See also setRect() and coords().
.PP
Examples:
.)l themes/metal.cpp and themes/wood.cpp.
-.SH "int QRect::right () const"
+.SH "int TQRect::right () const"
Returns the right coordinate of the rectangle.
.PP
See also setRight(), left(), topRight(), and bottomRight().
.PP
Examples:
.)l action/application.cpp, application/application.cpp, customlayout/flow.cpp, desktop/desktop.cpp, scribble/scribble.cpp, t11/cannon.cpp, and themes/wood.cpp.
-.SH "void QRect::setBottom ( int pos )"
+.SH "void TQRect::setBottom ( int pos )"
Sets the bottom edge of the rectangle to \fIpos\fR. May change the height, but will never change the top edge of the rectangle.
.PP
See also bottom(), setTop(), and setHeight().
.PP
Example: scribble/scribble.cpp.
-.SH "void QRect::setBottomLeft ( const QPoint & p )"
+.SH "void TQRect::setBottomLeft ( const TQPoint & p )"
Set the bottom-left corner of the rectangle to \fIp\fR. May change the size, but will the never change the top-right corner of the rectangle.
.PP
See also bottomLeft(), moveBottomLeft(), setTopLeft(), setBottomRight(), and setTopRight().
-.SH "void QRect::setBottomRight ( const QPoint & p )"
+.SH "void TQRect::setBottomRight ( const TQPoint & p )"
Set the bottom-right corner of the rectangle to \fIp\fR. May change the size, but will the never change the top-left corner of the rectangle.
.PP
See also bottomRight(), moveBottomRight(), setTopLeft(), setTopRight(), and setBottomLeft().
-.SH "void QRect::setCoords ( int xp1, int yp1, int xp2, int yp2 )"
+.SH "void TQRect::setCoords ( int xp1, int yp1, int xp2, int yp2 )"
Sets the coordinates of the rectangle's top-left corner to \fI(xp1, yp1)\fR, and the coordinates of its bottom-right corner to \fI(xp2, yp2)\fR.
.PP
See also coords() and setRect().
-.SH "void QRect::setHeight ( int h )"
+.SH "void TQRect::setHeight ( int h )"
Sets the height of the rectangle to \fIh\fR. The top edge is not moved, but the bottom edge may be moved.
.PP
See also height(), setTop(), setBottom(), and setSize().
.PP
Example: desktop/desktop.cpp.
-.SH "void QRect::setLeft ( int pos )"
+.SH "void TQRect::setLeft ( int pos )"
Sets the left edge of the rectangle to \fIpos\fR. May change the width, but will never change the right edge of the rectangle.
.PP
Identical to setX().
@@ -517,25 +517,25 @@ Identical to setX().
See also left(), setTop(), and setWidth().
.PP
Example: scribble/scribble.cpp.
-.SH "void QRect::setRect ( int x, int y, int w, int h )"
+.SH "void TQRect::setRect ( int x, int y, int w, int h )"
Sets the coordinates of the rectangle's top-left corner to \fI(x, y)\fR, and its size to \fI(w, h)\fR.
.PP
See also rect() and setCoords().
.PP
Example: themes/wood.cpp.
-.SH "void QRect::setRight ( int pos )"
+.SH "void TQRect::setRight ( int pos )"
Sets the right edge of the rectangle to \fIpos\fR. May change the width, but will never change the left edge of the rectangle.
.PP
See also right(), setLeft(), and setWidth().
.PP
Example: scribble/scribble.cpp.
-.SH "void QRect::setSize ( const TQSize & s )"
+.SH "void TQRect::setSize ( const TQSize & s )"
Sets the size of the rectangle to \fIs\fR. The top-left corner is not moved.
.PP
See also size(), setWidth(), and setHeight().
.PP
Example: xform/xform.cpp.
-.SH "void QRect::setTop ( int pos )"
+.SH "void TQRect::setTop ( int pos )"
Sets the top edge of the rectangle to \fIpos\fR. May change the height, but will never change the bottom edge of the rectangle.
.PP
Identical to setY().
@@ -543,79 +543,79 @@ Identical to setY().
See also top(), setBottom(), and setHeight().
.PP
Example: scribble/scribble.cpp.
-.SH "void QRect::setTopLeft ( const QPoint & p )"
+.SH "void TQRect::setTopLeft ( const TQPoint & p )"
Set the top-left corner of the rectangle to \fIp\fR. May change the size, but will the never change the bottom-right corner of the rectangle.
.PP
See also topLeft(), moveTopLeft(), setBottomRight(), setTopRight(), and setBottomLeft().
-.SH "void QRect::setTopRight ( const QPoint & p )"
+.SH "void TQRect::setTopRight ( const TQPoint & p )"
Set the top-right corner of the rectangle to \fIp\fR. May change the size, but will the never change the bottom-left corner of the rectangle.
.PP
See also topRight(), moveTopRight(), setTopLeft(), setBottomRight(), and setBottomLeft().
-.SH "void QRect::setWidth ( int w )"
+.SH "void TQRect::setWidth ( int w )"
Sets the width of the rectangle to \fIw\fR. The right edge is changed, but not the left edge.
.PP
See also width(), setLeft(), setRight(), and setSize().
.PP
Example: desktop/desktop.cpp.
-.SH "void QRect::setX ( int x )"
+.SH "void TQRect::setX ( int x )"
Sets the x position of the rectangle (its left end) to \fIx\fR. May change the width, but will never change the right edge of the rectangle.
.PP
Identical to setLeft().
.PP
See also x() and setY().
-.SH "void QRect::setY ( int y )"
+.SH "void TQRect::setY ( int y )"
Sets the y position of the rectangle (its top) to \fIy\fR. May change the height, but will never change the bottom edge of the rectangle.
.PP
Identical to setTop().
.PP
See also y() and setX().
-.SH "TQSize QRect::size () const"
+.SH "TQSize TQRect::size () const"
Returns the size of the rectangle.
.PP
See also width() and height().
.PP
Examples:
.)l desktop/desktop.cpp, movies/main.cpp, and t10/cannon.cpp.
-.SH "int QRect::top () const"
+.SH "int TQRect::top () const"
Returns the top coordinate of the rectangle. Identical to y().
.PP
See also setTop(), bottom(), topLeft(), and topRight().
.PP
Examples:
.)l aclock/aclock.cpp, desktop/desktop.cpp, scribble/scribble.cpp, themes/wood.cpp, tictac/tictac.cpp, and xform/xform.cpp.
-.SH "QPoint QRect::topLeft () const"
+.SH "TQPoint TQRect::topLeft () const"
Returns the top-left position of the rectangle.
.PP
See also setTopLeft(), moveTopLeft(), bottomRight(), left(), and top().
.PP
Examples:
.)l helpsystem/tooltip.cpp, t10/cannon.cpp, and tictac/tictac.cpp.
-.SH "QPoint QRect::topRight () const"
+.SH "TQPoint TQRect::topRight () const"
Returns the top-right position of the rectangle.
.PP
See also setTopRight(), moveTopRight(), bottomLeft(), top(), and right().
.PP
Example: tictac/tictac.cpp.
-.SH "QRect QRect::unite ( const QRect & r ) const"
+.SH "TQRect TQRect::unite ( const TQRect & r ) const"
Returns the bounding rectangle of this rectangle and rectangle \fIr\fR. \fCr.unite(s)\fR is equivalent to \fCr|s\fR.
.PP
Examples:
.)l t11/cannon.cpp, t12/cannon.cpp, and xform/xform.cpp.
-.SH "int QRect::width () const"
+.SH "int TQRect::width () const"
Returns the width of the rectangle. The width includes both the left and right edges, i.e. width = right - left + 1.
.PP
See also height(), size(), and setHeight().
.PP
Examples:
.)l aclock/aclock.cpp, customlayout/border.cpp, desktop/desktop.cpp, movies/main.cpp, themes/metal.cpp, themes/wood.cpp, and xform/xform.cpp.
-.SH "int QRect::x () const"
+.SH "int TQRect::x () const"
Returns the left coordinate of the rectangle. Identical to left().
.PP
See also left(), y(), and setX().
.PP
Examples:
.)l customlayout/border.cpp, desktop/desktop.cpp, movies/main.cpp, scribble/scribble.cpp, t12/cannon.cpp, themes/metal.cpp, and themes/wood.cpp.
-.SH "int QRect::y () const"
+.SH "int TQRect::y () const"
Returns the top coordinate of the rectangle. Identical to top().
.PP
See also top(), x(), and setY().
@@ -623,21 +623,21 @@ See also top(), x(), and setY().
Examples:
.)l desktop/desktop.cpp, movies/main.cpp, scribble/scribble.cpp, t12/cannon.cpp, t14/cannon.cpp, themes/metal.cpp, and themes/wood.cpp.
.SH RELATED FUNCTION DOCUMENTATION
-.SH "bool operator!= ( const QRect & r1, const QRect & r2 )"
+.SH "bool operator!= ( const TQRect & r1, const TQRect & r2 )"
Returns TRUE if \fIr1\fR and \fIr2\fR are different; otherwise returns FALSE.
-.SH "TQDataStream & operator<< ( TQDataStream & s, const QRect & r )"
-Writes the QRect, \fIr\fR, to the stream \fIs\fR, and returns a reference to the stream.
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQRect & r )"
+Writes the TQRect, \fIr\fR, to the stream \fIs\fR, and returns a reference to the stream.
.PP
See also Format of the TQDataStream operators.
-.SH "bool operator== ( const QRect & r1, const QRect & r2 )"
+.SH "bool operator== ( const TQRect & r1, const TQRect & r2 )"
Returns TRUE if \fIr1\fR and \fIr2\fR are equal; otherwise returns FALSE.
-.SH "TQDataStream & operator>> ( TQDataStream & s, QRect & r )"
-Reads a QRect from the stream \fIs\fR into rect \fIr\fR and returns a reference to the stream.
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQRect & r )"
+Reads a TQRect from the stream \fIs\fR into rect \fIr\fR and returns a reference to the stream.
.PP
See also Format of the TQDataStream operators.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqrect.html
+.BR http://doc.trolltech.com/tqrect.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the