summaryrefslogtreecommitdiffstats
path: root/sip/qtnetwork
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-19 17:00:12 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-19 17:00:12 -0500
commit0b4e2360e5f0c05784806f4b114fd09541092b7f (patch)
tree517a3e7e917238fd55f77b04729d04221805a616 /sip/qtnetwork
parentf09a033f218e0ec0490991ee974f5e932ed11583 (diff)
downloadpytqt-0b4e2360e5f0c05784806f4b114fd09541092b7f.tar.gz
pytqt-0b4e2360e5f0c05784806f4b114fd09541092b7f.zip
Update integer/long type names
Diffstat (limited to 'sip/qtnetwork')
-rw-r--r--sip/qtnetwork/qdns.sip14
-rw-r--r--sip/qtnetwork/qftp.sip10
-rw-r--r--sip/qtnetwork/qhostaddress.sip16
-rw-r--r--sip/qtnetwork/qhttp.sip12
-rw-r--r--sip/qtnetwork/qserversocket.sip10
-rw-r--r--sip/qtnetwork/qsocket.sip42
-rw-r--r--sip/qtnetwork/qsocketdevice.sip34
7 files changed, 69 insertions, 69 deletions
diff --git a/sip/qtnetwork/qdns.sip b/sip/qtnetwork/qdns.sip
index 9ddf6f6..79d1d23 100644
--- a/sip/qtnetwork/qdns.sip
+++ b/sip/qtnetwork/qdns.sip
@@ -68,10 +68,10 @@ public:
class MailServer
{
public:
- MailServer(const TQString & = TQString::null,Q_UINT16 = 0);
+ MailServer(const TQString & = TQString::null,TQ_UINT16 = 0);
TQString name;
- Q_UINT16 priority;
+ TQ_UINT16 priority;
};
TQValueList<TQDns::MailServer> mailServers() const;
@@ -79,13 +79,13 @@ public:
class Server
{
public:
- Server(const TQString & = TQString::null,Q_UINT16 = 0,
- Q_UINT16 = 0,Q_UINT16 = 0);
+ Server(const TQString & = TQString::null,TQ_UINT16 = 0,
+ TQ_UINT16 = 0,TQ_UINT16 = 0);
TQString name;
- Q_UINT16 priority;
- Q_UINT16 weight;
- Q_UINT16 port;
+ TQ_UINT16 priority;
+ TQ_UINT16 weight;
+ TQ_UINT16 port;
};
TQValueList<TQDns::Server> servers() const;
diff --git a/sip/qtnetwork/qftp.sip b/sip/qtnetwork/qftp.sip
index 73dca92..14dc455 100644
--- a/sip/qtnetwork/qftp.sip
+++ b/sip/qtnetwork/qftp.sip
@@ -23,9 +23,9 @@
%ExportedDoc
<Sect2><Title>TQFtp (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>maxlen</Parameter></ParamDef>
+ <ParamDef>TQ_ULONG <Parameter>maxlen</Parameter></ParamDef>
</FuncSynopsis>
<Para>
This takes a single <Literal>maxlen</Literal> parameter. The
@@ -93,7 +93,7 @@ public:
RawCommand
};
- int connectToHost(const TQString &,Q_UINT16 = 21) /ReleaseGIL/;
+ int connectToHost(const TQString &,TQ_UINT16 = 21) /ReleaseGIL/;
int login(const TQString & = TQString::null,
const TQString & = TQString::null) /ReleaseGIL/;
int close() /ReleaseGIL/;
@@ -111,7 +111,7 @@ public:
unsigned long bytesAvailable() const;
- 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;
@@ -119,7 +119,7 @@ public:
sipIsErr = 1;
else
{
- Q_LONG actlen;
+ TQ_LONG actlen;
Py_BEGIN_ALLOW_THREADS
actlen = sipCpp -> TQFtp::readBlock(buf,a0);
diff --git a/sip/qtnetwork/qhostaddress.sip b/sip/qtnetwork/qhostaddress.sip
index 006acfb..0e825d6 100644
--- a/sip/qtnetwork/qhostaddress.sip
+++ b/sip/qtnetwork/qhostaddress.sip
@@ -24,7 +24,7 @@
<Sect2><Title>TQHostAddress (TQt v2.2+)</Title>
<FuncSynopsis>
<FuncDef><Function>TQHostAddress</Function></FuncDef>
- <ParamDef>Q_UINT8 *<Parameter>ip6Addr</Parameter></ParamDef>
+ <ParamDef>TQ_UINT8 *<Parameter>ip6Addr</Parameter></ParamDef>
</FuncSynopsis>
<Para>
Not yet implemented.
@@ -40,7 +40,7 @@ Not yet implemented.
<FuncSynopsis>
<FuncDef>void <Function>setAddress</Function></FuncDef>
- <ParamDef>Q_UINT8 *<Parameter>ip6Addr</Parameter></ParamDef>
+ <ParamDef>TQ_UINT8 *<Parameter>ip6Addr</Parameter></ParamDef>
</FuncSynopsis>
<Para>
Not yet implemented.
@@ -67,8 +67,8 @@ class TQHostAddress
public:
TQHostAddress();
- TQHostAddress(Q_UINT32);
-// TQHostAddress(Q_UINT8 *);
+ TQHostAddress(TQ_UINT32);
+// TQHostAddress(TQ_UINT8 *);
%If (TQt_3_3_0 -)
//TQHostAddress(const Q_IPV6ADDR &);
// This isn't mentioned in the documentation.
@@ -76,15 +76,15 @@ public:
%End
TQHostAddress(const TQHostAddress &);
- void setAddress(Q_UINT32);
-// void setAddress(Q_UINT8 *);
+ void setAddress(TQ_UINT32);
+// void setAddress(TQ_UINT8 *);
bool setAddress(const TQString &);
bool isIp4Addr() const;
- Q_UINT32 ip4Addr() const;
+ TQ_UINT32 ip4Addr() const;
%If (TQt_3_3_0 -)
bool isIPv4Address() const;
- Q_UINT32 toIPv4Address() const;
+ TQ_UINT32 toIPv4Address() const;
bool isIPv6Address() const;
//Q_IPV6ADDR toIPv6Address() const;
%End
diff --git a/sip/qtnetwork/qhttp.sip b/sip/qtnetwork/qhttp.sip
index dfd9381..ba3a251 100644
--- a/sip/qtnetwork/qhttp.sip
+++ b/sip/qtnetwork/qhttp.sip
@@ -24,9 +24,9 @@
%ExportedDoc
<Sect2><Title>TQHttp (TQt v3+)</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>maxlen</Parameter></ParamDef>
+ <ParamDef>TQ_ULONG <Parameter>maxlen</Parameter></ParamDef>
</FuncSynopsis>
<Para>
This takes a single <Literal>maxlen</Literal> parameter. The
@@ -162,7 +162,7 @@ public:
TQHttp();
%If (TQt_3_1_0 -)
TQHttp(TQObject * /TransferThis/,const char * = 0);
- TQHttp(const TQString &,Q_UINT16 = 80,TQObject * /TransferThis/ = 0,
+ TQHttp(const TQString &,TQ_UINT16 = 80,TQObject * /TransferThis/ = 0,
const char * = 0);
virtual ~TQHttp();
%End
@@ -191,7 +191,7 @@ public:
Aborted
};
- int setHost(const TQString &,Q_UINT16 = 80);
+ int setHost(const TQString &,TQ_UINT16 = 80);
int get(const TQString &,TQIODevice * = 0) /ReleaseGIL/;
int post(const TQString &,TQIODevice *,TQIODevice * = 0) /ReleaseGIL/;
@@ -207,7 +207,7 @@ public:
unsigned long bytesAvailable() const;
- 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;
@@ -215,7 +215,7 @@ public:
sipIsErr = 1;
else
{
- Q_LONG actlen;
+ TQ_LONG actlen;
Py_BEGIN_ALLOW_THREADS
actlen = sipCpp -> TQHttp::readBlock(buf,a0);
diff --git a/sip/qtnetwork/qserversocket.sip b/sip/qtnetwork/qserversocket.sip
index 9bf2101..403d424 100644
--- a/sip/qtnetwork/qserversocket.sip
+++ b/sip/qtnetwork/qserversocket.sip
@@ -39,22 +39,22 @@ class TQServerSocket : TQObject
public:
%If (- TQt_3_0_0)
- TQServerSocket(Q_UINT16,int = 0,TQObject * /TransferThis/ = 0,
+ TQServerSocket(TQ_UINT16,int = 0,TQObject * /TransferThis/ = 0,
const char * = 0);
- TQServerSocket(const TQHostAddress &,Q_UINT16,int = 0,
+ TQServerSocket(const TQHostAddress &,TQ_UINT16,int = 0,
TQObject * /TransferThis/ = 0,const char * = 0);
%End
%If (TQt_3_0_0 -)
- TQServerSocket(Q_UINT16,int = 1,TQObject * /TransferThis/ = 0,
+ TQServerSocket(TQ_UINT16,int = 1,TQObject * /TransferThis/ = 0,
const char * = 0);
- TQServerSocket(const TQHostAddress &,Q_UINT16,int = 1,
+ TQServerSocket(const TQHostAddress &,TQ_UINT16,int = 1,
TQObject * /TransferThis/ = 0,const char * = 0);
%End
TQServerSocket(TQObject * /TransferThis/ = 0,const char * = 0);
bool ok() const;
- Q_UINT16 port() const;
+ TQ_UINT16 port() const;
int socket() const;
virtual void setSocket(int);
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:
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;