summaryrefslogtreecommitdiffstats
path: root/src/scanviewer.cpp
diff options
context:
space:
mode:
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();