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/qdatetimeedit.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/qdatetimeedit.sip')
-rw-r--r-- | sip/qt/qdatetimeedit.sip | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/sip/qt/qdatetimeedit.sip b/sip/qt/qdatetimeedit.sip index 46aa7bf..c32fcef 100644 --- a/sip/qt/qdatetimeedit.sip +++ b/sip/qt/qdatetimeedit.sip @@ -42,8 +42,6 @@ %End -%If (TQt_3_0_0 -) - // TQDateEdit actually inherits TQDateTimeEditBase but that's an internal class // and isn't exported under Windows in all versions. @@ -66,9 +64,6 @@ public: TQSize sizeHint() const; TQSize minimumSizeHint() const; -%If (- TQt_3_1_0) - virtual void setDate(const TQDate &); -%End TQDate date() const; virtual void setOrder(Order); Order order() const; @@ -83,14 +78,10 @@ public: TQString separator() const; virtual void setSeparator(const TQString &); -%If (TQt_3_2_0 -) void removeFirstNumber(int); -%End public slots: -%If (TQt_3_1_0 -) virtual void setDate(const TQDate &); -%End signals: void valueChanged(const TQDate &); @@ -116,9 +107,7 @@ protected slots: void updateButtons(); private: -%If (TQt_3_1_0 -) TQDateEdit(const TQDateEdit &); -%End }; @@ -132,23 +121,18 @@ class TQTimeEdit : TQWidget %End public: -%If (TQt_3_1_0 -) enum Display { Hours, Minutes, Seconds, AMPM }; -%End TQTimeEdit(TQWidget * /TransferThis/ = 0,const char * = 0); TQTimeEdit(const TQTime &,TQWidget * /TransferThis/ = 0,const char * = 0); TQSize sizeHint() const; TQSize minimumSizeHint() const; -%If (- TQt_3_1_0) - virtual void setTime(const TQTime &); -%End TQTime time() const; virtual void setAutoAdvance(bool); bool autoAdvance() const; @@ -161,19 +145,13 @@ public: TQString separator() const; virtual void setSeparator(const TQString &); -%If (TQt_3_1_0 -) uint display() const; void setDisplay(uint); -%End -%If (TQt_3_2_0 -) void removeFirstNumber(int); -%End public slots: -%If (TQt_3_1_0 -) virtual void setTime(const TQTime &); -%End signals: void valueChanged(const TQTime &); @@ -198,9 +176,7 @@ protected slots: void updateButtons(); private: -%If (TQt_3_1_0 -) TQTimeEdit(const TQTimeEdit &); -%End }; @@ -217,9 +193,6 @@ public: TQSize sizeHint() const; TQSize minimumSizeHint() const; -%If (- TQt_3_1_0) - virtual void setDateTime(const TQDateTime &); -%End TQDateTime dateTime() const; TQDateEdit* dateEdit(); @@ -229,9 +202,7 @@ public: bool autoAdvance() const; public slots: -%If (TQt_3_1_0 -) virtual void setDateTime(const TQDateTime &); -%End signals: void valueChanged(const TQDateTime &); @@ -239,18 +210,11 @@ signals: protected: void init(); void resizeEvent(TQResizeEvent *); -%If (- TQt_3_1_2) - void layoutEditors(); -%End protected slots: void newValue(const TQDate &); void newValue(const TQTime &); private: -%If (TQt_3_1_0 -) TQDateTimeEdit(const TQDateTimeEdit &); -%End }; - -%End |