diff options
author | Timothy Pearson <[email protected]> | 2013-01-20 00:05:23 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-20 00:05:23 -0600 |
commit | 6677c2f8c66333c3951e8830f8760065c7a29074 (patch) | |
tree | e45d51b044ce8575210fca1584852fbbe4742316 /templates/basic/systray.py | |
parent | 1d7616d07ef6f1e6c8131a861ddff208557825e3 (diff) | |
download | pytde-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.py | 6 |
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 () |