diff options
Diffstat (limited to 'app_templates/kcontrol_module/src/kcontrol_module.py')
-rwxr-xr-x | app_templates/kcontrol_module/src/kcontrol_module.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app_templates/kcontrol_module/src/kcontrol_module.py b/app_templates/kcontrol_module/src/kcontrol_module.py index f1c18de..0f560f6 100755 --- a/app_templates/kcontrol_module/src/kcontrol_module.py +++ b/app_templates/kcontrol_module/src/kcontrol_module.py @@ -110,8 +110,8 @@ class KcontrolModuleApp(programbase): ######################################################################## def __loadOptions(self): - global kapp - config = kapp.config() + global tdeApp + config = tdeApp.config() config.setGroup("General") size = config.readSizeEntry("Geometry") if size.isEmpty()==False: @@ -119,8 +119,8 @@ class KcontrolModuleApp(programbase): ####################################################################### def __saveOptions(self): - global kapp - config = kapp.config() + global tdeApp + config = tdeApp.config() config.setGroup("General") config.writeEntry("Geometry", self.size()) config.sync() @@ -147,18 +147,18 @@ class KcontrolModuleApp(programbase): ############################################################################ # This is the entry point used when running this module outside of kcontrol. def main(): - global kapp + global tdeApp about_data = AboutData() TDECmdLineArgs.init(sys.argv,about_data) - kapp = TDEApplication() + tdeApp = TDEApplication() myapp = KcontrolModuleApp() myapp.exec_loop() ############################################################################ # Factory function for KControl def create_kcontrol_module(parent,name): - global kapp - kapp = TDEApplication.kApplication() + global tdeApp + tdeApp = TDEApplication.tdeApplication() return KcontrolModuleApp(parent, name) ############################################################################ |