summaryrefslogtreecommitdiffstats
path: root/src/freshklam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/freshklam.cpp')
-rw-r--r--src/freshklam.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/freshklam.cpp b/src/freshklam.cpp
index 3d19996..175893e 100644
--- a/src/freshklam.cpp
+++ b/src/freshklam.cpp
@@ -29,7 +29,7 @@
#include <ksystemtray.h>
#include <ktar.h>
#include <kprogress.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <knotifyclient.h>
#include <tdeapplication.h>
#include <dcopclient.h>
@@ -844,18 +844,18 @@ Freshklam::getCurrentVersionOfClamAV( )
////kdDebug() << "version clamav" << endl;
TQString suCommand=TQString("clamscan -V");
- versionproc = new KProcIO();
+ versionproc = new TDEProcIO();
versionproc->setUseShell(TRUE);
- versionproc->setUsePty (KProcIO::Stdout,TRUE);
+ versionproc->setUsePty (TDEProcIO::Stdout,TRUE);
*versionproc<<suCommand;
- connect( versionproc, TQ_SIGNAL(readReady(KProcIO *)),
- TQ_SLOT(readVersionLine(KProcIO *)) );
+ connect( versionproc, TQ_SIGNAL(readReady(TDEProcIO *)),
+ TQ_SLOT(readVersionLine(TDEProcIO *)) );
connect( versionproc, TQ_SIGNAL(processExited(TDEProcess *)),
TQ_SLOT(versionExited()) );
- versionproc->start(KProcIO::NotifyOnExit);
+ versionproc->start(TDEProcIO::NotifyOnExit);
versionproc->closeWhenDone();
}
@@ -865,7 +865,7 @@ void Freshklam::versionExited()
delete versionproc;
}
-void Freshklam::readVersionLine(KProcIO *)
+void Freshklam::readVersionLine(TDEProcIO *)
{
TQString lineout = "";
int pos;