diff options
author | aneejit1 <[email protected]> | 2022-07-29 12:36:09 +0000 |
---|---|---|
committer | aneejit1 <[email protected]> | 2022-07-30 17:54:15 +0000 |
commit | 33a0297b35ab40e2d09cf37e351095b58725c8d5 (patch) | |
tree | 7eb6d8c710dcb638f2ac00776a3f523311e19c50 /sip/qt/qtabdialog.sip | |
parent | e602246539fd7435aaeb440fcb7f852c92c8426b (diff) | |
download | pytqt-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 <[email protected]>
Diffstat (limited to 'sip/qt/qtabdialog.sip')
-rw-r--r-- | sip/qt/qtabdialog.sip | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/sip/qt/qtabdialog.sip b/sip/qt/qtabdialog.sip index 609e748..0cfe69a 100644 --- a/sip/qt/qtabdialog.sip +++ b/sip/qt/qtabdialog.sip @@ -44,97 +44,50 @@ public: void show(); void setFont(const TQFont &); -%If (- TQt_2_00) - void addTab(TQWidget *,const char *); -%End -%If (TQt_2_00 -) void addTab(TQWidget *,const TQString &); void addTab(TQWidget *,const TQIconSet &,const TQString &); -%End void addTab(TQWidget *,TQTab *); -%If (TQt_2_00 -) void insertTab(TQWidget *,const TQString &,int = -1); void insertTab(TQWidget *,const TQIconSet &,const TQString &,int = -1); void insertTab(TQWidget *,TQTab *,int = -1); void changeTab(TQWidget *,const TQString &); void changeTab(TQWidget *,const TQIconSet &,const TQString &); -%End -%If (TQt_2_00 -) bool isTabEnabled(TQWidget *) const; void setTabEnabled(TQWidget *,bool); -%End -%If (- TQt_3_0_0) - bool isTabEnabled(const char *) const; - void setTabEnabled(const char *,bool); -%End void showPage(TQWidget *); -%If (TQt_2_00 -) void removePage(TQWidget *); TQString tabLabel(TQWidget *); -%End -%If (- TQt_2_00) - const char *tabLabel(TQWidget *); -%End -%If (TQt_2_00 -) TQWidget *currentPage() const; -%End -%If (- TQt_2_00) - void setDefaultButton(const char * = "Defaults"); -%End -%If (TQt_2_00 -) void setDefaultButton(const TQString &); void setDefaultButton(); -%End bool hasDefaultButton() const; -%If (TQt_2_00 -) void setHelpButton(const TQString &); void setHelpButton(); bool hasHelpButton() const; -%End -%If (- TQt_2_00) - void setCancelButton(const char * = "Cancel"); -%End -%If (TQt_2_00 -) void setCancelButton(const TQString &); void setCancelButton(); -%End bool hasCancelButton() const; -%If (- TQt_2_00) - void setApplyButton(const char * = "Apply"); -%End -%If (TQt_2_00 -) void setApplyButton(const TQString &); void setApplyButton(); -%End bool hasApplyButton() const; -%If (- TQt_2_00) - void setOkButton(const char * = "OK"); -%End -%If (TQt_2_00 -) void setOkButton(const TQString &); void setOkButton(); -%End bool hasOkButton() const; protected: void paintEvent(TQPaintEvent *); void resizeEvent(TQResizeEvent *); -%If (- TQt_2_00) - void styleChange(GUIStyle); -%End -%If (TQt_2_00 -) void styleChange(TQStyle &); -%End void setTabBar(TQTabBar *); TQTabBar *tabBar() const; @@ -144,24 +97,12 @@ signals: void applyButtonPressed(); void cancelButtonPressed(); void defaultButtonPressed(); -%If (TQt_2_00 -) void helpButtonPressed(); -%End -%If (TQt_2_2_0 -) void currentChanged(TQWidget *); -%End -%If (- TQt_2_00) - void selected(const char *); -%End -%If (TQt_2_00 - TQt_3_0_0) - void selected(const TQString &); -%End private: -%If (TQt_2_1_0 -) TQTabDialog(const TQTabDialog &); -%End }; %End |