summaryrefslogtreecommitdiffstats
path: root/sip/tdecore/bytearray.sip
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-19 23:13:05 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-06-19 23:13:05 -0500
commitaf92e92c9ec82f6775c8e64bed0b62911afae42a (patch)
tree62057adfa6c4a4ff987b4bb22a33e0ce4dcc8734 /sip/tdecore/bytearray.sip
parenta7a170c7f7daa6dfec350ef4d3b0e52f4b7ff83e (diff)
downloadpytde-af92e92c9ec82f6775c8e64bed0b62911afae42a.tar.gz
pytde-af92e92c9ec82f6775c8e64bed0b62911afae42a.zip
Update for recent TQ changes.
Diffstat (limited to 'sip/tdecore/bytearray.sip')
-rw-r--r--sip/tdecore/bytearray.sip12
1 files changed, 6 insertions, 6 deletions
diff --git a/sip/tdecore/bytearray.sip b/sip/tdecore/bytearray.sip
index e8c00f0..507ef3c 100644
--- a/sip/tdecore/bytearray.sip
+++ b/sip/tdecore/bytearray.sip
@@ -139,7 +139,7 @@ void dcop_next (TQDataStream&, TQCString&);
%MethodCode
if (*a1 == "char")
{
- Q_INT8 res;
+ TQ_INT8 res;
*a0 >> res;
return PyInt_FromLong ((long)res);
}
@@ -169,7 +169,7 @@ void dcop_next (TQDataStream&, TQCString&);
}
if (*a1 == "uchar" || *a1 == "unsigned char")
{
- Q_UINT8 res;
+ TQ_UINT8 res;
*a0 >> res;
return PyInt_FromLong ((long)res);
}
@@ -185,9 +185,9 @@ void dcop_next (TQDataStream&, TQCString&);
*a0 >> res;
return PyLong_FromLong (res);
}
- else if (*a1 == "Q_INT32")
+ else if (*a1 == "TQ_INT32")
{
- Q_INT32 res;
+ TQ_INT32 res;
*a0 >> res;
return PyLong_FromLong ((long)res);
}
@@ -433,7 +433,7 @@ void dcop_next (TQDataStream&, TQCString&);
void dcop_add (TQDataStream& s, int value, const TQCString& type_)
{
if (type_ == "char")
- s << (Q_INT8)value;
+ s << (TQ_INT8)value;
else if (type_ == "bool")
s << (bool)value;
else if (type_ == "short")
@@ -443,7 +443,7 @@ void dcop_add (TQDataStream& s, int value, const TQCString& type_)
else if (type_ == "long")
s << (long)value;
else if (type_== "uchar" || type_ == "unsigned char")
- s << (Q_UINT8)value;
+ s << (TQ_UINT8)value;
else if (type_ == "ushort" || type_ == "unsigned short")
s << (ushort)value;
else if (type_ == "uint" || type_ == "unsigned int")