diff options
author | Timothy Pearson <[email protected]> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /templates/annotated/systray.py | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
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 ------------------------------------------------ |