Commit 60243aa7 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

Kill some debries: remove the last unused K3* stuff from KgpgInterface

svn path=/trunk/KDE/kdeutils/kgpg/; revision=767892
parent 8b43b9ef
......@@ -30,7 +30,6 @@
#include <knewpassworddialog.h>
#include <KLocale>
#include <KCodecs>
#include <K3ProcIO>
#include <KProcess>
#include <KConfig>
#include <KDebug>
......@@ -2077,20 +2076,6 @@ void KgpgInterface::revokeprocess(GPGProc *p)
}
}
K3ProcIO *KgpgInterface::gpgProc(const int &statusfd, const int &cmdfd)
{
K3ProcIO *process = new K3ProcIO(QTextCodec::codecForName("utf8"));
*process << KGpgSettings::gpgBinaryPath() << "--no-secmem-warning" << "--no-tty";
if (statusfd >= 0)
*process << "--status-fd=" + QString::number(statusfd);
if (cmdfd >= 0)
*process << "--command-fd=" + QString::number(cmdfd);
return process;
}
void KgpgInterface::findSigns(const QString &keyID, const QStringList &ids, const QString &uid, QList<int> *res)
{
GPGProc *listproc = new GPGProc(this);
......
......@@ -27,8 +27,6 @@
#include <kgpgkey.h>
class KTemporaryFile;
class K3Process;
class K3ProcIO;
class KProcess;
class GPGProc;
......@@ -554,7 +552,6 @@ private:
QString userIDs;
QString log;
KProcess *editprocess;
static K3ProcIO *gpgProc(const int &statusfd = -1, const int &cmdfd = -1);
/**
* @internal structure for communication
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment