summaryrefslogtreecommitdiffstats
path: root/sip/qt/qiodevice.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qiodevice.sip')
-rw-r--r--sip/qt/qiodevice.sip16
1 files changed, 8 insertions, 8 deletions
diff --git a/sip/qt/qiodevice.sip b/sip/qt/qiodevice.sip
index f52e598..232cd94 100644
--- a/sip/qt/qiodevice.sip
+++ b/sip/qt/qiodevice.sip
@@ -85,7 +85,7 @@ class TQIODevice
public:
%If (TQt_3_0_0 -)
- typedef Q_ULONG Offset;
+ typedef TQ_ULONG Offset;
%End
TQIODevice();
@@ -188,7 +188,7 @@ public:
%End
%End
%If (TQt_3_0_0 -)
- virtual SIP_PYOBJECT readBlock(Q_ULONG) = 0 /ReleaseGIL/ [Q_LONG (char *,Q_ULONG)];
+ virtual SIP_PYOBJECT readBlock(TQ_ULONG) = 0 /ReleaseGIL/ [TQ_LONG (char *,TQ_ULONG)];
%MethodCode
char *buf;
@@ -196,7 +196,7 @@ public:
sipIsErr = 1;
else
{
- Q_LONG actlen;
+ TQ_LONG actlen;
Py_BEGIN_ALLOW_THREADS
actlen = sipCpp -> readBlock(buf,a0);
@@ -253,8 +253,8 @@ public:
uint /ArraySize/) = 0 /ReleaseGIL/;
%End
%If (TQt_3_0_0 -)
- virtual Q_LONG writeBlock(const char * /Array/,
- Q_ULONG /ArraySize/) = 0 /ReleaseGIL/;
+ virtual TQ_LONG writeBlock(const char * /Array/,
+ TQ_ULONG /ArraySize/) = 0 /ReleaseGIL/;
%End
%If (- TQt_3_0_0)
@@ -318,7 +318,7 @@ public:
%End
%End
%If (TQt_3_0_0 -)
- virtual SIP_PYOBJECT readLine(Q_ULONG) /ReleaseGIL/ [Q_LONG (char *,Q_ULONG)];
+ virtual SIP_PYOBJECT readLine(TQ_ULONG) /ReleaseGIL/ [TQ_LONG (char *,TQ_ULONG)];
%MethodCode
char *buf;
@@ -326,7 +326,7 @@ public:
sipIsErr = 1;
else
{
- Q_LONG actlen;
+ TQ_LONG actlen;
Py_BEGIN_ALLOW_THREADS
actlen = sipSelfWasArg ? sipCpp->TQIODevice::readLine(buf, a0) : sipCpp->readLine(buf, a0);
@@ -382,7 +382,7 @@ public:
int writeBlock(const TQByteArray &) /ReleaseGIL/;
%End
%If (TQt_3_0_0 -)
- Q_LONG writeBlock(const TQByteArray &) /ReleaseGIL/;
+ TQ_LONG writeBlock(const TQByteArray &) /ReleaseGIL/;
%End
%If (TQt_2_00 - TQt_3_0_0)