summaryrefslogtreecommitdiffstats
path: root/kpackage/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/main.cpp')
-rw-r--r--kpackage/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kpackage/main.cpp b/kpackage/main.cpp
index 781d741..3ee47cd 100644
--- a/kpackage/main.cpp
+++ b/kpackage/main.cpp
@@ -33,7 +33,7 @@
#include "../config.h"
#include "kpackage.h"
-#include <qfile.h>
+#include <tqfile.h>
#include <kapplication.h>
#include <kglobal.h>
@@ -74,7 +74,7 @@ kpRun *kprun;
kpRun *kpstart;
Opts *opts;
-QString hostName;
+TQString hostName;
pkgInterface *kpinterface[kpinterfaceN];
@@ -93,12 +93,12 @@ int main(int argc, char **argv)
int j = 0;
// Make sure PATH has the right directories in it
- QCString path = getenv("PATH");
+ TQCString path = getenv("PATH");
path = "PATH=" + path + ":/sbin:/usr/sbin:/usr/local/bin";
putenv(strdup(path.data()));
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
- QString remoteHost = args->getOption("remote");
+ TQString remoteHost = args->getOption("remote");
if (remoteHost.isEmpty() || remoteHost == "localhost") {
hostName = "";
@@ -140,7 +140,7 @@ int main(int argc, char **argv)
kpkg->setCaption(hostName);
if (args->count()) { // an argument has been given
- QStringList files;
+ TQStringList files;
for(int i = 0; i < args->count(); i++) {
files.append(args->url(i).url());
}