diff options
Diffstat (limited to 'templates/annotated/systray.py')
-rw-r--r-- | templates/annotated/systray.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/annotated/systray.py b/templates/annotated/systray.py index 8e86b10..7f7dc93 100644 --- a/templates/annotated/systray.py +++ b/templates/annotated/systray.py @@ -29,7 +29,7 @@ copyright holder. import sys -from qt import QWidget, SIGNAL +from qt import TQWidget, SIGNAL from tdecore import KApplication, KIcon, KIconLoader from tdeui import KSystemTray @@ -42,13 +42,13 @@ KMainWindow is closed, it also shuts down KApplication and the program terminates. One way around that (not necessarily the best way - see systray1.py) -is to make the "main window" a QWidget or other QWidget subclass +is to make the "main window" a TQWidget or other TQWidget subclass that's not KMainWindow. """ -class MainWin (QWidget): +class MainWin (TQWidget): def __init__ (self, *args): - apply (QWidget.__init__, (self,) + args) + apply (TQWidget.__init__, (self,) + args) #-------------------- main ------------------------------------------------ |