From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- kjsembed/docs/examples/systemtray/systemtray.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kjsembed/docs/examples/systemtray/systemtray.js') 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 = 'This is the main window for a script that illustrates ' + 'the use of the System Tray.'; @@ -13,7 +13,7 @@ mainwin.text = '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 -- cgit v1.2.3