diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:18:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:18:25 -0600 |
commit | 84fba9037b6e998250f30968b0d9c79a6af4637a (patch) | |
tree | 0baefd17473cdfe4aeeffe5b471ee1c50c67462a /app_templates/kcontrol_module/src/kcontrol_module.py | |
parent | 58229b7f2f011bb94adadea107eff15e929ccb3c (diff) | |
download | pytdeextensions-84fba9037b6e998250f30968b0d9c79a6af4637a.tar.gz pytdeextensions-84fba9037b6e998250f30968b0d9c79a6af4637a.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'app_templates/kcontrol_module/src/kcontrol_module.py')
-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. |