diff options
author | aneejit1 <aneejit1@gmail.com> | 2022-07-29 12:36:09 +0000 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-07-31 16:43:31 +0200 |
commit | 30381ed7e532384067ad63b4631950d821313199 (patch) | |
tree | 88fc97a0997db6456391b72c4df8345a46ae627d /sip/qt/qsizepolicy.sip | |
parent | 4978511ebb7e8d31dab64485d1ac87b6e004be81 (diff) | |
download | pytqt-30381ed7e532384067ad63b4631950d821313199.tar.gz pytqt-30381ed7e532384067ad63b4631950d821313199.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>
(cherry picked from commit 33a0297b35ab40e2d09cf37e351095b58725c8d5)
Diffstat (limited to 'sip/qt/qsizepolicy.sip')
-rw-r--r-- | sip/qt/qsizepolicy.sip | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sip/qt/qsizepolicy.sip b/sip/qt/qsizepolicy.sip index a82c066..4f981e4 100644 --- a/sip/qt/qsizepolicy.sip +++ b/sip/qt/qsizepolicy.sip @@ -29,8 +29,6 @@ %End -%If (TQt_2_00 -) - class TQSizePolicy { %TypeHeaderCode @@ -46,32 +44,22 @@ public: Preferred, MinimumExpanding, Expanding, -%If (TQt_3_0_0 -) Ignored -%End }; enum ExpandData { NoDirection, -%If (TQt_3_0_0 -) Horizontally, Vertically, -%End -%If (- TQt_3_0_0) - Horizontal, - Vertical, -%End BothDirections }; TQSizePolicy(); TQSizePolicy(SizeType,SizeType,bool = 0); -%If (TQt_3_0_0 -) // Note that TQt defines the 2nd and 3rd parameters as uchar, but it's // really using them as numbers, not characters. TQSizePolicy(SizeType,SizeType,uint,uint,bool = 0); -%End SizeType horData() const; SizeType verData() const; @@ -89,15 +77,9 @@ public: void setHeightForWidth(bool); bool hasHeightForWidth() const; -%If (TQt_3_0_0 -) uint horStretch() const; uint verStretch() const; void setHorStretch(uint); void setVerStretch(uint); -%End -%If (TQt_3_1_0 -) void transpose(); -%End }; - -%End |