diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-01-08 11:55:55 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-01-23 00:52:28 +0100 |
commit | cddd660ca43dbe5d4ce0f7ed6bacee48ea46da93 (patch) | |
tree | 277dba53239d6367cf2946458757600caf6e82a5 /extensions | |
parent | 79ced6fbbdda1158aef437760ee0455fb9a9016d (diff) | |
download | pytde-cddd660c.tar.gz pytde-cddd660c.zip |
Update after renaming qt => tqt in PyTQt module.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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! # |