diff options
Diffstat (limited to 'examples/pykde-sampler/misc/passivepop.py')
-rw-r--r-- | examples/pykde-sampler/misc/passivepop.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/pykde-sampler/misc/passivepop.py b/examples/pykde-sampler/misc/passivepop.py index d38b4ec..8a2b2e8 100644 --- a/examples/pykde-sampler/misc/passivepop.py +++ b/examples/pykde-sampler/misc/passivepop.py @@ -1,4 +1,4 @@ -from qt import Qt, QFrame, QHBoxLayout, QVBoxLayout, QLabel, SIGNAL +from qt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQLabel, SIGNAL from tdeui import KPassivePopup, KTextEdit, KPushButton from tdecore import KGlobal, KIcon @@ -8,15 +8,15 @@ docParts = ('tdeui', 'KPassivePopup') helpText = ('Examples of the KPassivePopup widget.') -class MainFrame(QFrame): +class MainFrame(TQFrame): def __init__(self, parent=None): - QFrame.__init__(self, parent) + TQFrame.__init__(self, parent) self.help = KTextEdit(helpText, '', self) self.button = KPushButton('Show Passive Popups', self) - layout = QVBoxLayout(self, 4) + layout = TQVBoxLayout(self, 4) layout.addWidget(self.help, 10) - buttonLayout = QHBoxLayout(layout, 4) + buttonLayout = TQHBoxLayout(layout, 4) buttonLayout.addWidget(self.button, 1) buttonLayout.addStretch(10) layout.addStretch(10) |