summaryrefslogtreecommitdiffstats
path: root/kommander/executor/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/executor/main.cpp')
-rw-r--r--kommander/executor/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kommander/executor/main.cpp b/kommander/executor/main.cpp
index 589ec1cd..00d7e509 100644
--- a/kommander/executor/main.cpp
+++ b/kommander/executor/main.cpp
@@ -25,9 +25,9 @@
#include <kmessagebox.h>
/* QT INCLUDES */
-#include <qapplication.h>
-#include <qobject.h>
-#include <qstring.h>
+#include <tqapplication.h>
+#include <tqobject.h>
+#include <tqstring.h>
/* OTHER INCLUDES */
#include <cstdio>
@@ -70,7 +70,7 @@ int main(int argc, char *argv[])
else if (args->count())
{
char buf[200];
- QString baseFile = args->url(0).fileName();
+ TQString baseFile = args->url(0).fileName();
int ext = baseFile.findRev('.');
if (ext != -1)
baseFile = baseFile.left(ext);
@@ -81,18 +81,18 @@ int main(int argc, char *argv[])
KLocale::setMainCatalogue("kommander");
KApplication app;
- QObject::connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
+ TQObject::connect(&app, TQT_SIGNAL(lastWindowClosed()), &app, TQT_SLOT(quit()));
if (!args->count())
{
KMessageBox::sorry(0, i18n("Error: no dialog given. Use --stdin option to read dialog from standard input.\n"));
return -1;
}
Instance instance;
- if (!instance.build(args->isSet("stdin") ? QString() : args->url(0)))
+ if (!instance.build(args->isSet("stdin") ? TQString() : args->url(0)))
return -1;
// Read command-line variables
- QStringList cmdargs;
+ TQStringList cmdargs;
for (int i = !args->isSet("stdin"); i<args->count(); i++)
cmdargs.append(args->arg(i));
instance.addCmdlineArguments(cmdargs);