From 834febe1fd138859a6384428c108d4d163e0fd2f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 16 Dec 2024 13:36:22 +0900 Subject: Use TDEProcIO class Signed-off-by: Michele Calgaro --- kgpg/popuppublic.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kgpg/popuppublic.cpp') diff --git a/kgpg/popuppublic.cpp b/kgpg/popuppublic.cpp index 4334b65..b1162c2 100644 --- a/kgpg/popuppublic.cpp +++ b/kgpg/popuppublic.cpp @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include #if KDE_IS_VERSION( 3, 2, 90 ) @@ -340,11 +340,11 @@ void popupPublic::refreshkeys() } } } - KProcIO *encid=new KProcIO(TQTextCodec::codecForLocale()); + TDEProcIO *encid=new TDEProcIO(TQTextCodec::codecForLocale()); *encid << "gpg"<<"--no-secmem-warning"<<"--no-tty"<<"--with-colon"<<"--list-keys"; ///////// when process ends, update dialog infos TQObject::connect(encid, TQ_SIGNAL(processExited(TDEProcess *)),this, TQ_SLOT(slotpreselect())); - TQObject::connect(encid, TQ_SIGNAL(readReady(KProcIO *)),this, TQ_SLOT(slotprocread(KProcIO *))); + TQObject::connect(encid, TQ_SIGNAL(readReady(TDEProcIO *)),this, TQ_SLOT(slotprocread(TDEProcIO *))); encid->start(TDEProcess::NotifyOnExit,true); } @@ -455,7 +455,7 @@ void popupPublic::slotSetVisible() keysList->ensureItemVisible(keysList->currentItem()); } -void popupPublic::slotprocread(KProcIO *p) +void popupPublic::slotprocread(TDEProcIO *p) { // collect all data (output starts with pub line followed by related) // kdDebug(2100) << k_funcinfo << endl; -- cgit v1.2.1