aboutsummaryrefslogtreecommitdiffstats
path: root/gpgcontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gpgcontext.cpp')
-rw-r--r--gpgcontext.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/gpgcontext.cpp b/gpgcontext.cpp
index aa2c3da..f87ed11 100644
--- a/gpgcontext.cpp
+++ b/gpgcontext.cpp
@@ -23,7 +23,7 @@
#include "kgpg/gpgproc.h"
#include "kgpg/kgpginterface.h"
#include "kgpg/klinebufferedprocess.h"
-#include "kgpg/kgpgkey.h"
+#include "kgpg/core/kgpgkey.h"
#ifdef _WIN32
#include <windows.h>
#include <unistd.h> /* contains read/write */
@@ -194,19 +194,6 @@ bool GpgContext::exportKeys(QStringList *uidList, QByteArray *outBuffer)
return true;
}
-/*gpgme_key_t GpgContext::getKeyDetails(QString uid)
-{
- gpgme_key_t key;
-
- // try secret
- gpgme_get_key(mCtx, uid.toAscii().constData(), &key, 1);
- // ok, its a public key
- if (!key) {
- gpgme_get_key(mCtx, uid.toAscii().constData(), &key, 0);
- }
- return key;
-}*/
-
KgpgCore::KgpgKey GpgContext::getKeyDetails(QString uid) {
//KgpgCore::KgpgKey key;