summaryrefslogtreecommitdiffstats
path: root/examples/pykde-sampler/dialogs/edreplace.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pykde-sampler/dialogs/edreplace.py')
-rw-r--r--examples/pykde-sampler/dialogs/edreplace.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/pykde-sampler/dialogs/edreplace.py b/examples/pykde-sampler/dialogs/edreplace.py
index 8ba705a..2cbc03e 100644
--- a/examples/pykde-sampler/dialogs/edreplace.py
+++ b/examples/pykde-sampler/dialogs/edreplace.py
@@ -1,4 +1,4 @@
-from qt import QFrame, QHBoxLayout, QVBoxLayout, QTimer, SIGNAL, QFont, QString
+from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString
from tdecore import i18n
from tdeui import KPushButton, KEdReplace, KTextEdit
@@ -8,15 +8,15 @@ docParts = ('tdeui', 'KEdReplace')
helpText = ("An example of the KEdReplace dialog.")
-class MainFrame(QFrame):
+class MainFrame(TQFrame):
def __init__(self, parent=None):
- QFrame.__init__(self, parent)
+ TQFrame.__init__(self, parent)
self.button = KPushButton(i18n('Show Edit Find 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)