summaryrefslogtreecommitdiffstats
path: root/sip/qt/qnetworkprotocol.sip
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-07-29 12:36:09 +0000
committerSlávek Banko <slavek.banko@axis.cz>2022-07-31 16:43:31 +0200
commit30381ed7e532384067ad63b4631950d821313199 (patch)
tree88fc97a0997db6456391b72c4df8345a46ae627d /sip/qt/qnetworkprotocol.sip
parent4978511ebb7e8d31dab64485d1ac87b6e004be81 (diff)
downloadpytqt-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/qnetworkprotocol.sip')
-rw-r--r--sip/qt/qnetworkprotocol.sip41
1 files changed, 0 insertions, 41 deletions
diff --git a/sip/qt/qnetworkprotocol.sip b/sip/qt/qnetworkprotocol.sip
index d8f9d1e..034f0f3 100644
--- a/sip/qt/qnetworkprotocol.sip
+++ b/sip/qt/qnetworkprotocol.sip
@@ -43,7 +43,6 @@
%If (TQt_NETWORKPROTOCOL)
-%If (TQt_2_1_0 -)
class TQNetworkProtocolFactoryBase
{
@@ -72,17 +71,6 @@ public:
StStopped
};
-%If (- TQt_3_0_0)
- enum Operation {
- OpListChildren,
- OpMkdir,
- OpRemove,
- OpRename,
- OpGet,
- OpPut
- };
-%End
-%If (TQt_3_0_0 -)
enum Operation {
OpListChildren,
OpMkDir,
@@ -91,7 +79,6 @@ public:
OpGet,
OpPut
};
-%End
enum ConnectionState {
ConHostFound,
@@ -99,26 +86,6 @@ public:
ConClosed
};
-%If (- TQt_3_0_0)
- enum Error {
- NoError,
- ErrValid,
- ErrUnknownProtocol,
- ErrUnsupported,
- ErrParse,
- ErrLoginIncorrect,
- ErrHostNotFound,
- ErrListChlidren,
- ErrMkdir,
- ErrRemove,
- ErrRename,
- ErrGet,
- ErrPut,
- ErrFileNotExisting,
- ErrPermissionDenied
- };
-%End
-%If (TQt_3_0_0 -)
enum Error {
NoError,
ErrValid,
@@ -136,7 +103,6 @@ public:
ErrFileNotExisting,
ErrPermissionDenied
};
-%End
TQNetworkProtocol();
@@ -178,15 +144,11 @@ protected:
virtual void operationRename(TQNetworkOperation *);
virtual void operationGet(TQNetworkOperation *);
virtual void operationPut(TQNetworkOperation *);
-%If (TQt_3_0_0 -)
virtual void operationPutChunk(TQNetworkOperation *);
-%End
virtual bool checkConnection(TQNetworkOperation *);
private:
-%If (TQt_3_1_0 -)
TQNetworkProtocol(const TQNetworkProtocol &);
-%End
};
@@ -218,10 +180,7 @@ public:
void free();
private:
-%If (TQt_3_1_0 -)
TQNetworkOperation(const TQNetworkOperation &);
-%End
};
%End
-%End