summaryrefslogtreecommitdiffstats
path: root/sip/qt/qrect.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qrect.sip')
-rw-r--r--sip/qt/qrect.sip118
1 files changed, 59 insertions, 59 deletions
diff --git a/sip/qt/qrect.sip b/sip/qt/qrect.sip
index 0f5f213..50575b1 100644
--- a/sip/qt/qrect.sip
+++ b/sip/qt/qrect.sip
@@ -1,27 +1,27 @@
-// This is the SIP interface definition for QRect.
+// This is the SIP interface definition for TQRect.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// This file is part of PyQt.
+// This file is part of PyTQt.
//
-// This copy of PyQt is free software; you can redistribute it and/or modify it
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
//
-// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
-// PyQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
%ExportedDoc
-<Sect2><Title>QRect</Title>
+<Sect2><Title>TQRect</Title>
<Para>
The Python
<Literal>&amp;</Literal>, <Literal>&amp;=</Literal>,
@@ -53,67 +53,67 @@ This takes no parameters and returns a tuple containing the four values.
</Para>
<FuncSynopsis>
- <FuncDef>QCOORD &amp;<Function>rBottom</Function></FuncDef>
+ <FuncDef>TQCOORD &amp;<Function>rBottom</Function></FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
-Not implemented. (Qt v2+)
+Not implemented. (TQt v2+)
</Para>
<FuncSynopsis>
- <FuncDef>QCOORD &amp;<Function>rLeft</Function></FuncDef>
+ <FuncDef>TQCOORD &amp;<Function>rLeft</Function></FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
-Not implemented. (Qt v2+)
+Not implemented. (TQt v2+)
</Para>
<FuncSynopsis>
- <FuncDef>QCOORD &amp;<Function>rRight</Function></FuncDef>
+ <FuncDef>TQCOORD &amp;<Function>rRight</Function></FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
-Not implemented. (Qt v2+)
+Not implemented. (TQt v2+)
</Para>
<FuncSynopsis>
- <FuncDef>QCOORD &amp;<Function>rTop</Function></FuncDef>
+ <FuncDef>TQCOORD &amp;<Function>rTop</Function></FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
-Not implemented. (Qt v2+)
+Not implemented. (TQt v2+)
</Para>
</Sect2>
%End
-class QRect
+class TQRect
{
%TypeHeaderCode
#include <qrect.h>
%End
public:
- QRect();
- QRect(const QPoint &,const QPoint &);
- QRect(const QPoint &,const QSize &);
- QRect(int,int,int,int);
+ TQRect();
+ TQRect(const TQPoint &,const TQPoint &);
+ TQRect(const TQPoint &,const TQSize &);
+ TQRect(int,int,int,int);
bool isNull() const;
bool isEmpty() const;
bool isValid() const;
- QRect normalize() const;
+ TQRect normalize() const;
int left() const;
int top() const;
int right() const;
int bottom() const;
-%If (Qt_2_00 -)
-// QCOORD &rLeft();
-// QCOORD &rTop();
-// QCOORD &rRight();
-// QCOORD &rBottom();
+%If (TQt_2_00 -)
+// TQCOORD &rLeft();
+// TQCOORD &rTop();
+// TQCOORD &rRight();
+// TQCOORD &rBottom();
%End
int x() const;
@@ -125,83 +125,83 @@ public:
void setX(int);
void setY(int);
-%If (Qt_3_1_0 -)
- void setTopLeft(const QPoint &);
- void setBottomRight(const QPoint &);
- void setTopRight(const QPoint &);
- void setBottomLeft(const QPoint &);
+%If (TQt_3_1_0 -)
+ void setTopLeft(const TQPoint &);
+ void setBottomRight(const TQPoint &);
+ void setTopRight(const TQPoint &);
+ void setBottomLeft(const TQPoint &);
%End
- QPoint topLeft() const;
- QPoint bottomRight() const;
- QPoint topRight() const;
- QPoint bottomLeft() const;
- QPoint center() const;
+ TQPoint topLeft() const;
+ TQPoint bottomRight() const;
+ TQPoint topRight() const;
+ TQPoint bottomLeft() const;
+ TQPoint center() const;
void rect(int *,int *,int *,int *) const;
void coords(int *,int *,int *,int *) const;
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
void moveLeft(int);
void moveTop(int);
void moveRight(int);
void moveBottom(int);
%End
- void moveTopLeft(const QPoint &);
- void moveBottomLeft(const QPoint &);
- void moveTopRight(const QPoint &);
- void moveBottomRight(const QPoint &);
- void moveCenter(const QPoint &);
+ void moveTopLeft(const TQPoint &);
+ void moveBottomLeft(const TQPoint &);
+ void moveTopRight(const TQPoint &);
+ void moveBottomRight(const TQPoint &);
+ void moveCenter(const TQPoint &);
void moveBy(int,int);
void setRect(int,int,int,int);
void setCoords(int,int,int,int);
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
void addCoords(int,int,int,int);
%End
- QSize size() const;
+ TQSize size() const;
int width() const;
int height() const;
void setWidth(int);
void setHeight(int);
- void setSize(const QSize &);
+ void setSize(const TQSize &);
- QRect operator|(const QRect &) const;
- QRect operator&(const QRect &) const;
- QRect &operator|=(const QRect &);
- QRect &operator&=(const QRect &);
+ TQRect operator|(const TQRect &) const;
+ TQRect operator&(const TQRect &) const;
+ TQRect &operator|=(const TQRect &);
+ TQRect &operator&=(const TQRect &);
int __nonzero__() const;
%MethodCode
sipRes = sipCpp -> isValid();
%End
- bool contains(const QPoint &,bool = 0) const;
+ bool contains(const TQPoint &,bool = 0) const;
- int __contains__(const QPoint &) const;
+ int __contains__(const TQPoint &) const;
%MethodCode
sipRes = sipCpp -> contains(*a0);
%End
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
bool contains(int,int) const;
bool contains(int,int,bool) const;
%End
-%If (Qt_2_2_0 - Qt_3_1_0)
+%If (TQt_2_2_0 - TQt_3_1_0)
bool contains(int,int,bool = 0) const;
%End
- bool contains(const QRect &,bool = 0) const;
+ bool contains(const TQRect &,bool = 0) const;
- int __contains__(const QRect &) const;
+ int __contains__(const TQRect &) const;
%MethodCode
sipRes = sipCpp -> contains(*a0);
%End
- QRect unite(const QRect &) const;
- QRect intersect(const QRect &) const;
- bool intersects(const QRect &) const;
+ TQRect unite(const TQRect &) const;
+ TQRect intersect(const TQRect &) const;
+ bool intersects(const TQRect &) const;
};
-bool operator==(const QRect &,const QRect &);
-bool operator!=(const QRect &,const QRect &);
+bool operator==(const TQRect &,const TQRect &);
+bool operator!=(const TQRect &,const TQRect &);