summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-08 11:55:55 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-23 00:52:28 +0100
commitcddd660ca43dbe5d4ce0f7ed6bacee48ea46da93 (patch)
tree277dba53239d6367cf2946458757600caf6e82a5 /extensions
parent79ced6fbbdda1158aef437760ee0455fb9a9016d (diff)
downloadpytde-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.py4
-rw-r--r--extensions/dcopext.py4
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!
#