summaryrefslogtreecommitdiffstats
path: root/examples/pykde-sampler/dialogs/passwd.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pykde-sampler/dialogs/passwd.py')
-rw-r--r--examples/pykde-sampler/dialogs/passwd.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/pykde-sampler/dialogs/passwd.py b/examples/pykde-sampler/dialogs/passwd.py
index 946d7ec..3081c3d 100644
--- a/examples/pykde-sampler/dialogs/passwd.py
+++ b/examples/pykde-sampler/dialogs/passwd.py
@@ -1,4 +1,4 @@
-from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL
+from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n
from tdeui import KPushButton, KPasswordDialog, KTextEdit
@@ -11,14 +11,14 @@ helpText = ("KDE provides two variations on the password dialog. The simple "
"confirm the first entry.")
-class MainFrame(QFrame):
+class MainFrame(TQFrame):
def __init__(self, parent=None):
- QFrame.__init__(self, parent)
+ TQFrame.__init__(self, parent)
self.button = KPushButton(i18n('Show Password Dialog'), self)
self.help = KTextEdit(helpText, '', self)
- layout = QVBoxLayout(self, 4)
+ layout = TQVBoxLayout(self, 4)
layout.addWidget(self.help)
- buttonlayout = QHBoxLayout(layout, 4)
+ buttonlayout = TQHBoxLayout(layout, 4)
buttonlayout.addWidget(self.button)
buttonlayout.addStretch(1)
layout.addStretch(1)