diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-10 10:12:35 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:03:49 +0900 |
| commit | db88dbbdb24193c81d3b4b893553b78cddf32eb3 (patch) | |
| tree | 392ed8ab9606ee7a8a67b201e84a8b4a9e8ddb5a /templates/basic/systray.py | |
| parent | bab19cc2a24fceccebe4477c4af99a6a162ef998 (diff) | |
| download | pytde-db88dbbd.tar.gz pytde-db88dbbd.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d94985267d6f224c5a9833736762f466d264374d)
Diffstat (limited to 'templates/basic/systray.py')
| -rw-r--r-- | templates/basic/systray.py | 4 |
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() |
