diff options
Diffstat (limited to 'app_templates')
-rwxr-xr-x | app_templates/kcontrol_module/src/kcontrol_module.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app_templates/kcontrol_module/src/kcontrol_module.py b/app_templates/kcontrol_module/src/kcontrol_module.py index 423b029..f1bf186 100755 --- a/app_templates/kcontrol_module/src/kcontrol_module.py +++ b/app_templates/kcontrol_module/src/kcontrol_module.py @@ -51,7 +51,7 @@ standalone = __name__=='__main__' if standalone: programbase = KDialogBase else: - programbase = KCModule + programbase = TDECModule class KcontrolModuleApp(programbase): ######################################################################## @@ -61,9 +61,9 @@ class KcontrolModuleApp(programbase): KDialogBase.__init__(self,KJanusWidget.Plain,"Kcontrol module",KDialogBase.User1|KDialogBase.Close, KDialogBase.Close) self.setButtonText(KDialogBase.User1,"About") else: - KCModule.__init__(self,parent,name) + TDECModule.__init__(self,parent,name) # Create a configuration object. - self.config = KConfig("kcontrol_module") + self.config = TDEConfig("kcontrol_module") self.setButtons(0) self.aboutdata = AboutData() @@ -142,7 +142,7 @@ class KcontrolModuleApp(programbase): def buttons(self): # Only supply a Help button. Other choices are Default and Apply. - return KCModule.Help + return TDECModule.Help ############################################################################ # This is the entry point used when running this module outside of kcontrol. |