diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-06-19 23:13:05 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-06-19 23:13:05 -0500 |
commit | af92e92c9ec82f6775c8e64bed0b62911afae42a (patch) | |
tree | 62057adfa6c4a4ff987b4bb22a33e0ce4dcc8734 /extensions | |
parent | a7a170c7f7daa6dfec350ef4d3b0e52f4b7ff83e (diff) | |
download | pytde-af92e92c9ec82f6775c8e64bed0b62911afae42a.tar.gz pytde-af92e92c9ec82f6775c8e64bed0b62911afae42a.zip |
Update for recent TQ changes.
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/dcopexport.py | 2 | ||||
-rw-r--r-- | extensions/dcopext.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/extensions/dcopexport.py b/extensions/dcopexport.py index fc4aaa9..4269d67 100644 --- a/extensions/dcopexport.py +++ b/extensions/dcopexport.py @@ -55,7 +55,7 @@ from qt import TQString, TQCString, TQDataStream, IO_ReadOnly, IO_WriteOnly numericTypes = ["char", "bool", "short", "int", "long", "uchar", "ushort", "uint", "ulong", "unsigned char", "unsigned short", "unsigned int", "unsigned long", - "Q_INT32", "pid_t", "float", "double"] + "TQ_INT32", "pid_t", "float", "double"] stringTypes = ["TQString", "TQCString"] class DCOPExObj (DCOPObject): diff --git a/extensions/dcopext.py b/extensions/dcopext.py index 837835c..5956d26 100644 --- a/extensions/dcopext.py +++ b/extensions/dcopext.py @@ -40,7 +40,7 @@ from tdecore import dcop_add, dcop_next # # I think 64 bit types would be: # long long, unsigned long long, long long int, unsigned long long int, -# TQ_LLONG, TQ_ULLONG, TQ_INT64, TQ_UINT64 +# TQ_LLONG, TQ_ULLONG, TTQ_INT64, TTQ_UINT64 # # and on some (most?) systems: # TQtOffset @@ -49,8 +49,8 @@ from tdecore import dcop_add, dcop_next # but python has a complex type POD = set(['char','short','int','long','float','double']) typedefIntTypes = set(["uchar", "ushort", "uint", "ulong", - "Q_INT8", "Q_INT16", "Q_INT32", "Q_LONG", - "Q_UINT8", "Q_UINT16", "Q_UINT32", "Q_ULONG", + "TQ_INT8", "Q_INT16", "TQ_INT32", "TQ_LONG", + "TQ_UINT8", "Q_UINT16", "TQ_UINT32", "Q_ULONG", "sitze_t", "ssize_t", "int8_t", "int16_t", "int32_t", "uint8_t", "uint16_t", "uint32_t", "pid_t", "uid_t", "off_t"]) |