diff options
Diffstat (limited to 'templates/basic/systray1.py')
| -rw-r--r-- | templates/basic/systray1.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/basic/systray1.py b/templates/basic/systray1.py index 1442e0c..d112813 100644 --- a/templates/basic/systray1.py +++ b/templates/basic/systray1.py @@ -29,7 +29,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 @@ -43,7 +43,7 @@ class MainWin (TDEMainWindow): 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 () def queryClose (self): |
