diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/dcopexport.py | 4 | ||||
-rw-r--r-- | extensions/dcopext.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/extensions/dcopexport.py b/extensions/dcopexport.py index 7af07f1..b2dd154 100644 --- a/extensions/dcopexport.py +++ b/extensions/dcopexport.py @@ -51,7 +51,7 @@ stringTypes lists from dcop import DCOPObject, DCOPClient from tdecore import dcop_add, dcop_next -from PyTQt.qt import TQString, TQCString, TQDataStream, IO_ReadOnly, IO_WriteOnly +from PyTQt.tqt 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", @@ -72,7 +72,7 @@ class DCOPExObj (DCOPObject): _meth = DCOPClient.normalizeFunctionSignature(meth).replace (">", "> ") # see if this method is available from us via DCOP - # if we don't have it, maybe DCOPObject already provides it (eg - qt object) + # if we don't have it, maybe DCOPObject already provides it (eg - tqt object) if not self.matchMethod (_meth): return DCOPObject.process(self, _meth, data, replyType, replyData); diff --git a/extensions/dcopext.py b/extensions/dcopext.py index e9edd30..2c71eda 100644 --- a/extensions/dcopext.py +++ b/extensions/dcopext.py @@ -32,7 +32,7 @@ copyright holder. import re from dcop import DCOPClient -from PyTQt.qt import TQString, TQCString, TQByteArray, TQDataStream, IO_ReadOnly, IO_WriteOnly +from PyTQt.tqt import TQString, TQCString, TQByteArray, TQDataStream, IO_ReadOnly, IO_WriteOnly from tdecore import dcop_add, dcop_next # XXX: 64 bit integers might be handeld wrong! pythons int is AFAIK 32 bit, @@ -690,7 +690,7 @@ class DCOPMeth(object): # XXX: # Is 'isinstance(arg, eval(argtype))' really good? - # What if 'argtype' is located in some modul? Like 'qt.TQString'. + # What if 'argtype' is located in some modul? Like 'tqt.TQString'. # Then this will fail (but it should not!). # And the worst thing: the eval() will raise a NameError! # |