summaryrefslogtreecommitdiffstats
path: root/dcoppython/shell/marshaller.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /dcoppython/shell/marshaller.h
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
Diffstat (limited to 'dcoppython/shell/marshaller.h')
-rw-r--r--dcoppython/shell/marshaller.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/dcoppython/shell/marshaller.h b/dcoppython/shell/marshaller.h
index 5eefc800..6cb16d89 100644
--- a/dcoppython/shell/marshaller.h
+++ b/dcoppython/shell/marshaller.h
@@ -15,7 +15,7 @@
#include <Python.h>
#include <tqstring.h>
-class TTQDataStream;
+class TQDataStream;
namespace PythonDCOP {
// class Marshaller;
@@ -25,23 +25,23 @@ namespace PythonDCOP {
public:
Marshaller();
~Marshaller();
- bool marshal(const PCOPType &type, PyObject *obj, TTQDataStream &str) const
+ bool marshal(const PCOPType &type, PyObject *obj, TQDataStream &str) const
{ return marsh_private(type,obj,&str); }
bool canMarshal(const PCOPType &type, PyObject *obj) const
{ return marsh_private(type,obj,NULL); }
- bool marshalList(const PCOPType &list_type, PyObject *obj, TTQDataStream *str) const;
- PyObject *demarshal(const PCOPType &type, TTQDataStream &str) const
+ bool marshalList(const PCOPType &list_type, PyObject *obj, TQDataStream *str) const;
+ PyObject *demarshal(const PCOPType &type, TQDataStream &str) const
{ return demarsh_private(type, &str); }
- PyObject *demarshalList(const PCOPType &list_type, TTQDataStream *str) const;
+ PyObject *demarshalList(const PCOPType &list_type, TQDataStream *str) const;
bool marshalDict(const PCOPType &key_type, const PCOPType &value_type,
- PyObject *obj, TTQDataStream *str) const;
+ PyObject *obj, TQDataStream *str) const;
PyObject *demarshalDict(const PCOPType &key_type,
const PCOPType &value_type,
- TTQDataStream *str) const;
+ TQDataStream *str) const;
static Marshaller *instance() { return m_instance; }
protected:
- TTQMap<TTQString,bool(*)(PyObject*,TTQDataStream*)> m_marsh_funcs;
- TTQMap<TTQString,PyObject*(*)(TTQDataStream*)> m_demarsh_funcs;
+ TQMap<TQString,bool(*)(PyObject*,TQDataStream*)> m_marsh_funcs;
+ TQMap<TQString,PyObject*(*)(TQDataStream*)> m_demarsh_funcs;
static Marshaller *m_instance;
@@ -49,21 +49,21 @@ namespace PythonDCOP {
private:
bool marsh_private(const PCOPType &type,
PyObject *obj,
- TTQDataStream *str) const;
+ TQDataStream *str) const;
PyObject *demarsh_private(const PCOPType &type,
- TTQDataStream *str) const;
+ TQDataStream *str) const;
};
-// bool marshall_bool(PyObject *obj, TTQDataStream *str);
-// bool marshall_int(PyObject *obj, TTQDataStream *str);
-// bool marshall_uint(PyObject *obj, TTQDataStream *str);
-// bool marshall_double(PyObject *obj, TTQDataStream *str);
-// bool marshall_QByteArray(PyObject *obj, TTQDataStream *str);
-// bool marshall_QString(PyObject *obj, TTQDataStream *str);
-// bool marshall_QCString(PyObject *obj, TTQDataStream *str);
+// bool marshall_bool(PyObject *obj, TQDataStream *str);
+// bool marshall_int(PyObject *obj, TQDataStream *str);
+// bool marshall_uint(PyObject *obj, TQDataStream *str);
+// bool marshall_double(PyObject *obj, TQDataStream *str);
+// bool marshall_QByteArray(PyObject *obj, TQDataStream *str);
+// bool marshall_QString(PyObject *obj, TQDataStream *str);
+// bool marshall_QCString(PyObject *obj, TQDataStream *str);
}