diff options
Diffstat (limited to 'powermanager')
-rwxr-xr-x | powermanager/guidance-power-manager.py | 4 | ||||
-rw-r--r-- | powermanager/guidance_power_manager_ui.py | 4 | ||||
-rw-r--r-- | powermanager/notify.py | 4 | ||||
-rw-r--r-- | powermanager/tooltip.py | 4 |
4 files changed, 8 insertions, 8 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) diff --git a/powermanager/guidance_power_manager_ui.py b/powermanager/guidance_power_manager_ui.py index a5755a5..dcaf270 100644 --- a/powermanager/guidance_power_manager_ui.py +++ b/powermanager/guidance_power_manager_ui.py @@ -10,7 +10,7 @@ import sys from qt import * -from tdecore import KCmdLineArgs, KApplication +from tdecore import KCmdLineArgs, TDEApplication from tdecore import i18n from tdeui import * @@ -232,7 +232,7 @@ if __name__ == "__main__": version = "" KCmdLineArgs.init (sys.argv, appname, description, version) - a = KApplication () + a = TDEApplication () QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()")) w = PowerManagerUI() diff --git a/powermanager/notify.py b/powermanager/notify.py index 3c04030..52e6eb2 100644 --- a/powermanager/notify.py +++ b/powermanager/notify.py @@ -10,7 +10,7 @@ import sys from qt import * -from tdecore import KCmdLineArgs, KApplication +from tdecore import KCmdLineArgs, TDEApplication from tdecore import i18n from tdeui import * @@ -59,7 +59,7 @@ if __name__ == "__main__": version = "" KCmdLineArgs.init (sys.argv, appname, description, version) - a = KApplication () + a = TDEApplication () QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()")) w = NotifyWidget() diff --git a/powermanager/tooltip.py b/powermanager/tooltip.py index 1107090..6de4814 100644 --- a/powermanager/tooltip.py +++ b/powermanager/tooltip.py @@ -10,7 +10,7 @@ import sys from qt import * -from tdecore import KCmdLineArgs, KApplication +from tdecore import KCmdLineArgs, TDEApplication from tdecore import i18n from tdeui import * @@ -48,7 +48,7 @@ if __name__ == "__main__": version = "" KCmdLineArgs.init (sys.argv, appname, description, version) - a = KApplication () + a = TDEApplication () QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()")) w = ToolTip() |