summaryrefslogtreecommitdiffstats
path: root/sip/qt/qwindowsstyle.sip
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-07-29 12:36:09 +0000
committeraneejit1 <aneejit1@gmail.com>2022-07-30 17:54:15 +0000
commit33a0297b35ab40e2d09cf37e351095b58725c8d5 (patch)
tree7eb6d8c710dcb638f2ac00776a3f523311e19c50 /sip/qt/qwindowsstyle.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 <aneejit1@gmail.com>
Diffstat (limited to 'sip/qt/qwindowsstyle.sip')
-rw-r--r--sip/qt/qwindowsstyle.sip72
1 files changed, 0 insertions, 72 deletions
diff --git a/sip/qt/qwindowsstyle.sip b/sip/qt/qwindowsstyle.sip
index 877d60d..72e5f83 100644
--- a/sip/qt/qwindowsstyle.sip
+++ b/sip/qt/qwindowsstyle.sip
@@ -64,7 +64,6 @@ This takes only the <Literal>t</Literal> parameter and returns a tuple of the
%If (TQt_STYLE_WINDOWS)
-%If (TQt_2_00 -)
class TQWindowsStyle : TQCommonStyle
{
@@ -75,7 +74,6 @@ class TQWindowsStyle : TQCommonStyle
public:
TQWindowsStyle();
-%If (TQt_3_3_0 -)
void applicationPolish(const TQStyleControlElementData&, ControlElementFlags, void *);
void applicationUnPolish(const TQStyleControlElementData&, ControlElementFlags, void *);
@@ -85,64 +83,7 @@ public:
void polish( TQPalette & );
virtual void polishPopupMenu( const TQStyleControlElementData&, ControlElementFlags, void * );
-%End
-
-%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);
- void drawPushButton(TQPushButton *,TQPainter *);
-
- void getButtonShift(int &,int &);
-
- void drawPanel(TQPainter *,int,int,int,int,const TQColorGroup &,
- bool = 0,int = 1,const TQBrush * = 0);
- void drawPopupPanel(TQPainter *,int,int,int,int,const TQColorGroup &,
- int = 2,const TQBrush * = 0);
- 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 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 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 drawSliderMask(TQPainter *,int,int,int,int,Orientation,bool,bool);
- void drawSliderGroove(TQPainter *,int,int,int,int,const TQColorGroup &,
- TQCOORD,Orientation);
- int maximumSliderDragDistance() const;
- 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;
@@ -169,24 +110,11 @@ public:
TQPixmap stylePixmap(StylePixmap,const TQStyleControlElementData&,ControlElementFlags,
const TQStyleOption & = TQStyleOption(), const TQWidget * = 0) const;
-%End
-%If (TQt_3_1_0 -)
TQRect subRect(SubRect,const TQStyleControlElementData&, const ControlElementFlags,const TQWidget *) const;
-%End
-
-protected:
-%If (- TQt_3_0_0)
- void drawWinShades(TQPainter *,int,int,int,int,const TQColor &,
- const TQColor &,const TQColor &,const TQColor &,
- const TQBrush *);
-%End
private:
-%If (TQt_3_0_0 -)
TQWindowsStyle(const TQWindowsStyle &);
-%End
};
%End
-%End