aboutsummaryrefslogtreecommitdiffstats
path: root/context.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-10-11 20:29:14 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-10-11 20:29:14 +0000
commit7df096cffe4806fbc1e13fbcc3170933876a115a (patch)
treeeaeef8024c6466f28a350460f2890a19880e916b /context.h
parentsome commenting (diff)
downloadgpg4usb-7df096cffe4806fbc1e13fbcc3170933876a115a.tar.gz
gpg4usb-7df096cffe4806fbc1e13fbcc3170933876a115a.zip
moved preventnodataerr to context.cpp, added refresh slots for verify
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@544 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'context.h')
-rw-r--r--context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/context.h b/context.h
index 3b834e4..8338fed 100644
--- a/context.h
+++ b/context.h
@@ -90,6 +90,13 @@ public:
// void decryptVerify(QByteArray in);
void sign(const QByteArray &inBuffer, QByteArray *outBuffer);
bool sign(QStringList *uidList, const QByteArray &inBuffer, QByteArray *outBuffer );
+ /**
+ * @details If text contains PGP-message, put a linebreak before the message,
+ * so that gpgme can decrypt correctly
+ *
+ * @param in Pointer to the QBytearray to check.
+ */
+ void preventNoDataErr(QByteArray *in);
signals:
void keyDBChanged();