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/qurloperator.sip | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'sip/qt/qurloperator.sip') diff --git a/sip/qt/qurloperator.sip b/sip/qt/qurloperator.sip index 4dc3873..20e0d8d 100644 --- a/sip/qt/qurloperator.sip +++ b/sip/qt/qurloperator.sip @@ -35,7 +35,6 @@ This returns a tuple of the bool result and the %If (TQt_NETWORKPROTOCOL) -%If (TQt_2_1_0 -) class TQUrlOperator : TQObject, TQUrl { @@ -60,15 +59,9 @@ public: virtual const TQNetworkOperation *get(const TQString & = TQString::null); virtual const TQNetworkOperation *put(const TQByteArray &, const TQString & = TQString::null); -%If (- TQt_3_0_0) - virtual TQPtrList copy(const TQString &,const TQString &, - bool = 0); -%End -%If (TQt_3_0_0 -) virtual TQPtrList copy(const TQString &, const TQString &,bool = 0, bool = 1); -%End virtual void copy(const TQStringList &,const TQString &,bool = 0); virtual bool isDir(bool * = 0); @@ -88,23 +81,12 @@ signals: void itemChanged(TQNetworkOperation *); void data(const TQByteArray &,TQNetworkOperation *); void dataTransferProgress(int,int,TQNetworkOperation *); -%If (- TQt_3_0_0) - void startedNextCopy(const TQPtrList &); -%End -%If (TQt_3_0_0 -) void startedNextCopy(const TQPtrList &); -%End void connectionStateChanged(int,const TQString &); protected: -%If (- TQt_3_0_0) - virtual void reset(); - virtual bool parse(const TQString &); -%End -%If (TQt_3_0_0 -) void reset(); bool parse(const TQString &); -%End virtual bool checkValid(); virtual void clearEntries(); void getNetworkProtocol(); @@ -112,4 +94,3 @@ protected: }; %End -%End -- cgit v1.2.3