From 6d90c01c48d887053051fca3e1c9ca298a8fd1b3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 16 Dec 2024 11:45:17 +0900 Subject: Use TDEProcIO class Signed-off-by: Michele Calgaro --- kcontrol/konqhtml/pluginopts.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kcontrol/konqhtml/pluginopts.cpp') diff --git a/kcontrol/konqhtml/pluginopts.cpp b/kcontrol/konqhtml/pluginopts.cpp index b36f7f1a7..9bb43849f 100644 --- a/kcontrol/konqhtml/pluginopts.cpp +++ b/kcontrol/konqhtml/pluginopts.cpp @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include @@ -291,7 +291,7 @@ void KPluginOptions::scan() save(); } - m_nspluginscan = new KProcIO; + m_nspluginscan = new TDEProcIO; TQString scanExe = TDEGlobal::dirs()->findExe("nspluginscan"); if (!scanExe) { kdDebug() << "can't find nspluginviewer" << endl; @@ -312,8 +312,8 @@ void KPluginOptions::scan() // start nspluginscan *m_nspluginscan << scanExe << "--verbose"; kdDebug() << "Running nspluginscan" << endl; - connect(m_nspluginscan, TQ_SIGNAL(readReady(KProcIO*)), - this, TQ_SLOT(progress(KProcIO*))); + connect(m_nspluginscan, TQ_SIGNAL(readReady(TDEProcIO*)), + this, TQ_SLOT(progress(TDEProcIO*))); connect(m_nspluginscan, TQ_SIGNAL(processExited(TDEProcess *)), this, TQ_SLOT(scanDone())); connect(m_progress, TQ_SIGNAL(cancelled()), this, TQ_SLOT(scanDone())); @@ -321,7 +321,7 @@ void KPluginOptions::scan() m_nspluginscan->start(); } -void KPluginOptions::progress(KProcIO *proc) +void KPluginOptions::progress(TDEProcIO *proc) { TQString line; while(proc->readln(line) > 0) -- cgit v1.2.1