From 4a4098e3a72e5bb831ac5522ae405ec99da1c8f3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 15 Dec 2024 22:24:58 +0900 Subject: Use TDEProcIO class Signed-off-by: Michele Calgaro --- src/schedule.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/schedule.cpp') 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 // REMOVEME /* Finding out ICEauthority path */ -#include +#include 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<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; -- cgit v1.2.3