summaryrefslogtreecommitdiffstats
path: root/sip/qt/qwmatrix.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qwmatrix.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qt/qwmatrix.sip')
-rw-r--r--sip/qt/qwmatrix.sip96
1 files changed, 48 insertions, 48 deletions
diff --git a/sip/qt/qwmatrix.sip b/sip/qt/qwmatrix.sip
index 1bb8cdc..ee482de 100644
--- a/sip/qt/qwmatrix.sip
+++ b/sip/qt/qwmatrix.sip
@@ -1,38 +1,38 @@
-// This is the SIP interface definition for QWMatrix.
+// This is the SIP interface definition for TQWMatrix.
//
// 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>QWMatrix</Title>
+<Sect2><Title>TQWMatrix</Title>
<Para>
The Python <Literal>==</Literal>, <Literal>!=</Literal> and
<Literal>*=</Literal> operators are supported.
</Para>
<FuncSynopsis>
- <FuncDef>QWMatrix <Function>invert</Function> const</FuncDef>
+ <FuncDef>TQWMatrix <Function>invert</Function> const</FuncDef>
<ParamDef>bool *<Parameter>invertible</Parameter> = 0</ParamDef>
</FuncSynopsis>
<Para>
-This takes no parameters and returns a tuple of the <Literal>QWMatrix</Literal>
+This takes no parameters and returns a tuple of the <Literal>TQWMatrix</Literal>
result and the <Literal>invertible</Literal> value.
</Para>
@@ -59,7 +59,7 @@ values.
<Para>
This takes the <Literal>x</Literal> and <Literal>y</Literal> parameters and
returns a tuple containing the <Literal>tx</Literal> and <Literal>ty</Literal>
-values. (Qt v1.x)
+values. (TQt v1.x)
</Para>
<FuncSynopsis>
@@ -72,67 +72,67 @@ values. (Qt v1.x)
<Para>
This takes the <Literal>x</Literal> and <Literal>y</Literal> parameters and
returns a tuple containing the <Literal>tx</Literal> and <Literal>ty</Literal>
-values. (Qt v2+)
+values. (TQt v2+)
</Para>
</Sect2>
%End
-class QWMatrix
+class TQWMatrix
{
%TypeHeaderCode
#include <qwmatrix.h>
%End
public:
- QWMatrix();
-%If (- Qt_2_00)
- QWMatrix(float,float,float,float,float,float);
+ TQWMatrix();
+%If (- TQt_2_00)
+ TQWMatrix(float,float,float,float,float,float);
%End
-%If (Qt_2_00 -)
- QWMatrix(double,double,double,double,double,double);
+%If (TQt_2_00 -)
+ TQWMatrix(double,double,double,double,double,double);
%End
void map(int /Constrained/,int /Constrained/,int *,int *) const;
-%If (Qt_3_0_0 -)
- QRect mapRect(const QRect &) const;
+%If (TQt_3_0_0 -)
+ TQRect mapRect(const TQRect &) const;
%End
- QPoint map(const QPoint &) const;
- QRect map(const QRect &); const
- QPointArray map(const QPointArray &) const;
-%If (Qt_3_1_0 -)
- QRegion map(const QRegion &) const;
- QRegion mapToRegion(const QRect &) const;
- QPointArray mapToPolygon(const QRect &) const;
+ TQPoint map(const TQPoint &) const;
+ TQRect map(const TQRect &); const
+ TQPointArray map(const TQPointArray &) const;
+%If (TQt_3_1_0 -)
+ TQRegion map(const TQRegion &) const;
+ TQRegion mapToRegion(const TQRect &) const;
+ TQPointArray mapToPolygon(const TQRect &) const;
%End
void reset();
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
bool isIdentity() const;
bool isInvertible() const;
%End
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
double det() const;
%End
- QWMatrix invert(bool * = 0) const;
+ TQWMatrix invert(bool * = 0) const;
- bool operator==(const QWMatrix &) const;
- bool operator!=(const QWMatrix &) const;
- QWMatrix &operator*=(const QWMatrix &);
+ bool operator==(const TQWMatrix &) const;
+ bool operator!=(const TQWMatrix &) const;
+ TQWMatrix &operator*=(const TQWMatrix &);
-%If (Qt_3_0_0 -)
- // These aren't documented but are used in Qt examples.
- QPoint operator*(const QPoint &) const;
- QRegion operator*(const QRect &) const;
- QRegion operator*(const QRegion &) const;
- QPointArray operator*(const QPointArray &) const;
+%If (TQt_3_0_0 -)
+ // These aren't documented but are used in TQt examples.
+ TQPoint operator*(const TQPoint &) const;
+ TQRegion operator*(const TQRect &) const;
+ TQRegion operator*(const TQRegion &) const;
+ TQPointArray operator*(const TQPointArray &) const;
%End
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
enum TransformationMode {
Points,
Areas
@@ -142,7 +142,7 @@ public:
static TransformationMode transformationMode();
%End
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setMatrix(float,float,float,float,float,float);
float m11();
float m12();
@@ -153,13 +153,13 @@ public:
void map(float,float,float *,float *) const;
- QWMatrix &translate(float,float);
- QWMatrix &scale(float,float);
- QWMatrix &shear(float,float);
- QWMatrix &rotate(float);
+ TQWMatrix &translate(float,float);
+ TQWMatrix &scale(float,float);
+ TQWMatrix &shear(float,float);
+ TQWMatrix &rotate(float);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
void setMatrix(double,double,double,double,double,double);
double m11();
double m12();
@@ -170,9 +170,9 @@ public:
void map(double,double,double *,double *) const;
- QWMatrix &translate(double,double);
- QWMatrix &scale(double,double);
- QWMatrix &shear(double,double);
- QWMatrix &rotate(double);
+ TQWMatrix &translate(double,double);
+ TQWMatrix &scale(double,double);
+ TQWMatrix &shear(double,double);
+ TQWMatrix &rotate(double);
%End
};