summaryrefslogtreecommitdiffstats
path: root/powermanager/guidance-power-manager.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:01:06 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:01:06 -0600
commit3f33cbaf7f504224145c9b1a40bece736581dada (patch)
treea18cb7d9fc3f801a8a1bdf4abbbb45d79bab63e5 /powermanager/guidance-power-manager.py
parentbd60bfd4282dc6eb92d846fef968863efac0f62e (diff)
downloadtde-guidance-3f33cbaf7f504224145c9b1a40bece736581dada.tar.gz
tde-guidance-3f33cbaf7f504224145c9b1a40bece736581dada.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'powermanager/guidance-power-manager.py')
-rwxr-xr-xpowermanager/guidance-power-manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/powermanager/guidance-power-manager.py b/powermanager/guidance-power-manager.py
index c707285..480a856 100755
--- a/powermanager/guidance-power-manager.py
+++ b/powermanager/guidance-power-manager.py
@@ -1099,7 +1099,7 @@ class PowermanagerApp(KDialogBase):
# There's a bug in KUniqueApplication that shows the pid in the dcop name,
# this fugly hack works around it.
-class PMApp(KApplication):
+class PMApp(TDEApplication):
def name(self):
return "power-manager"
@@ -1116,7 +1116,7 @@ if __name__ == "__main__":
aboutdata.setProgramLogo(QImage("power-manager.png"))
KCmdLineArgs.init(sys.argv, aboutdata)
#kapp = KUniqueApplication(True, True, False)
- #kapp = KApplication()
+ #kapp = TDEApplication()
kapp = PMApp(True, True)
mainWindow = PowermanagerApp(None, "main window")
doDcop(kapp)