summaryrefslogtreecommitdiffstats
path: root/templates/annotated/systray1.py
diff options
context:
space:
mode:
Diffstat (limited to 'templates/annotated/systray1.py')
-rw-r--r--templates/annotated/systray1.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/annotated/systray1.py b/templates/annotated/systray1.py
index d3f0ae7..8e164a2 100644
--- a/templates/annotated/systray1.py
+++ b/templates/annotated/systray1.py
@@ -35,7 +35,7 @@ copyright holder.
import sys
-from PyTQt.tqt import TQLabel, TQWidget, SIGNAL
+from PyTQt.tqt import TQLabel, TQWidget, TQ_SIGNAL
from tdecore import TDEApplication, TDEIcon, TDEIconLoader
from tdeui import TDEMainWindow, KSystemTray
@@ -58,7 +58,7 @@ class MainWin (TDEMainWindow):
# KSystemTray hides or shows its parent when the system tray icon is clicked
self.systray = KSystemTray (self)
self.systray.setPixmap (icons.loadIcon("process-stop", TDEIcon.Desktop))
- self.systray.connect (self.systray, SIGNAL ("quitSelected ()"), self.slotQuitSelected)
+ self.systray.connect (self.systray, TQ_SIGNAL ("quitSelected ()"), self.slotQuitSelected)
self.systray.show ()
# Controls whether or not the application really exits