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/qbuttongroup.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/qbuttongroup.sip')
-rw-r--r-- | sip/qt/qbuttongroup.sip | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sip/qt/qbuttongroup.sip b/sip/qt/qbuttongroup.sip index e593e28..74fae53 100644 --- a/sip/qt/qbuttongroup.sip +++ b/sip/qt/qbuttongroup.sip @@ -38,51 +38,30 @@ class TQButtonGroup : TQGroupBox public: TQButtonGroup(TQWidget * /TransferThis/ = 0,const char * = 0); -%If (- TQt_2_00) - TQButtonGroup(const char *,TQWidget * /TransferThis/ = 0, - const char * = 0); -%End -%If (TQt_2_00 -) TQButtonGroup(const TQString &,TQWidget * /TransferThis/ = 0, const char * = 0); TQButtonGroup(int,Orientation,TQWidget * /TransferThis/ = 0, const char * = 0); TQButtonGroup(int,Orientation,const TQString &, TQWidget * /TransferThis/ = 0,const char * = 0); -%End bool isExclusive() const; -%If (- TQt_2_00) - void setExclusive(bool); - void setButton(int); -%End -%If (TQt_2_00 -) bool isRadioButtonExclusive() const; virtual void setExclusive(bool); virtual void setRadioButtonExclusive(bool); -%End int insert(TQButton *,int = -1); void remove(TQButton *); TQButton *find(int) const; -%If (TQt_2_00 -) int id(TQButton *) const; int count() const; virtual void setButton(int); virtual void moveFocus(int); -%End -%If (TQt_2_00 - TQt_3_0_0) - TQButton *selected(); -%End -%If (TQt_3_0_0 -) TQButton *selected() const; -%End -%If (TQt_3_2_0 -) int selectedId() const; -%End signals: void pressed(int); @@ -96,9 +75,7 @@ protected slots: void buttonToggled(bool); protected: -%If (TQt_3_1_0 -) bool event(TQEvent *); -%End private: TQButtonGroup(const TQButtonGroup &); |