summaryrefslogtreecommitdiffstats
path: root/sip/qt/qslider.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/qslider.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/qslider.sip')
-rw-r--r--sip/qt/qslider.sip68
1 files changed, 0 insertions, 68 deletions
diff --git a/sip/qt/qslider.sip b/sip/qt/qslider.sip
index e23e950..28d42e5 100644
--- a/sip/qt/qslider.sip
+++ b/sip/qt/qslider.sip
@@ -36,12 +36,6 @@ class TQSlider : TQWidget, TQRangeControl
%End
public:
-%If (- TQt_2_00)
- enum Orientation {
- Horizontal,
- Vertical
- };
-%End
enum TickSetting {
NoMarks = 0,
@@ -52,54 +46,24 @@ public:
Both = 3
};
-%If (- TQt_2_00)
- TQSlider(TQWidget * /TransferThis/ = 0,const char * = 0);
- TQSlider(Orientation,TQWidget * /TransferThis/ = 0,const char * = 0);
- TQSlider(int,int,int,int,Orientation,TQWidget * /TransferThis/ = 0,const char * = 0);
-%End
-%If (TQt_2_00 -)
TQSlider(TQWidget * /TransferThis/,const char * = 0);
TQSlider(Orientation,TQWidget * /TransferThis/,const char * = 0);
TQSlider(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;
-%If (- TQt_2_00)
- void setPalette(const TQPalette &);
-%End
-%If (TQt_2_00 -)
virtual void setPalette(const TQPalette &);
-%End
-%If (TQt_3_0_0 -)
int sliderStart() const;
-%End
TQRect sliderRect() const;
TQSize sizeHint() const;
-%If (TQt_3_1_0 -)
void setSizePolicy(TQSizePolicy);
-%End
-%If (TQt_3_2_0 -)
void setSizePolicy(TQSizePolicy::SizeType,TQSizePolicy::SizeType,
bool = 0);
-%End
-%If (TQt_2_00 -)
TQSizePolicy sizePolicy() const;
TQSize minimumSizeHint() const;
-%End
virtual void setTickmarks(TickSetting);
TickSetting tickmarks() const;
@@ -107,7 +71,6 @@ public:
virtual void setTickInterval(int);
int tickInterval() const;
-%If (TQt_2_1_0 -)
int minValue() const;
int maxValue() const;
void setMinValue(int);
@@ -117,21 +80,13 @@ public:
void setLineStep(int);
void setPageStep(int);
int value() const;
-%End
public slots:
-%If (- TQt_2_00)
- void setValue(int);
-%End
-%If (TQt_2_00 -)
virtual void setValue(int);
-%End
void addStep();
void subtractStep();
-%If (TQt_3_1_0 -)
void addLine();
void subtractLine();
-%End
signals:
void valueChanged(int);
@@ -147,41 +102,18 @@ protected:
void mousePressEvent(TQMouseEvent *);
void mouseReleaseEvent(TQMouseEvent *);
void mouseMoveEvent(TQMouseEvent *);
-%If (TQt_2_00 -)
void wheelEvent(TQWheelEvent *);
-%End
void focusInEvent(TQFocusEvent *);
-%If (TQt_2_00 -)
void focusOutEvent(TQFocusEvent *);
-%End
-%If (TQt_2_00 -)
void styleChange(TQStyle &);
-%End
void valueChange();
void rangeChange();
-%If (- TQt_3_0_0)
- void drawWinGroove(TQPainter *,TQCOORD);
- void drawTicks(TQPainter *,int,int,int = 1) const;
- virtual int thickness() const;
-%End
-
-%If (- TQt_2_00)
- virtual void paintSlider(TQPainter *,const TQRect &);
-%End
-%If (TQt_2_00 - TQt_3_0_0)
- void updateMask();
- virtual void paintSlider(TQPainter *,const TQColorGroup &,const TQRect &);
- void drawTicks(TQPainter *,const TQColorGroup &,int,int,int = 1) const;
-%End
-
private:
-%If (TQt_2_00 -)
int positionFromValue(int) const;
int valueFromPosition(int) const;
-%End
TQSlider(const TQSlider &);
};