summaryrefslogtreecommitdiffstats
path: root/sip/qt/qmotifplusstyle.sip
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-07-29 12:36:09 +0000
committerSlávek Banko <slavek.banko@axis.cz>2022-07-31 16:43:31 +0200
commit30381ed7e532384067ad63b4631950d821313199 (patch)
tree88fc97a0997db6456391b72c4df8345a46ae627d /sip/qt/qmotifplusstyle.sip
parent4978511ebb7e8d31dab64485d1ac87b6e004be81 (diff)
downloadpytqt-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/qmotifplusstyle.sip')
-rw-r--r--sip/qt/qmotifplusstyle.sip47
1 files changed, 0 insertions, 47 deletions
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 <Literal>sb</Literal> 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