diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-15 22:24:58 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-15 22:24:58 +0900 |
| commit | 4a4098e3a72e5bb831ac5522ae405ec99da1c8f3 (patch) | |
| tree | e594941f0b6bbb41e79ed923b57cbe9a8eb9a0a9 /src/schedule.cpp | |
| parent | 380c30b18b5c7bab2fb8d0708deb6a71c16f4019 (diff) | |
| download | klamav-4a4098e3a72e5bb831ac5522ae405ec99da1c8f3.tar.gz klamav-4a4098e3a72e5bb831ac5522ae405ec99da1c8f3.zip | |
Use TDEProcIO class
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/schedule.cpp')
| -rw-r--r-- | src/schedule.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/schedule.cpp b/src/schedule.cpp index 02d11c4..80395d8 100644 --- a/src/schedule.cpp +++ b/src/schedule.cpp @@ -24,7 +24,7 @@ #include <kdebug.h> // REMOVEME /* Finding out ICEauthority path */ -#include <kprocio.h> +#include <tdeprocio.h> Schedule::Schedule( TQWidget* parent, const char* name, bool modal, WFlags fl ) : TQDialog( parent, name, modal, fl ) @@ -489,18 +489,18 @@ void Schedule::getICEauth() /* Code taken from freshklam.cpp */ TQString command=TQString("iceauth -v exit"); - iceproc = new KProcIO(); + iceproc = new TDEProcIO(); iceproc->setUseShell(TRUE); - iceproc->setUsePty(KProcIO::Stdout,TRUE); + iceproc->setUsePty(TDEProcIO::Stdout,TRUE); *iceproc<<command; - connect( iceproc, TQ_SIGNAL(readReady(KProcIO *)), - TQ_SLOT(slotICEoutput(KProcIO *)) ); + connect( iceproc, TQ_SIGNAL(readReady(TDEProcIO *)), + TQ_SLOT(slotICEoutput(TDEProcIO *)) ); connect( iceproc, TQ_SIGNAL(processExited(TDEProcess *)), TQ_SLOT(slotICEexited()) ); - iceproc->start(KProcIO::NotifyOnExit); + iceproc->start(TDEProcIO::NotifyOnExit); iceproc->closeWhenDone(); } @@ -510,7 +510,7 @@ void Schedule::slotICEexited() delete iceproc; } -void Schedule::slotICEoutput(KProcIO *) +void Schedule::slotICEoutput(TDEProcIO *) { TQString lineout = ""; int pos; |
