summaryrefslogtreecommitdiffstats
path: root/kjsembed/qjscmd.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/qjscmd.cpp
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz
tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjsembed/qjscmd.cpp')
-rw-r--r--kjsembed/qjscmd.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kjsembed/qjscmd.cpp b/kjsembed/qjscmd.cpp
index f8a95ce6..005d0b9e 100644
--- a/kjsembed/qjscmd.cpp
+++ b/kjsembed/qjscmd.cpp
@@ -20,10 +20,10 @@
#include <stdio.h>
#include <errno.h>
-#include <qstring.h>
-#include <qregexp.h>
-#include <qapplication.h>
-#include <qmainwindow.h>
+#include <tqstring.h>
+#include <tqregexp.h>
+#include <tqapplication.h>
+#include <tqmainwindow.h>
#include <kjs/interpreter.h>
#include <kjs/ustring.h>
@@ -41,9 +41,9 @@ int main( int argc, char **argv )
# endif
#endif
// Setup QApplication
- QApplication *app;
- app = new QApplication( argc, argv );
- app->connect( app, SIGNAL( lastWindowClosed() ), SLOT(quit()) );
+ TQApplication *app;
+ app = new TQApplication( argc, argv );
+ app->connect( app, TQT_SIGNAL( lastWindowClosed() ), TQT_SLOT(quit()) );
// Setup Interpreter
KJSEmbed::JSSecurityPolicy::setDefaultPolicy( KJSEmbed::JSSecurityPolicy::CapabilityAll );
@@ -73,7 +73,7 @@ int main( int argc, char **argv )
}
int result = 0;
- part->execute( QString("include('cmdline.js');") );
+ part->execute( TQString("include('cmdline.js');") );
return result;
}