diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /examples/pykde-sampler/dialogs/about/__init__.py | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'examples/pykde-sampler/dialogs/about/__init__.py')
-rw-r--r-- | examples/pykde-sampler/dialogs/about/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/pykde-sampler/dialogs/about/__init__.py b/examples/pykde-sampler/dialogs/about/__init__.py index d406216..ea1ad17 100644 --- a/examples/pykde-sampler/dialogs/about/__init__.py +++ b/examples/pykde-sampler/dialogs/about/__init__.py @@ -5,12 +5,12 @@ helpText = ("KDE has multiple dialog types to display information about your " "applicaiton and environment. They provide a tremendous amount of functionality " "and consistency. They're easy to use, and they're good for the environment!") -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) |