From 2d5b7ef7c2e7c5dc982b66ab3f4210a5cf605c73 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:14:08 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- serviceconfig/serviceconfig.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'serviceconfig/serviceconfig.py') diff --git a/serviceconfig/serviceconfig.py b/serviceconfig/serviceconfig.py index 87449fb..b93be65 100755 --- a/serviceconfig/serviceconfig.py +++ b/serviceconfig/serviceconfig.py @@ -930,7 +930,7 @@ class GentooRunLevel(SysVRunLevel): if standalone: programbase = KDialogBase else: - programbase = KCModule + programbase = TDECModule # is_shown exists to prevent loadDescriptions from running two times, which is # the case when we're running inside kcontrol. Yes, this is an ugly hack. :( @@ -950,12 +950,12 @@ class SysVInitApp(programbase): KDialogBase.User1|KDialogBase.Close, KDialogBase.Close) self.setButtonText(KDialogBase.User1,i18n("About")) else: - KCModule.__init__(self,parent,name) + TDECModule.__init__(self,parent,name) self.setButtons(1) self.aboutdata = MakeAboutData() # Create a configuration object. - self.config = KConfig("serviceconfigrc") + self.config = TDEConfig("serviceconfigrc") TDEGlobal.iconLoader().addAppDir("guidance") self.updatingGUI = False @@ -1367,7 +1367,7 @@ class SysVInitApp(programbase): def buttons(self): # Only supply a Help button. Other choices are Default and Apply. - return KCModule.Help + return TDECModule.Help ############################################################################ class CommandRunner(KDialogBase): -- cgit v1.2.1