From 30381ed7e532384067ad63b4631950d821313199 Mon Sep 17 00:00:00 2001 From: aneejit1 Date: Fri, 29 Jul 2022 12:36:09 +0000 Subject: 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 (cherry picked from commit 33a0297b35ab40e2d09cf37e351095b58725c8d5) --- sip/qt/qmotifplusstyle.sip | 47 ---------------------------------------------- 1 file changed, 47 deletions(-) (limited to 'sip/qt/qmotifplusstyle.sip') diff --git a/sip/qt/qmotifplusstyle.sip b/sip/qt/qmotifplusstyle.sip index 08b92df..d4d847b 100644 --- a/sip/qt/qmotifplusstyle.sip +++ b/sip/qt/qmotifplusstyle.sip @@ -51,7 +51,6 @@ This takes only the sb parameter and returns a tuple of the %If (TQt_STYLE_MOTIFPLUS) -%If (TQt_2_2_0 -) class TQMotifPlusStyle : TQMotifStyle { @@ -60,12 +59,7 @@ class TQMotifPlusStyle : TQMotifStyle %End public: -%If (- TQt_3_0_5) - TQMotifPlusStyle(bool = 0); -%End -%If (TQt_3_0_5 -) TQMotifPlusStyle(bool = 1); -%End void polish(TQPalette &pal); void polish(const TQStyleControlElementData&, ControlElementFlags, void *); @@ -74,45 +68,6 @@ public: void applicationPolish(const TQStyleControlElementData&, ControlElementFlags, void *); void applicationUnPolish(const TQStyleControlElementData&, ControlElementFlags, void *); -%If (- TQt_3_0_0) - int defaultFrameWidth() const; - void drawArrow(TQPainter *,ArrowType,bool,int,int,int,int, - const TQColorGroup &,bool,const TQBrush * = 0); - void drawMenuBarItem(TQPainter *,int,int,int,int,TQMenuItem *, - TQColorGroup &,bool,bool); - void drawPopupMenuItem(TQPainter *,bool,int,int,TQMenuItem *, - const TQPalette &,bool,bool,int,int,int,int); - void drawPushButton(TQPushButton *,TQPainter *); - void drawButton(TQPainter *,int,int,int,int,const TQColorGroup &,bool = 0, - const TQBrush * = 0); - void drawBevelButton(TQPainter *,int,int,int,int,const TQColorGroup &, - bool = 0,const TQBrush * = 0); - - void getButtonShift(int &,int &); - - void drawComboButton(TQPainter *,int,int,int,int,const TQColorGroup &, - bool = 0,bool = 0,bool = 1,const TQBrush * = 0); - TQRect comboButtonRect(int,int,int,int); - TQRect comboButtonFocusRect(int,int,int,int); - void drawIndicator(TQPainter *,int,int,int,int,const TQColorGroup &,int, - bool = 0,bool = 1); - TQSize indicatorSize() const; - void drawExclusiveIndicator(TQPainter *,int,int,int,int, - const TQColorGroup &,bool,bool = 0,bool = 1); - TQSize exclusiveIndicatorSize() const; - void drawPanel(TQPainter *,int,int,int,int,const TQColorGroup &,bool = 0, - int = 1,const TQBrush * = 0); - - void scrollBarMetrics(const TQScrollBar *,int &,int &,int &,int &); - - void drawScrollBarControls(TQPainter *,const TQScrollBar *,int,uint,uint); - void drawTab(TQPainter *,const TQTabBar *,TQTab *,bool); - void drawSlider(TQPainter *,int,int,int,int,const TQColorGroup &, - Orientation,bool,bool); - void drawSliderGroove(TQPainter *,int,int,int,int,const TQColorGroup &, - TQCOORD,Orientation); -%End -%If (TQt_3_0_0 -) void drawPrimitive(PrimitiveElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags,const TQRect &, const TQColorGroup &,SFlags = Style_Default, const TQStyleOption & = TQStyleOption()) const; @@ -139,11 +94,9 @@ public: int styleHint(StyleHint,const TQStyleControlElementData&,ControlElementFlags, const TQStyleOption & = TQStyleOption(), TQStyleHintReturn * = 0, const TQWidget * = 0) const; -%End protected: bool eventFilter(TQObject *,TQEvent *); }; %End -%End -- cgit v1.2.1