summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/systemtray
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/docs/examples/systemtray')
-rwxr-xr-xkjsembed/docs/examples/systemtray/systemtray.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/kjsembed/docs/examples/systemtray/systemtray.js b/kjsembed/docs/examples/systemtray/systemtray.js
index 5ecc55f0..1f87998c 100755
--- a/kjsembed/docs/examples/systemtray/systemtray.js
+++ b/kjsembed/docs/examples/systemtray/systemtray.js
@@ -5,7 +5,7 @@
//
// Create the main window
-mainwin = new QTextEdit(this);
+mainwin = new TQTextEdit(this);
mainwin.text = '<qt>This is the main window for a script that illustrates '
+ 'the use of the <i>System Tray</i>.';
@@ -13,7 +13,7 @@ mainwin.text = '<qt>This is the main window for a script that illustrates '
trayicon = new KSystemTray( mainwin );
// Set the pixmap of the tray icon (we force it to be loaded from the cwd here)
-cwd = (new QDir()).absPath();
+cwd = (new TQDir()).absPath();
trayicon.pixmap = trayicon.loadIcon( cwd + '/kjstray.png' );
// Ensure we quit when you choose the option from the tray item's menu