diff options
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 |