summaryrefslogtreecommitdiffstats
path: root/src/arkollon/klamarkollon.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-01-13 19:30:17 +0200
committerMavridis Philippe <[email protected]>2021-01-13 19:30:17 +0200
commit357ddeb8afd82d69ef871c146f4fc8f2c67fb17e (patch)
treedc3ef0e6fedd64f5fb177c114f72e1515a07cd1b /src/arkollon/klamarkollon.cpp
parentc6cbd71bc169ac0e927e52325dbbbcb506abbc73 (diff)
downloadklamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.tar.gz
klamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.zip
Conversion Qt3->TQt
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/arkollon/klamarkollon.cpp')
-rw-r--r--src/arkollon/klamarkollon.cpp16
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);
}