diff options
author | Michele Calgaro <[email protected]> | 2024-12-16 13:36:22 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-12-16 13:36:22 +0900 |
commit | 834febe1fd138859a6384428c108d4d163e0fd2f (patch) | |
tree | 5c223938fe05d2064ab7bd8816735c506febacfc /kgpg/kgpgoptions.cpp | |
parent | 3e7afb77fa6046426eeb62d412b27a5cdae44140 (diff) | |
download | tdeutils-834febe1fd138859a6384428c108d4d163e0fd2f.tar.gz tdeutils-834febe1fd138859a6384428c108d4d163e0fd2f.zip |
Use TDEProcIO class
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kgpg/kgpgoptions.cpp')
-rw-r--r-- | kgpg/kgpgoptions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kgpg/kgpgoptions.cpp b/kgpg/kgpgoptions.cpp index 3c18751..cc19d24 100644 --- a/kgpg/kgpgoptions.cpp +++ b/kgpg/kgpgoptions.cpp @@ -26,7 +26,7 @@ #include <tdeconfig.h> #include <tdeversion.h> #include <tdelocale.h> -#include <kprocio.h> +#include <tdeprocio.h> #include <tqcheckbox.h> #include <tqradiobutton.h> #include <tqpushbutton.h> @@ -206,7 +206,7 @@ void kgpgOptions::slotChangeHome() if (!TQFile(gpgHome+confPath).exists()) { if (KMessageBox::questionYesNo(this,i18n("No configuration file was found in the selected location.\nDo you want to create it now ?\n\nWithout configuration file, neither KGpg nor Gnupg will work properly."),i18n("No Configuration File Found"),i18n("Create"),i18n("Ignore")) ==KMessageBox::Yes) {////////// Try to create config File by running gpg once - KProcIO *p=new KProcIO(); + TDEProcIO *p=new TDEProcIO(); *p<<"gpg"<<"--homedir"<<gpgHome<<"--no-tty"<<"--list-secret-keys"; p->start(TDEProcess::Block); //// start gnupg so that it will create a config file confPath="gpg.conf"; |