diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/qjscmd.cpp | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-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.cpp | 16 |
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; } |