From d94985267d6f224c5a9833736762f466d264374d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 10 Jan 2024 10:12:35 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- templates/basic/systray.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/basic/systray.py') 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() -- cgit v1.2.1