diff options
Diffstat (limited to 'examples/pykde-sampler/dialogs/about')
-rw-r--r-- | examples/pykde-sampler/dialogs/about/__init__.py | 8 | ||||
-rw-r--r-- | examples/pykde-sampler/dialogs/about/aboutapp.py | 10 | ||||
-rw-r--r-- | examples/pykde-sampler/dialogs/about/aboutkde.py | 10 |
3 files changed, 14 insertions, 14 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) diff --git a/examples/pykde-sampler/dialogs/about/aboutapp.py b/examples/pykde-sampler/dialogs/about/aboutapp.py index 585db60..820d50f 100644 --- a/examples/pykde-sampler/dialogs/about/aboutapp.py +++ b/examples/pykde-sampler/dialogs/about/aboutapp.py @@ -1,7 +1,7 @@ iconName = 'about_kde' labelText = 'KAboutApplication' -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL +from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n from tdeui import KAboutApplication, KPushButton, KTextEdit @@ -11,14 +11,14 @@ helpText = ("Typically available via the applications 'Help' menu, this " docParts = ('tdeui', 'KAboutDialog') -class MainFrame(QFrame): +class MainFrame(TQFrame): def __init__(self, parent=None): - QFrame.__init__(self, parent) + TQFrame.__init__(self, parent) self.button = KPushButton(i18n('About Application'), 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) diff --git a/examples/pykde-sampler/dialogs/about/aboutkde.py b/examples/pykde-sampler/dialogs/about/aboutkde.py index 08dd93e..dc7390c 100644 --- a/examples/pykde-sampler/dialogs/about/aboutkde.py +++ b/examples/pykde-sampler/dialogs/about/aboutkde.py @@ -1,7 +1,7 @@ iconName = 'about_kde' labelText = 'KAboutKDE' -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL +from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n from tdeui import KAboutKDE, KPushButton, KTextEdit @@ -10,14 +10,14 @@ helpText = ("Typically available via the applications 'Help' menu, this " "dialog presents the user with the standard KDE About dialog.") -class MainFrame(QFrame): +class MainFrame(TQFrame): def __init__(self, parent=None): - QFrame.__init__(self, parent) + TQFrame.__init__(self, parent) self.button = KPushButton(i18n('About KDE'), 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) |