diff options
author | aneejit1 <aneejit1@gmail.com> | 2022-07-29 12:36:09 +0000 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-07-31 16:43:31 +0200 |
commit | 30381ed7e532384067ad63b4631950d821313199 (patch) | |
tree | 88fc97a0997db6456391b72c4df8345a46ae627d /sip/qt/qscrollbar.sip | |
parent | 4978511ebb7e8d31dab64485d1ac87b6e004be81 (diff) | |
download | pytqt-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/qscrollbar.sip')
-rw-r--r-- | sip/qt/qscrollbar.sip | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/sip/qt/qscrollbar.sip b/sip/qt/qscrollbar.sip index 57abc14..dc6a096 100644 --- a/sip/qt/qscrollbar.sip +++ b/sip/qt/qscrollbar.sip @@ -36,66 +36,23 @@ class TQScrollBar : TQWidget, TQRangeControl %End public: -%If (- TQt_2_00) - enum Orientation { - Horizontal, - Vertical - }; -%End - -%If (- TQt_2_00) - TQScrollBar(TQWidget * /TransferThis/ = 0,const char * = 0); - TQScrollBar(Orientation,TQWidget * /TransferThis/ = 0,const char * = 0); - TQScrollBar(int,int,int,int,int,Orientation, - TQWidget * /TransferThis/ = 0,const char * = 0); -%End -%If (TQt_2_00 -) TQScrollBar(TQWidget * /TransferThis/,const char * = 0); TQScrollBar(Orientation,TQWidget * /TransferThis/,const char * = 0); TQScrollBar(int,int,int,int,int,Orientation,TQWidget * /TransferThis/, const char * = 0); -%End -%If (- TQt_2_00) - void setOrientation(Orientation); -%End -%If (TQt_2_00 -) virtual void setOrientation(Orientation); -%End Orientation orientation() const; -%If (- TQt_2_00) - void setTracking(bool); -%End -%If (TQt_2_00 -) virtual void setTracking(bool); -%End bool tracking() const; bool draggingSlider() const; -%If (TQt_2_00 -) virtual void setPalette(const TQPalette &); -%End -%If (- TQt_2_00) - void setPalette(const TQPalette &); -%End -%If (TQt_3_1_0 -) virtual TQSize sizeHint() const; -%End -%If (- TQt_3_1_0) - TQSize sizeHint() const; -%End -%If (TQt_3_1_0 -) virtual void setSizePolicy(TQSizePolicy); -%End -%If (TQt_3_2_0 -) void setSizePolicy(TQSizePolicy::SizeType,TQSizePolicy::SizeType, bool = 0); -%End -%If (TQt_2_00 - TQt_3_0_0) - TQSizePolicy sizePolicy() const; -%End -%If (TQt_2_1_0 -) int minValue() const; int maxValue() const; void setMinValue(int); @@ -105,20 +62,12 @@ public: void setLineStep(int); void setPageStep(int); int value() const; -%End -%If (- TQt_3_0_0) - void setValue(int); -%End -%If (TQt_3_0_0 -) int sliderStart() const; TQRect sliderRect() const; -%End public slots: -%If (TQt_3_0_0 -) void setValue(int); -%End signals: void valueChanged(int); @@ -131,9 +80,7 @@ signals: void prevPage(); protected: -%If (TQt_2_00 -) void wheelEvent(TQWheelEvent *); -%End void keyPressEvent(TQKeyEvent *); void resizeEvent(TQResizeEvent *); void paintEvent(TQPaintEvent *); @@ -141,29 +88,14 @@ protected: void mousePressEvent(TQMouseEvent *); void mouseReleaseEvent(TQMouseEvent *); void mouseMoveEvent(TQMouseEvent *); -%If (TQt_3_0_0 -) void contextMenuEvent(TQContextMenuEvent *); -%End -%If (TQt_3_0_4 -) void hideEvent(TQHideEvent *); -%End void valueChange(); void stepChange(); void rangeChange(); -%If (- TQt_3_0_0) - int sliderStart() const; - TQRect sliderRect() const; -%End - -%If (- TQt_2_00) - void timerEvent(TQTimerEvent *); -%End - -%If (TQt_2_00 -) void styleChange(TQStyle &); -%End private: TQScrollBar(const TQScrollBar &); |