summaryrefslogtreecommitdiffstats
path: root/sip/qt/qwidgetstack.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/qwidgetstack.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/qwidgetstack.sip')
-rw-r--r--sip/qt/qwidgetstack.sip22
1 files changed, 0 insertions, 22 deletions
diff --git a/sip/qt/qwidgetstack.sip b/sip/qt/qwidgetstack.sip
index 0f9ad7c..9451970 100644
--- a/sip/qt/qwidgetstack.sip
+++ b/sip/qt/qwidgetstack.sip
@@ -37,25 +37,16 @@ class TQWidgetStack : TQFrame
public:
TQWidgetStack(TQWidget * /TransferThis/ = 0,const char * = 0);
-%If (TQt_3_1_0 -)
TQWidgetStack(TQWidget * /TransferThis/,const char *,WFlags);
-%End
// The TQWidget has it's parent changed to be `this' so it will be
// deleted automatically when `this' is deleted. It stays this way
// even if removeWidget() is called, so it isn't transferred back.
-%If (- TQt_3_0_0)
- void addWidget(TQWidget * /Transfer/,int);
-%End
-%If (TQt_3_0_0 -)
int addWidget(TQWidget * /Transfer/,int = -1);
-%End
void removeWidget(TQWidget *);
-%If (TQt_2_00 -)
TQSize sizeHint() const;
TQSize minimumSizeHint() const;
-%End
void show();
TQWidget *widget(int) const;
@@ -63,13 +54,7 @@ public:
TQWidget *visibleWidget() const;
-%If (TQt_2_00 -)
void setFrameRect(const TQRect &);
-%End
-
-%If (- TQt_2_00)
- bool event(TQEvent *);
-%End
signals:
void aboutToShow(int);
@@ -81,18 +66,11 @@ public slots:
protected:
void frameChanged();
-%If (- TQt_2_00)
- void setChildGeometries();
-%End
-%If (TQt_2_00 -)
void resizeEvent(TQResizeEvent *);
virtual void setChildGeometries();
void childEvent(TQChildEvent *);
-%End
private:
-%If (TQt_2_1_0 -)
TQWidgetStack(const TQWidgetStack &);
-%End
};