diff options
Diffstat (limited to 'examples/pytde-sampler/dialogs/config.py')
-rw-r--r-- | examples/pytde-sampler/dialogs/config.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/pytde-sampler/dialogs/config.py b/examples/pytde-sampler/dialogs/config.py index 8700cff..0710d2d 100644 --- a/examples/pytde-sampler/dialogs/config.py +++ b/examples/pytde-sampler/dialogs/config.py @@ -1,17 +1,17 @@ from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQString -from tdecore import i18n, KConfigSkeleton -from tdeui import KPushButton, KConfigDialog, KTextEdit +from tdecore import i18n, TDEConfigSkeleton +from tdeui import KPushButton, TDEConfigDialog, KTextEdit iconName = 'configure' -labelText = 'KConfigDialog' -docParts = ('tdeui', 'KConfigDialog') +labelText = 'TDEConfigDialog' +docParts = ('tdeui', 'TDEConfigDialog') helpText = ("") -class SampleSettings(KConfigSkeleton): +class SampleSettings(TDEConfigSkeleton): def __init__(self): - KConfigSkeleton.__init__(self) + TDEConfigSkeleton.__init__(self) self.anyString = TQString() self.setCurrentGroup("Strings") @@ -38,7 +38,7 @@ class MainFrame(TQFrame): def showConfigDialog(self): config = SampleSettings() - dlg = KConfigDialog(self, 'Sampler Config', config) + dlg = TDEConfigDialog(self, 'Sampler Config', config) self.strings = StringsSettings(self) self.bools = BoolSettings(self) dlg.addPage(self.strings, 'Strings', 'Strings') |