summaryrefslogtreecommitdiffstats
path: root/displayconfig
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:14:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:14:08 -0600
commit2d5b7ef7c2e7c5dc982b66ab3f4210a5cf605c73 (patch)
tree31e5f932bfb070e9d7b5b1f6a5b3d42a01e7a587 /displayconfig
parent4066d7fb18b31353b86afa9fc1d94d492008e733 (diff)
downloadtde-guidance-2d5b7ef7c2e7c5dc982b66ab3f4210a5cf605c73.tar.gz
tde-guidance-2d5b7ef7c2e7c5dc982b66ab3f4210a5cf605c73.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'displayconfig')
-rwxr-xr-xdisplayconfig/displayconfig.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/displayconfig/displayconfig.py b/displayconfig/displayconfig.py
index ac8c8ce..bc9ba60 100755
--- a/displayconfig/displayconfig.py
+++ b/displayconfig/displayconfig.py
@@ -387,7 +387,7 @@ class MonitorDialog(KDialogBase):
if standalone:
programbase = KDialogBase
else:
- programbase = KCModule
+ programbase = TDECModule
############################################################################
class DisplayApp(programbase):
@@ -402,8 +402,8 @@ class DisplayApp(programbase):
self.setButtonText(KDialogBase.User1,i18n("Reset"))
self.setButtonText(KDialogBase.User2,i18n("About"))
else:
- KCModule.__init__(self,parent,name)
- self.setButtons(KCModule.Apply|KCModule.Reset)
+ TDECModule.__init__(self,parent,name)
+ self.setButtons(TDECModule.Apply|TDECModule.Reset)
self.aboutdata = MakeAboutData()
# This line has the effect of hiding the "Admin only" message and also forcing
@@ -412,7 +412,7 @@ class DisplayApp(programbase):
self.setUseRootOnlyMsg(False)
# Create a configuration object.
- self.config = KConfig("displayconfigrc")
+ self.config = TDEConfig("displayconfigrc")
# Compact mode means that we have to make the GUI
# much smaller to fit on low resolution screens.
@@ -713,7 +713,7 @@ class DisplayApp(programbase):
if not standalone:
tabcontrol.addTab(self.dpmspage,tabname)
- def save(self): # KCModule
+ def save(self): # TDECModule
xorg_config_changed = self.xsetup.isXorgConfigChanged()
restart_recommended = self.xsetup.getRestartHint()
@@ -819,7 +819,7 @@ class DisplayApp(programbase):
print "Live gamma change not supported"
KDialogBase.slotClose(self)
- def load(self): # KCModule
+ def load(self): # TDECModule
self.__reset()
self._sendChangedSignal()