summaryrefslogtreecommitdiffstats
path: root/templates/basic/systray.py
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-20 00:05:23 -0600
committerTimothy Pearson <[email protected]>2013-01-20 00:05:23 -0600
commit6677c2f8c66333c3951e8830f8760065c7a29074 (patch)
treee45d51b044ce8575210fca1584852fbbe4742316 /templates/basic/systray.py
parent1d7616d07ef6f1e6c8131a861ddff208557825e3 (diff)
downloadpytde-6677c2f8c66333c3951e8830f8760065c7a29074.tar.gz
pytde-6677c2f8c66333c3951e8830f8760065c7a29074.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'templates/basic/systray.py')
-rw-r--r--templates/basic/systray.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/basic/systray.py b/templates/basic/systray.py
index 406c095..5dc2a3d 100644
--- a/templates/basic/systray.py
+++ b/templates/basic/systray.py
@@ -30,7 +30,7 @@ copyright holder.
import sys
from qt import TQWidget, SIGNAL
-from tdecore import KApplication, KIcon, KIconLoader
+from tdecore import TDEApplication, KIcon, KIconLoader
from tdeui import KSystemTray
@@ -41,10 +41,10 @@ class MainWin (TQWidget):
#-------------------- main ------------------------------------------------
def slotQuitSelected ():
- KApplication.kApplication ().quit ()
+ TDEApplication.kApplication ().quit ()
appName = "template"
-app = KApplication (sys.argv, appName)
+app = TDEApplication (sys.argv, appName)
mainWindow = MainWin (None, "main window")
icons = KIconLoader ()