diff options
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 5dc2a3d..b4bb489 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 TDEApplication, KIcon, KIconLoader +from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import KSystemTray @@ -47,11 +47,11 @@ appName = "template" app = TDEApplication (sys.argv, appName) mainWindow = MainWin (None, "main window") -icons = KIconLoader () +icons = TDEIconLoader () systray = KSystemTray (mainWindow) -systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) +systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) systray.connect (systray, SIGNAL ("quitSelected ()"), slotQuitSelected) systray.show () |