diff options
Diffstat (limited to 'examples/pykde-sampler/dialogs/__init__.py')
-rw-r--r-- | examples/pykde-sampler/dialogs/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/pykde-sampler/dialogs/__init__.py b/examples/pykde-sampler/dialogs/__init__.py index cdec131..07a731c 100644 --- a/examples/pykde-sampler/dialogs/__init__.py +++ b/examples/pykde-sampler/dialogs/__init__.py @@ -6,13 +6,13 @@ helpText = ("KDE provides a convenient set of dialog boxes for application use. "Select the children of this item to see for yourself.") -from qt import QFrame, QVBoxLayout +from qt import TQFrame, TQVBoxLayout from tdeui import KTextEdit -class MainFrame(QFrame): +class MainFrame(TQFrame): def __init__(self, parent=None): - QFrame.__init__(self, parent) - layout = QVBoxLayout(self) + TQFrame.__init__(self, parent) + layout = TQVBoxLayout(self) self.text = KTextEdit(helpText, '', self) layout.addWidget(self.text, 1) |