summaryrefslogtreecommitdiffstats
path: root/kpackage/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
commitaa3a1ca934bc541bddd3fa136a85f106f7da266e (patch)
tree9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /kpackage/main.cpp
parentb10cf7066791a2f362495890cd50c984e8025412 (diff)
downloadtdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz
tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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());
}