aboutsummaryrefslogtreecommitdiffstats
path: root/context.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-10-11 20:34:55 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-10-11 20:34:55 +0000
commit5af560a0ef23b5a1d134f65e135e5c7f4bc1a84c (patch)
tree748f719a627d5e2a0dea167b4c25758e47f73b0e /context.h
parentmoved preventnodataerr to context.cpp, added refresh slots for verify (diff)
downloadgpg4usb-5af560a0ef23b5a1d134f65e135e5c7f4bc1a84c.tar.gz
gpg4usb-5af560a0ef23b5a1d134f65e135e5c7f4bc1a84c.zip
moved textissigned to context
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@545 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'context.h')
-rw-r--r--context.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/context.h b/context.h
index 8338fed..375758c 100644
--- a/context.h
+++ b/context.h
@@ -98,6 +98,16 @@ public:
*/
void preventNoDataErr(QByteArray *in);
+ /**
+ * @brief
+ *
+ * @param text
+ * @return \li 2, if the text is completly signed,
+ * \li 1, if the text is partially signed,
+ * \li 0, if the text is not signed at all.
+ */
+ int textIsSigned(const QByteArray &text);
+
signals:
void keyDBChanged();