summaryrefslogtreecommitdiffstats
path: root/templates/annotated/systray.py
diff options
context:
space:
mode:
Diffstat (limited to 'templates/annotated/systray.py')
-rw-r--r--templates/annotated/systray.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/annotated/systray.py b/templates/annotated/systray.py
index dee4e90..56944a8 100644
--- a/templates/annotated/systray.py
+++ b/templates/annotated/systray.py
@@ -34,16 +34,16 @@ from tdecore import TDEApplication, KIcon, KIconLoader
from tdeui import KSystemTray
"""
-Typically an application's "main window" will be a KMainWindow or
-a subclass of KMainWindow (KMainWindow provides simple mechanisms
+Typically an application's "main window" will be a TDEMainWindow or
+a subclass of TDEMainWindow (TDEMainWindow provides simple mechanisms
for constructing mens, toolbars, statusbars, etc). The problem with
-using KMainWindow in a System Tray application is that when
-KMainWindow is closed, it also shuts down TDEApplication and the
+using TDEMainWindow in a System Tray application is that when
+TDEMainWindow is closed, it also shuts down TDEApplication and the
program terminates.
One way around that (not necessarily the best way - see systray1.py)
is to make the "main window" a TQWidget or other TQWidget subclass
-that's not KMainWindow.
+that's not TDEMainWindow.
"""
class MainWin (TQWidget):