From 5af560a0ef23b5a1d134f65e135e5c7f4bc1a84c Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 11 Oct 2011 20:34:55 +0000 Subject: moved textissigned to context git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@545 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- context.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'context.h') 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(); -- cgit v1.2.3