diff options
Diffstat (limited to 'DesktopEffects')
-rw-r--r-- | DesktopEffects/DesktopEffectsDialog.py | 4 | ||||
-rwxr-xr-x | DesktopEffects/DesktopEffectsKDE.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/DesktopEffects/DesktopEffectsDialog.py b/DesktopEffects/DesktopEffectsDialog.py index 753a7bc..49f8e46 100644 --- a/DesktopEffects/DesktopEffectsDialog.py +++ b/DesktopEffects/DesktopEffectsDialog.py @@ -10,7 +10,7 @@ import sys from qt import * -from tdecore import KCmdLineArgs, KApplication +from tdecore import KCmdLineArgs, TDEApplication from tdeui import * @@ -2768,7 +2768,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 = DesktopEffectsDialog() diff --git a/DesktopEffects/DesktopEffectsKDE.py b/DesktopEffects/DesktopEffectsKDE.py index 11599e3..832e45f 100755 --- a/DesktopEffects/DesktopEffectsKDE.py +++ b/DesktopEffects/DesktopEffectsKDE.py @@ -46,7 +46,7 @@ class DesktopEffectsKDE(DesktopEffectsDialog, DesktopEffectsCommon): def __init__(self): '''launches the app, draws the window ''' - app = KApplication (sys.argv, "gd-test") + app = TDEApplication (sys.argv, "gd-test") DesktopEffectsCommon.__init__(self) DesktopEffectsDialog.__init__(self) # bind the locale |