summaryrefslogtreecommitdiffstats
path: root/sip/qt/qwmatrix.sip
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-07-29 12:36:09 +0000
committeraneejit1 <aneejit1@gmail.com>2022-07-30 17:54:15 +0000
commit33a0297b35ab40e2d09cf37e351095b58725c8d5 (patch)
tree7eb6d8c710dcb638f2ac00776a3f523311e19c50 /sip/qt/qwmatrix.sip
parente602246539fd7435aaeb440fcb7f852c92c8426b (diff)
downloadpytqt-33a0297b35ab40e2d09cf37e351095b58725c8d5.tar.gz
pytqt-33a0297b35ab40e2d09cf37e351095b58725c8d5.zip
Remove support for earlier Qt/TQt versions
Conditional code in the .sip files linked to specific older versions has been removed. Since the versions of TQt and python-tqt are running in parallel, the support for older versions was clutter that would never actually be used now. Signed-off-by: aneejit1 <aneejit1@gmail.com>
Diffstat (limited to 'sip/qt/qwmatrix.sip')
-rw-r--r--sip/qt/qwmatrix.sip36
1 files changed, 0 insertions, 36 deletions
diff --git a/sip/qt/qwmatrix.sip b/sip/qt/qwmatrix.sip
index a6a6828..965130e 100644
--- a/sip/qt/qwmatrix.sip
+++ b/sip/qt/qwmatrix.sip
@@ -86,37 +86,24 @@ class TQWMatrix
public:
TQWMatrix();
-%If (- TQt_2_00)
- TQWMatrix(float,float,float,float,float,float);
-%End
-%If (TQt_2_00 -)
TQWMatrix(double,double,double,double,double,double);
-%End
void map(int /Constrained/,int /Constrained/,int *,int *) const;
-%If (TQt_3_0_0 -)
TQRect mapRect(const TQRect &) const;
-%End
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 (TQt_3_0_0 -)
bool isIdentity() const;
bool isInvertible() const;
-%End
-%If (TQt_3_1_0 -)
double det() const;
-%End
TQWMatrix invert(bool * = 0) const;
@@ -124,15 +111,12 @@ public:
bool operator!=(const TQWMatrix &) const;
TQWMatrix &operator*=(const TQWMatrix &);
-%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 (TQt_3_1_0 -)
enum TransformationMode {
Points,
Areas
@@ -140,26 +124,7 @@ public:
static void setTransformationMode(TransformationMode);
static TransformationMode transformationMode();
-%End
-%If (- TQt_2_00)
- void setMatrix(float,float,float,float,float,float);
- float m11();
- float m12();
- float m21();
- float m22();
- float dx();
- float dy();
-
- void map(float,float,float *,float *) const;
-
- TQWMatrix &translate(float,float);
- TQWMatrix &scale(float,float);
- TQWMatrix &shear(float,float);
- TQWMatrix &rotate(float);
-%End
-
-%If (TQt_2_00 -)
void setMatrix(double,double,double,double,double,double);
double m11();
double m12();
@@ -174,5 +139,4 @@ public:
TQWMatrix &scale(double,double);
TQWMatrix &shear(double,double);
TQWMatrix &rotate(double);
-%End
};