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/qsplitter.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/qsplitter.sip')
-rw-r--r-- | sip/qt/qsplitter.sip | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/sip/qt/qsplitter.sip b/sip/qt/qsplitter.sip index 30f28b8..182b706 100644 --- a/sip/qt/qsplitter.sip +++ b/sip/qt/qsplitter.sip @@ -45,116 +45,58 @@ class TQSplitter : TQFrame %End public: -%If (- TQt_2_00) - enum Orientation { - Horizontal, - Vertical - }; -%End - enum ResizeMode { Stretch, KeepSize, -%If (TQt_2_1_0 -) FollowSizeHint, -%End -%If (TQt_3_1_0 -) Auto -%End }; TQSplitter(TQWidget * /TransferThis/ = 0,const char * = 0); TQSplitter(Orientation,TQWidget * /TransferThis/ = 0,const char * = 0); -%If (- TQt_2_00) - void setOrientation(Orientation); -%End -%If (TQt_2_00 -) virtual void setOrientation(Orientation); -%End Orientation orientation() const; -%If (TQt_3_2_0 -) void setChildrenCollapsible(bool); bool childrenCollapsible() const; void setCollapsible(TQWidget *,bool); -%End -%If (- TQt_2_00) - void setResizeMode(TQWidget *,ResizeMode); - void setOpaqueResize(bool = 1); -%End -%If (TQt_2_00 -) virtual void setResizeMode(TQWidget *,ResizeMode); virtual void setOpaqueResize(bool = 1); -%End bool opaqueResize() const; void moveToFirst(TQWidget *); void moveToLast(TQWidget *); void refresh(); -%If (TQt_2_00 -) TQSize sizeHint() const; TQSize minimumSizeHint() const; -%End -%If (TQt_2_00 - TQt_3_0_0) - TQSizePolicy sizePolicy() const; -%End -%If (TQt_2_00 -) TQValueList<int> sizes() const; void setSizes(TQValueList<int>); -%End -%If (TQt_3_2_0 -) int handleWidth() const; void setHandleWidth(int); -%End - -%If (- TQt_2_00) - bool event(TQEvent *); -%End protected: -%If (TQt_2_00 -) void childEvent(TQChildEvent *); bool event(TQEvent *); -%End void resizeEvent(TQResizeEvent *); -%If (- TQt_2_00) - void childInsertEvent(TQChildEvent *); - void childRemoveEvent(TQChildEvent *); - void layoutHintEvent(TQEvent *); - - void moveSplitter(TQCOORD); -%End -%If (TQt_2_00 -) int idAfter(TQWidget *) const; void moveSplitter(TQCOORD,int); -%End virtual void drawSplitter(TQPainter *,TQCOORD,TQCOORD,TQCOORD,TQCOORD); -%If (TQt_2_1_0 -) void styleChange(TQStyle &); -%End -%If (- TQt_2_00) - int adjustPos(int); - void setRubberband(int); -%End -%If (TQt_2_00 -) int adjustPos(int,int); virtual void setRubberband(int); void getRange(int,int *,int *); -%End private: -%If (TQt_2_1_0 -) TQSplitter(const TQSplitter &); -%End }; %End |