diff options
Diffstat (limited to 'sip/qtnetwork/qsocketdevice.sip')
-rw-r--r-- | sip/qtnetwork/qsocketdevice.sip | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sip/qtnetwork/qsocketdevice.sip b/sip/qtnetwork/qsocketdevice.sip index cd39996..c74b3f8 100644 --- a/sip/qtnetwork/qsocketdevice.sip +++ b/sip/qtnetwork/qsocketdevice.sip @@ -23,9 +23,9 @@ %ExportedDoc <Sect2><Title>TQSocketDevice (TQt v2.2+)</Title> <FuncSynopsis> - <FuncDef>Q_LONG <Function>readBlock</Function></FuncDef> + <FuncDef>TQ_LONG <Function>readBlock</Function></FuncDef> <ParamDef>char *<Parameter>data</Parameter></ParamDef> - <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef> + <ParamDef>TQ_ULONG <Parameter>len</Parameter></ParamDef> </FuncSynopsis> <Para> This takes a single <Literal>len</Literal> parameter. The @@ -34,9 +34,9 @@ This takes a single <Literal>len</Literal> parameter. The </Para> <FuncSynopsis> - <FuncDef>Q_LONG <Function>writeBlock</Function></FuncDef> + <FuncDef>TQ_LONG <Function>writeBlock</Function></FuncDef> <ParamDef>const char *<Parameter>data</Parameter></ParamDef> - <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef> + <ParamDef>TQ_ULONG <Parameter>len</Parameter></ParamDef> </FuncSynopsis> <Para> <Literal>len</Literal> is derived from <Literal>data</Literal> and not passed @@ -110,9 +110,9 @@ public: int sendBufferSize() const; virtual void setSendBufferSize(uint); - virtual bool connect(const TQHostAddress &,Q_UINT16); + virtual bool connect(const TQHostAddress &,TQ_UINT16); - virtual bool bind(const TQHostAddress &,Q_UINT16); + virtual bool bind(const TQHostAddress &,TQ_UINT16); virtual bool listen(int); virtual int accept(); @@ -121,8 +121,8 @@ public: int waitForMore(int) const /ReleaseGIL/; %End %If (TQt_3_0_0 -) - Q_LONG bytesAvailable() const; - Q_LONG waitForMore(int) const /ReleaseGIL/; + TQ_LONG bytesAvailable() const; + TQ_LONG waitForMore(int) const /ReleaseGIL/; %End %If (- TQt_3_0_0) @@ -154,10 +154,10 @@ public: int writeBlock(const char * /Array/,uint /ArraySize/) /ReleaseGIL/; virtual int writeBlock(const char * /Array/,uint /ArraySize/, - const TQHostAddress &,Q_UINT16) /ReleaseGIL/; + const TQHostAddress &,TQ_UINT16) /ReleaseGIL/; %End %If (TQt_3_0_0 -) - SIP_PYOBJECT readBlock(Q_ULONG) /ReleaseGIL/ [Q_LONG (char *,Q_ULONG)]; + SIP_PYOBJECT readBlock(TQ_ULONG) /ReleaseGIL/ [TQ_LONG (char *,TQ_ULONG)]; %MethodCode char *buf; @@ -165,7 +165,7 @@ public: sipIsErr = 1; else { - Q_LONG actlen; + TQ_LONG actlen; Py_BEGIN_ALLOW_THREADS actlen = sipSelfWasArg ? sipCpp->TQSocketDevice::readBlock(buf, a0) : sipCpp->readBlock(buf, a0); @@ -184,18 +184,18 @@ public: %End - Q_LONG writeBlock(const char * /Array/, - Q_ULONG /ArraySize/) /ReleaseGIL/; - virtual Q_LONG writeBlock(const char * /Array/,Q_ULONG /ArraySize/, - const TQHostAddress &,Q_UINT16) /ReleaseGIL/; + TQ_LONG writeBlock(const char * /Array/, + TQ_ULONG /ArraySize/) /ReleaseGIL/; + virtual TQ_LONG writeBlock(const char * /Array/,TQ_ULONG /ArraySize/, + const TQHostAddress &,TQ_UINT16) /ReleaseGIL/; %End int getch(); int putch(int); int ungetch(int); - Q_UINT16 port() const; - Q_UINT16 peerPort() const; + TQ_UINT16 port() const; + TQ_UINT16 peerPort() const; TQHostAddress address() const; TQHostAddress peerAddress() const; |