summaryrefslogtreecommitdiffstats
path: root/DesktopEffects
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 23:53:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 23:53:11 -0600
commita0dcfe4dc3e694d270016d4ddadc8f24ae3700b5 (patch)
tree51dd1568ba193c3e0ae9802b1e310cb60f03bac2 /DesktopEffects
parent404f25288389d362da25528cdb170e12f160fd87 (diff)
downloaddesktop-effects-tde-a0dcfe4dc3e694d270016d4ddadc8f24ae3700b5.tar.gz
desktop-effects-tde-a0dcfe4dc3e694d270016d4ddadc8f24ae3700b5.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'DesktopEffects')
-rw-r--r--DesktopEffects/DesktopEffectsDialog.py4
-rwxr-xr-xDesktopEffects/DesktopEffectsKDE.py2
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