diff options
Diffstat (limited to 'examples/pykde-sampler/misc/window_info.py')
-rw-r--r-- | examples/pykde-sampler/misc/window_info.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/pykde-sampler/misc/window_info.py b/examples/pykde-sampler/misc/window_info.py index 497aa39..daef2e0 100644 --- a/examples/pykde-sampler/misc/window_info.py +++ b/examples/pykde-sampler/misc/window_info.py @@ -1,7 +1,7 @@ -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL +from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdeui import KWindowInfo, KPushButton, KTextEdit from tdecore import i18n, KApplication @@ -10,14 +10,14 @@ labelText = 'KWindowInfo' helpText = '' -class MainFrame(QFrame): +class MainFrame(TQFrame): def __init__(self, parent): - QFrame.__init__(self, parent) + TQFrame.__init__(self, parent) self.button = KPushButton(i18n('Show Message'), 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) |