diff options
Diffstat (limited to 'examples/pykde-sampler/xwin')
-rw-r--r-- | examples/pykde-sampler/xwin/__init__.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/pykde-sampler/xwin/__init__.py b/examples/pykde-sampler/xwin/__init__.py index f9ff0b1..34787fd 100644 --- a/examples/pykde-sampler/xwin/__init__.py +++ b/examples/pykde-sampler/xwin/__init__.py @@ -4,13 +4,13 @@ iconName = 'kcmx' helpText = """KDE and PyKDE allow interaction with the X Window system. Check out the nifty samples below.""" -from qt import QFrame, QLabel, QVBoxLayout +from qt import TQFrame, TQLabel, TQVBoxLayout -class MainFrame(QFrame): +class MainFrame(TQFrame): def __init__(self, parent=None): - QFrame.__init__(self, parent) - layout = QVBoxLayout(self) - self.text = QLabel(helpText, self) + TQFrame.__init__(self, parent) + layout = TQVBoxLayout(self) + self.text = TQLabel(helpText, self) layout.addWidget(self.text, 1) |