summaryrefslogtreecommitdiffstats
path: root/templates/basic/systray.py
diff options
context:
space:
mode:
Diffstat (limited to 'templates/basic/systray.py')
-rw-r--r--templates/basic/systray.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/basic/systray.py b/templates/basic/systray.py
index f88dae5..617f15b 100644
--- a/templates/basic/systray.py
+++ b/templates/basic/systray.py
@@ -29,7 +29,7 @@ copyright holder.
import sys
-from PyTQt.tqt import TQWidget, SIGNAL
+from PyTQt.tqt import TQWidget, TQ_SIGNAL
from tdecore import TDEApplication, TDEIcon, TDEIconLoader, TDEAboutData, TDECmdLineArgs
from tdeui import KSystemTray
@@ -63,7 +63,7 @@ icons = TDEIconLoader ()
systray = KSystemTray (mainWindow)
systray.setPixmap (icons.loadIcon("process-stop", TDEIcon.Desktop))
-systray.connect (systray, SIGNAL ("quitSelected ()"), slotQuitSelected)
+systray.connect (systray, TQ_SIGNAL ("quitSelected ()"), slotQuitSelected)
systray.show ()
mainWindow.show()