diff options
Diffstat (limited to 'dcoppython/shell/marshaller.cpp')
-rw-r--r-- | dcoppython/shell/marshaller.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dcoppython/shell/marshaller.cpp b/dcoppython/shell/marshaller.cpp index 1aaebc38..5b15aded 100644 --- a/dcoppython/shell/marshaller.cpp +++ b/dcoppython/shell/marshaller.cpp @@ -101,7 +101,7 @@ namespace PythonDCOP { return false; if (str) { - (*str) << (Q_INT32)count; + (*str) << (TQ_INT32)count; for(int c=0; c<count; c++) list_type.marshal( PyList_GetItem(obj,c), *str ); } @@ -111,11 +111,11 @@ namespace PythonDCOP { PyObject *Marshaller::demarshalList(const PCOPType &list_type, TQDataStream *str) const { - Q_UINT32 count; + TQ_UINT32 count; (*str) >> count; PyObject *obj = PyList_New(count); - for(Q_UINT32 c=0;c<count;c++) { + for(TQ_UINT32 c=0;c<count;c++) { PyList_SetItem(obj, c, list_type.demarshal(*str)); } return obj; @@ -136,7 +136,7 @@ namespace PythonDCOP { return false; if (str) { - Q_INT32 count = (Q_INT32)PyDict_Size(obj); + TQ_INT32 count = (TQ_INT32)PyDict_Size(obj); (*str) << count; c=0; while (PyDict_Next(obj, &c, &key, &val)==1) { @@ -151,9 +151,9 @@ namespace PythonDCOP { const PCOPType &value_type, TQDataStream *str) const { PyObject *obj = PyDict_New(); - Q_INT32 count; + TQ_INT32 count; (*str) >> count; - for(Q_INT32 c=0;c<count;c++) { + for(TQ_INT32 c=0;c<count;c++) { PyObject *key = key_type.demarshal(*str); PyObject *value = value_type.demarshal(*str); PyDict_SetItem(obj,key,value); |