summaryrefslogtreecommitdiffstats
path: root/app_templates/tdeioslave/src/tdeioslave.py
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-16 17:11:02 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-23 02:16:16 +0100
commite55e706f31de58a8286d0b6e53b723d9d199d5c6 (patch)
treed92640d57599b3e8b8332c13830501a701a65d89 /app_templates/tdeioslave/src/tdeioslave.py
parent2d380395d26b5897ffbf92dc62bd0f9ed09e0661 (diff)
downloadpytdeextensions-e55e706f31de58a8286d0b6e53b723d9d199d5c6.tar.gz
pytdeextensions-e55e706f31de58a8286d0b6e53b723d9d199d5c6.zip
Update after renaming qt => tqt in PyTQt module.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'app_templates/tdeioslave/src/tdeioslave.py')
-rwxr-xr-xapp_templates/tdeioslave/src/tdeioslave.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/app_templates/tdeioslave/src/tdeioslave.py b/app_templates/tdeioslave/src/tdeioslave.py
index 17f9ee8..7685254 100755
--- a/app_templates/tdeioslave/src/tdeioslave.py
+++ b/app_templates/tdeioslave/src/tdeioslave.py
@@ -15,8 +15,8 @@
# #
###########################################################################
-# Import the required Qt and KDE modules.
-from PyTQt.qt import *
+# Import the required TQt and KDE modules.
+from PyTQt.tqt import *
from tdeio import *
from tdecore import *
import os, time
@@ -102,10 +102,10 @@ class SlaveClass(TDEIO.SlaveBase):
self.error(TDEIO.ERR_IS_DIRECTORY, path)
self.totalSize(len(item.getData()))
- self.data(QByteArray(item.getData()))
+ self.data(TQByteArray(item.getData()))
# The end of the data string.
- self.data(QByteArray())
+ self.data(TQByteArray())
self.finished()
@@ -132,7 +132,7 @@ class SlaveClass(TDEIO.SlaveBase):
parent_dir.unlink(filename)
# Read data from the application.
- bytearray = QByteArray()
+ bytearray = TQByteArray()
bytes = 0
data = ""