summaryrefslogtreecommitdiffstats
path: root/src/scanviewer.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-15 22:24:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-15 22:24:58 +0900
commit4a4098e3a72e5bb831ac5522ae405ec99da1c8f3 (patch)
treee594941f0b6bbb41e79ed923b57cbe9a8eb9a0a9 /src/scanviewer.cpp
parent380c30b18b5c7bab2fb8d0708deb6a71c16f4019 (diff)
downloadklamav-4a4098e3a72e5bb831ac5522ae405ec99da1c8f3.tar.gz
klamav-4a4098e3a72e5bb831ac5522ae405ec99da1c8f3.zip
Use TDEProcIO classHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/scanviewer.cpp')
-rw-r--r--src/scanviewer.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/scanviewer.cpp b/src/scanviewer.cpp
index 1985db4..3637225 100644
--- a/src/scanviewer.cpp
+++ b/src/scanviewer.cpp
@@ -19,7 +19,7 @@
#include <kstatusbar.h>
#include <tdeio/netaccess.h>
#include <knotifyclient.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <tqlayout.h>
#include <tdecmdlineargs.h>
#include <tdemessagebox.h>
@@ -479,9 +479,9 @@ void ScanViewer::slotScan(const TQStringList & filepattern, int mode, bool recur
}
}
- childproc = new KProcIO();
+ childproc = new TDEProcIO();
childproc->setUseShell(TRUE);
- childproc->setUsePty (KProcIO::Stdout,TRUE);
+ childproc->setUsePty (TDEProcIO::Stdout,TRUE);
if(clamdscan) {
config->setGroup("KlamavBackend");
@@ -515,9 +515,9 @@ void ScanViewer::slotScan(const TQStringList & filepattern, int mode, bool recur
TQ_SLOT(receivedOutput(TDEProcess *, char *, int)) );
childproc->start(TDEProcess::NotifyOnExit, TDEProcess::Stdout);*/
- connect( childproc, TQ_SIGNAL(readReady(KProcIO *)),
- TQ_SLOT(receivedOutput(KProcIO *)) );
- childproc->start(KProcIO::NotifyOnExit);
+ connect( childproc, TQ_SIGNAL(readReady(TDEProcIO *)),
+ TQ_SLOT(receivedOutput(TDEProcIO *)) );
+ childproc->start(TDEProcIO::NotifyOnExit);
connect( childproc, TQ_SIGNAL(processExited(TDEProcess *)),
TQ_SLOT(childExited()) );
@@ -660,7 +660,7 @@ void ScanViewer::childExited()
}
-void ScanViewer::receivedOutput(KProcIO *)
+void ScanViewer::receivedOutput(TDEProcIO *)
{
//buf += TQCString(buffer, buflen+1);
processOutput();