summaryrefslogtreecommitdiffstats
path: root/sip/qtnetwork/qsocket.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qtnetwork/qsocket.sip')
-rw-r--r--sip/qtnetwork/qsocket.sip42
1 files changed, 21 insertions, 21 deletions
diff --git a/sip/qtnetwork/qsocket.sip b/sip/qtnetwork/qsocket.sip
index 24710c4..17dcd87 100644
--- a/sip/qtnetwork/qsocket.sip
+++ b/sip/qtnetwork/qsocket.sip
@@ -23,9 +23,9 @@
%ExportedDoc
<Sect2><Title>TQSocket (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>readLine</Function></FuncDef>
+ <FuncDef>TQ_LONG <Function>readLine</Function></FuncDef>
<ParamDef>char *<Parameter>data</Parameter></ParamDef>
- <ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
+ <ParamDef>TQ_ULONG <Parameter>maxlen</Parameter></ParamDef>
</FuncSynopsis>
<Para>
This takes a single <Literal>maxlen</Literal> parameter. The
@@ -45,9 +45,9 @@ This takes a single <Literal>maxlen</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
@@ -136,7 +136,7 @@ public:
%End
%If (TQt_DNS)
- virtual void connectToHost(const TQString &,Q_UINT16) /ReleaseGIL/;
+ virtual void connectToHost(const TQString &,TQ_UINT16) /ReleaseGIL/;
%End
TQString peerName() const;
@@ -156,10 +156,10 @@ public:
bool atEnd() const;
%If (TQt_3_0_0 -)
- Q_ULONG bytesAvailable() const;
- Q_ULONG waitForMore(int) const /ReleaseGIL/;
- //Q_ULONG waitForMore(int,bool *) const /ReleaseGIL/;
- Q_ULONG bytesToWrite() const;
+ TQ_ULONG bytesAvailable() const;
+ TQ_ULONG waitForMore(int) const /ReleaseGIL/;
+ //TQ_ULONG waitForMore(int,bool *) const /ReleaseGIL/;
+ TQ_ULONG bytesToWrite() const;
%End
%If (- TQt_3_0_0)
int bytesAvailable() const;
@@ -240,7 +240,7 @@ public:
%End
%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;
@@ -248,7 +248,7 @@ public:
sipIsErr = 1;
else
{
- Q_LONG actlen;
+ TQ_LONG actlen;
Py_BEGIN_ALLOW_THREADS
actlen = sipSelfWasArg ? sipCpp->TQSocket::readBlock(buf, a0) : sipCpp->readBlock(buf, a0);
@@ -273,10 +273,10 @@ public:
}
%End
- Q_LONG writeBlock(const char * /Array/,
- Q_ULONG /ArraySize/) /ReleaseGIL/;
+ TQ_LONG writeBlock(const char * /Array/,
+ TQ_ULONG /ArraySize/) /ReleaseGIL/;
- SIP_PYOBJECT readLine(Q_ULONG) /ReleaseGIL/ [Q_LONG (char *,Q_ULONG)];
+ SIP_PYOBJECT readLine(TQ_ULONG) /ReleaseGIL/ [TQ_LONG (char *,TQ_ULONG)];
%MethodCode
char *buf;
@@ -284,7 +284,7 @@ public:
sipIsErr = 1;
else
{
- Q_LONG actlen;
+ TQ_LONG actlen;
Py_BEGIN_ALLOW_THREADS
actlen = sipCpp -> readLine(buf,a0);
@@ -317,14 +317,14 @@ public:
bool canReadLine() const;
virtual TQString readLine() /ReleaseGIL/;
- Q_UINT16 port() const;
- Q_UINT16 peerPort() const;
+ TQ_UINT16 port() const;
+ TQ_UINT16 peerPort() const;
TQHostAddress address() const;
TQHostAddress peerAddress() const;
%If (TQt_3_2_0 -)
- void setReadBufferSize(Q_ULONG);
- Q_ULONG readBufferSize() const;
+ void setReadBufferSize(TQ_ULONG);
+ TQ_ULONG readBufferSize() const;
%End
signals: