summaryrefslogtreecommitdiffstats
path: root/templates/basic/systray.py
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-10 10:12:35 +0900
committerMichele Calgaro <[email protected]>2024-01-10 10:12:35 +0900
commitd94985267d6f224c5a9833736762f466d264374d (patch)
tree493b94e70d01d14903bf19aece4af02da401190c /templates/basic/systray.py
parent36e3e3e1b3a8d802d926b424391e2cc9d3b19c20 (diff)
downloadpytde-d94985267d6f224c5a9833736762f466d264374d.tar.gz
pytde-d94985267d6f224c5a9833736762f466d264374d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
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()