summaryrefslogtreecommitdiffstats
path: root/kommander/executor/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /kommander/executor/main.cpp
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);