diff options
Diffstat (limited to 'src/arkollon/klamarkollon.cpp')
-rw-r--r-- | src/arkollon/klamarkollon.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/arkollon/klamarkollon.cpp b/src/arkollon/klamarkollon.cpp index 12429bc..0dc7b08 100644 --- a/src/arkollon/klamarkollon.cpp +++ b/src/arkollon/klamarkollon.cpp @@ -27,25 +27,25 @@ #include <unistd.h> #include <sys/types.h> -#include <qapplication.h> +#include <tqapplication.h> #include "wizard.h" #include "uninstallwizard.h" int main(int argc, char *argv[]) { - QApplication app(argc, argv); + TQApplication app(argc, argv); // Check if we're root if (getuid() != 0) { - QString command = "kdesu -i klamav -n -c \""; + TQString command = "kdesu -i klamav -n -c \""; for (int i=0 ; i<app.argc() ; i++) { - if (QString(app.argv()[i]).contains(" ")) - command += "\\\"" + QString(app.argv()[i]) + "\\\" "; + if (TQString(app.argv()[i]).contains(" ")) + command += "\\\"" + TQString(app.argv()[i]) + "\\\" "; else - command += QString(app.argv()[i]) + " "; + command += TQString(app.argv()[i]) + " "; } command += "\""; return system(command.latin1()); @@ -55,14 +55,14 @@ int main(int argc, char *argv[]) for ( int i = 1; i < app.argc(); i++ ) { - if (QString(app.argv()[i]) == "--help") + if (TQString(app.argv()[i]) == "--help") { printf("Arkollon is a utility to aid installation and removal of packages from source.\n"); printf("Usage: arkollon DIRECTORY Installs a source package from DIRECTORY\n"); printf(" arkollon --uninstall Starts the uninstaller\n"); return 0; } - if (QString(app.argv()[i]) == "--uninstall") + if (TQString(app.argv()[i]) == "--uninstall") wizard = new UninstallWizard(NULL); } |