diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-02 21:37:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-06 11:24:55 +0900 |
commit | 7552c6d73043b1040139033f6864db48ae5446cf (patch) | |
tree | f90d24d072dd3ee6a3f909bf7778abc7669f03ef /doc/man/man3/tqrect.3qt | |
parent | c113da2069b66130f67a0f27c699e1cec83588a5 (diff) | |
download | tqt-7552c6d7.tar.gz tqt-7552c6d7.zip |
Rename main window nt* related files to equivalent tq*. The file
"ntqsession.h" was totally unnecessary and has been removed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqrect.3qt')
-rw-r--r-- | doc/man/man3/tqrect.3qt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqrect.3qt b/doc/man/man3/tqrect.3qt index 80b56227b..68141b0ee 100644 --- a/doc/man/man3/tqrect.3qt +++ b/doc/man/man3/tqrect.3qt @@ -20,7 +20,7 @@ QRect \- Defines a rectangle in the plane .BI "\fBQRect\fR ( const QPoint & topLeft, const QPoint & bottomRight )" .br .ti -1c -.BI "\fBQRect\fR ( const QPoint & topLeft, const QSize & size )" +.BI "\fBQRect\fR ( const QPoint & topLeft, const TQSize & size )" .br .ti -1c .BI "\fBQRect\fR ( int left, int top, int width, int height )" @@ -158,7 +158,7 @@ QRect \- Defines a rectangle in the plane .BI "void \fBaddCoords\fR ( int xp1, int yp1, int xp2, int yp2 )" .br .ti -1c -.BI "QSize \fBsize\fR () const" +.BI "TQSize \fBsize\fR () const" .br .ti -1c .BI "int \fBwidth\fR () const" @@ -173,7 +173,7 @@ QRect \- Defines a rectangle in the plane .BI "void \fBsetHeight\fR ( int h )" .br .ti -1c -.BI "void \fBsetSize\fR ( const QSize & s )" +.BI "void \fBsetSize\fR ( const TQSize & s )" .br .ti -1c .BI "QRect \fBoperator|\fR ( const QRect & r ) const" @@ -237,17 +237,17 @@ 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 QSize. 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 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(). .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(). .PP -See also QPoint, QSize, Graphics Classes, and Image Processing Classes. +See also QPoint, TQSize, Graphics Classes, and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QRect::QRect ()" Constructs an invalid rectangle. .SH "QRect::QRect ( const QPoint & topLeft, const QPoint & 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 QSize & size )" +.SH "QRect::QRect ( const QPoint & 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 )" Constructs a rectangle with the \fItop\fR, \fIleft\fR corner and \fIwidth\fR and \fIheight\fR. @@ -258,7 +258,7 @@ Example (creates three identical rectangles): .br QRect r1( QPoint(100,200), QPoint(110,215) ); .br - QRect r2( QPoint(100,200), QSize(11,16) ); + QRect r2( QPoint(100,200), TQSize(11,16) ); .br QRect r3( 100, 200, 11, 16 ); .br @@ -529,7 +529,7 @@ Sets the right edge of the rectangle to \fIpos\fR. May change the width, but wil See also right(), setLeft(), and setWidth(). .PP Example: scribble/scribble.cpp. -.SH "void QRect::setSize ( const QSize & s )" +.SH "void QRect::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(). @@ -569,7 +569,7 @@ Sets the y position of the rectangle (its top) to \fIy\fR. May change the height Identical to setTop(). .PP See also y() and setX(). -.SH "QSize QRect::size () const" +.SH "TQSize QRect::size () const" Returns the size of the rectangle. .PP See also width() and height(). |