summaryrefslogtreecommitdiffstats
path: root/kjsembed/qjscmd.cpp
diff options
context:
space:
mode:
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;
}