aboutsummaryrefslogtreecommitdiffstats
path: root/gpgcontext.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-08-03 09:44:12 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-08-03 09:44:12 +0000
commitf9143c0d39e2a2127eeedabdbb115e4072ee4ad9 (patch)
tree644fb034935de3242e46c49785143c523692e525 /gpgcontext.cpp
parentfix crash, what todo with secres keys? (diff)
downloadgpg4usb-f9143c0d39e2a2127eeedabdbb115e4072ee4ad9.tar.gz
gpg4usb-f9143c0d39e2a2127eeedabdbb115e4072ee4ad9.zip
reorganize kgpg source tree
git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2-mac@931 34ebc366-c3a9-4b3c-9f84-69acf7962910
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;