summaryrefslogtreecommitdiffstats
path: root/app_templates/kdeapp/src/prefdialog.py
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2023-01-16 17:11:02 +0100
committerSlávek Banko <[email protected]>2023-01-23 02:16:16 +0100
commite55e706f31de58a8286d0b6e53b723d9d199d5c6 (patch)
treed92640d57599b3e8b8332c13830501a701a65d89 /app_templates/kdeapp/src/prefdialog.py
parent2d380395d26b5897ffbf92dc62bd0f9ed09e0661 (diff)
downloadpytdeextensions-e55e706f31de58a8286d0b6e53b723d9d199d5c6.tar.gz
pytdeextensions-e55e706f31de58a8286d0b6e53b723d9d199d5c6.zip
Update after renaming qt => tqt in PyTQt module.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'app_templates/kdeapp/src/prefdialog.py')
-rw-r--r--app_templates/kdeapp/src/prefdialog.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/app_templates/kdeapp/src/prefdialog.py b/app_templates/kdeapp/src/prefdialog.py
index ef8ec0f..ce58dac 100644
--- a/app_templates/kdeapp/src/prefdialog.py
+++ b/app_templates/kdeapp/src/prefdialog.py
@@ -15,7 +15,7 @@
# #
###########################################################################
-from PyTQt.qt import *
+from PyTQt.tqt import *
from tdecore import *
from tdeui import *
@@ -33,21 +33,21 @@ class TestAppPrefDialog(KDialogBase):
frame = self.addPage(i18n("Second Page"), i18n("Page Two Options"))
self._pageTwo = TestAppPrefPageTwo(frame)
-class TestAppPrefPageOne(QFrame):
+class TestAppPrefPageOne(TQFrame):
def __init__(self,parent):
- QFrame.__init__(self,parent)
+ TQFrame.__init__(self,parent)
- layout = QHBoxLayout(self)
+ layout = TQHBoxLayout(self)
layout.setAutoAdd(True)
- QLabel(i18n("Add something here"), self)
+ TQLabel(i18n("Add something here"), self)
-class TestAppPrefPageTwo(QFrame):
+class TestAppPrefPageTwo(TQFrame):
def __init__(self,parent):
- QFrame.__init__(self,parent)
+ TQFrame.__init__(self,parent)
- layout = QHBoxLayout(self)
+ layout = TQHBoxLayout(self)
layout.setAutoAdd(True)
- QLabel(i18n("Add something here"), self)
+ TQLabel(i18n("Add something here"), self)