summaryrefslogtreecommitdiffstats
path: root/sip/qt/qmotifstyle.sip
diff options
context:
space:
mode:
authoraneejit1 <[email protected]>2022-07-29 12:36:09 +0000
committeraneejit1 <[email protected]>2022-07-30 17:54:15 +0000
commit33a0297b35ab40e2d09cf37e351095b58725c8d5 (patch)
tree7eb6d8c710dcb638f2ac00776a3f523311e19c50 /sip/qt/qmotifstyle.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 <[email protected]>
Diffstat (limited to 'sip/qt/qmotifstyle.sip')
-rw-r--r--sip/qt/qmotifstyle.sip56
1 files changed, 0 insertions, 56 deletions
diff --git a/sip/qt/qmotifstyle.sip b/sip/qt/qmotifstyle.sip
index c849433..e018a8e 100644
--- a/sip/qt/qmotifstyle.sip
+++ b/sip/qt/qmotifstyle.sip
@@ -53,7 +53,6 @@ This takes only the <Literal>t</Literal> parameter and returns a tuple of the
%End
-%If (TQt_2_00 -)
%If (TQt_STYLE_MOTIF)
class TQMotifStyle : TQCommonStyle
@@ -74,57 +73,6 @@ public:
void polishPopupMenu( const TQStyleControlElementData&, ControlElementFlags, void * );
-%If (- TQt_3_0_0)
- 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 drawFocusRect(TQPainter *,const TQRect &,const TQColorGroup &,
- const TQColor * =0,bool = 0);
-
-%If (TQt_2_1_0 -)
- 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);
-%End
-
- void drawPushButton(TQPushButton *,TQPainter *);
- void drawArrow(TQPainter *,ArrowType,bool,int,int,int,int,
- const TQColorGroup &,bool,const TQBrush * = 0);
- TQSize indicatorSize() const;
- void drawIndicator(TQPainter *,int,int,int,int,const TQColorGroup &,int,
- bool = 0,bool = 1);
- TQSize exclusiveIndicatorSize() const;
- void drawExclusiveIndicator(TQPainter *,int,int,int,int,
- const TQColorGroup &,bool,bool = 0,bool = 1);
- void drawExclusiveIndicatorMask(TQPainter *,int,int,int,int,bool);
-
- void tabbarMetrics(const TQTabBar *,int &,int &,int &);
-
- void drawTab(TQPainter *,const TQTabBar *,TQTab *,bool);
- void drawTabMask(TQPainter *,const TQTabBar *,TQTab *,bool);
-
- void scrollBarMetrics(const TQScrollBar *,int &,int &,int &,int &);
-
- void drawScrollBarControls(TQPainter *,const TQScrollBar *,int,uint,uint);
- int sliderLength() const;
- void drawSlider(TQPainter *,int,int,int,int,const TQColorGroup &,
- Orientation,bool,bool);
- void drawSliderGroove(TQPainter *,int,int,int,int,const TQColorGroup &,
- TQCOORD,Orientation);
- int splitterWidth() const;
- void drawSplitter(TQPainter *,int,int,int,int,const TQColorGroup &,
- Orientation);
- void drawCheckMark(TQPainter *,int,int,int,int,const TQColorGroup &,bool,
- bool);
- void polishPopupMenu(TQPopupMenu *);
- int extraPopupMenuItemWidth(bool,int,TQMenuItem *,const TQFontMetrics &);
- int popupMenuItemHeight(bool,TQMenuItem *,const TQFontMetrics &);
- void drawPopupMenuItem(TQPainter *,bool,int,int,TQMenuItem *,
- const TQPalette &,bool,bool,int,int,int,int);
-%End
-%If (TQt_3_0_0 -)
void drawPrimitive(PrimitiveElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags,const TQRect &,
const TQColorGroup &,SFlags = Style_Default,
const TQStyleOption & = TQStyleOption()) const;
@@ -156,13 +104,9 @@ public:
int styleHint(StyleHint,const TQStyleControlElementData&,ControlElementFlags,
const TQStyleOption & = TQStyleOption(),
TQStyleHintReturn * = 0, const TQWidget * = 0) const;
-%End
private:
-%If (TQt_3_0_0 -)
TQMotifStyle(const TQMotifStyle &);
-%End
};
%End
-%End