From a0dcfe4dc3e694d270016d4ddadc8f24ae3700b5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 23:53:11 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- DesktopEffects/DesktopEffectsDialog.py | 4 ++-- DesktopEffects/DesktopEffectsKDE.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'DesktopEffects') 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 -- cgit v1.2.3