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/qpen.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/qpen.sip')
-rw-r--r-- | sip/qt/qpen.sip | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/sip/qt/qpen.sip b/sip/qt/qpen.sip index e6c9774..b80752b 100644 --- a/sip/qt/qpen.sip +++ b/sip/qt/qpen.sip @@ -30,42 +30,6 @@ %End -%If (- TQt_2_00) - -enum PenStyle { - NoPen, - SolidLine, - DashLine, - DotLine, - DashDotLine, - DashDotDotLine -}; - - -class TQPen -{ -%TypeHeaderCode -#include <tqpen.h> -%End - -public: - TQPen(); - TQPen(PenStyle); - TQPen(const TQColor &,uint = 0,PenStyle = SolidLine); - TQPen(const TQPen &); - - PenStyle style() const; - void setStyle(PenStyle); - uint width() const; - void setWidth(uint); - const TQColor &color() const; - void setColor(const TQColor &); -}; - -%End - -%If (TQt_2_00 -) - class TQPen : TQt { %TypeHeaderCode @@ -76,9 +40,7 @@ public: TQPen(); TQPen(PenStyle); TQPen(const TQColor &,uint = 0,PenStyle = SolidLine); -%If (TQt_2_1_0 -) TQPen(const TQColor &,uint,PenStyle,PenCapStyle,PenJoinStyle); -%End TQPen(const TQPen &); PenStyle style() const; @@ -87,15 +49,11 @@ public: void setWidth(uint); const TQColor &color() const; void setColor(const TQColor &); -%If (TQt_2_1_0 -) PenCapStyle capStyle() const; void setCapStyle(PenCapStyle); PenJoinStyle joinStyle() const; void setJoinStyle(PenJoinStyle); -%End bool operator==(const TQPen &) const; bool operator!=(const TQPen &) const; }; - -%End |