summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/systemtray
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/docs/examples/systemtray
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
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