diff options
Diffstat (limited to 'app_templates/tdeioslave')
| -rwxr-xr-x | app_templates/tdeioslave/setup.py | 2 | ||||
| -rwxr-xr-x | app_templates/tdeioslave/src/tdeioslave.py | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/app_templates/tdeioslave/setup.py b/app_templates/tdeioslave/setup.py index 1e9ff91..ce2a99a 100755 --- a/app_templates/tdeioslave/setup.py +++ b/app_templates/tdeioslave/setup.py @@ -23,7 +23,7 @@ tdedistutils.setup(name="tdeioslave", author_email="YOUR@EMAIL.com", url="http://www.TESTAPP.com/", min_kde_version = "3.0.0", - min_qt_version = "3.0.0", + min_tqt_version = "3.0.0", license = "GPL", application_data = ['src/tdeioslave.py'], docbooks = [ ('doc/en','en') ], 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 = "" |
