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/qpushbutton.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/qpushbutton.sip')
-rw-r--r-- | sip/qt/qpushbutton.sip | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/sip/qt/qpushbutton.sip b/sip/qt/qpushbutton.sip index 4fb26b1..77c4d7a 100644 --- a/sip/qt/qpushbutton.sip +++ b/sip/qt/qpushbutton.sip @@ -37,107 +37,46 @@ class TQPushButton : TQButton %End public: -%If (- TQt_2_00) - TQPushButton(TQWidget * /TransferThis/ = 0,const char * = 0); - TQPushButton(const char *,TQWidget * /TransferThis/ = 0,const char * = 0); -%End -%If (TQt_2_00 -) TQPushButton(TQWidget * /TransferThis/,const char * = 0); TQPushButton(const TQString &,TQWidget * /TransferThis/,const char * = 0); -%End -%If (TQt_2_1_0 -) TQPushButton(const TQIconSet &,const TQString &,TQWidget * /TransferThis/,const char * = 0); -%End TQSize sizeHint() const; -%If (TQt_2_00 - TQt_3_0_0) - TQSizePolicy sizePolicy() const; -%End void move(int,int); void move(const TQPoint &); void resize(int,int); void resize(const TQSize &); -%If (- TQt_2_00) - void setGeometry(int,int,int,int); - - void setGeometry(const TQRect &); - - void setToggleButton(bool); -%End -%If (TQt_2_00 - TQt_3_0_0) - virtual void setGeometry(int,int,int,int); - - virtual void setGeometry(const TQRect &); - - virtual void setToggleButton(bool); -%End -%If (TQt_3_0_0 -) void setGeometry(int,int,int,int); void setGeometry(const TQRect &); void setToggleButton(bool); -%End bool autoDefault() const; -%If (- TQt_2_00) - void setAutoDefault(bool); -%End -%If (TQt_2_00 -) virtual void setAutoDefault(bool); -%End bool isDefault() const; -%If (- TQt_2_00) - void setDefault(bool); -%End -%If (TQt_2_00 -) virtual void setDefault(bool); -%End - -%If (- TQt_2_00) - void setIsMenuButton(bool); -%End -%If (TQt_2_00 - TQt_3_0_0) - virtual void setIsMenuButton(bool); -%End -%If (- TQt_3_0_0) - bool isMenuButton() const; -%End -%If (TQt_2_1_0 -) void setPopup(TQPopupMenu *); TQPopupMenu *popup() const; void setIconSet(const TQIconSet &); TQIconSet *iconSet() const; -%End -%If (TQt_2_2_0 -) void setFlat(bool); bool isFlat() const; -%End public slots: -%If (- TQt_2_00) - void setOn(bool); -%End -%If (TQt_2_00 -) virtual void setOn(bool); -%End -%If (- TQt_3_0_0) - void toggle(); -%End protected: void drawButton(TQPainter *); void drawButtonLabel(TQPainter *); void focusInEvent(TQFocusEvent *); -%If (TQt_2_00 -) void focusOutEvent(TQFocusEvent *); void resizeEvent(TQResizeEvent *); void updateMask(); -%End private: TQPushButton(const TQPushButton &); |