summaryrefslogtreecommitdiffstats
path: root/sip/qt/qcommonstyle.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/qcommonstyle.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/qcommonstyle.sip')
-rw-r--r--sip/qt/qcommonstyle.sip32
1 files changed, 0 insertions, 32 deletions
diff --git a/sip/qt/qcommonstyle.sip b/sip/qt/qcommonstyle.sip
index 63a0959..9eb4463 100644
--- a/sip/qt/qcommonstyle.sip
+++ b/sip/qt/qcommonstyle.sip
@@ -48,8 +48,6 @@ This takes only the <Literal>t</Literal> parameter and returns a tuple of the
%End
-%If (TQt_2_00 -)
-
class TQCommonStyle : TQStyle
{
%TypeHeaderCode
@@ -57,26 +55,6 @@ class TQCommonStyle : TQStyle
%End
public:
-%If (- TQt_3_0_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);
- void drawComboButtonMask(TQPainter *,int,int,int,int);
- void drawPushButtonLabel(TQPushButton *,TQPainter *);
- void getButtonShift(int &,int &);
- int defaultFrameWidth() const;
- void tabbarMetrics(const TQTabBar *,int &,int &,int &);
- void drawTab(TQPainter *,const TQTabBar *,TQTab *,bool);
- void drawTabMask(TQPainter *,const TQTabBar *,TQTab *,bool);
- ScrollControl scrollBarPointOver(const TQScrollBar *,int,const TQPoint &);
- void drawSliderMask(TQPainter *,int,int,int,int,Orientation,bool,bool);
- void drawSliderGrooveMask(TQPainter *,int,int,int,int,TQCOORD,Orientation);
- int maximumSliderDragDistance() const;
- int popupSubmenuIndicatorWidth(const TQFontMetrics &);
-%End
-
-%If (TQt_3_0_0 -)
TQCommonStyle();
void drawPrimitive(PrimitiveElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags,const TQRect &,
@@ -122,16 +100,6 @@ public:
TQPixmap stylePixmap(StylePixmap,const TQStyleControlElementData&,ControlElementFlags,
const TQStyleOption & = TQStyleOption(), const TQWidget * = 0) const;
-%End
-
private:
-%If (- TQt_3_0_0)
- TQCommonStyle(GUIStyle);
- ~TQCommonStyle();
-%End
-%If (TQt_3_0_0 -)
TQCommonStyle(const TQCommonStyle &);
-%End
};
-
-%End