From 33a0297b35ab40e2d09cf37e351095b58725c8d5 Mon Sep 17 00:00:00 2001 From: aneejit1 Date: Fri, 29 Jul 2022 12:36:09 +0000 Subject: 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 --- sip/qt/qtabdialog.sip | 59 --------------------------------------------------- 1 file changed, 59 deletions(-) (limited to 'sip/qt/qtabdialog.sip') 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 -- cgit v1.2.1