aboutsummaryrefslogtreecommitdiffstats
path: root/context.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-10-08 16:16:45 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-10-08 16:16:45 +0000
commit1a7ee0101a14e40543802942a04f7413d10c8302 (patch)
tree5fe88e6213af7a6e31b4a5f5ae76a4eda199ef46 /context.h
parentrenamed myCtx to mCtx in gpgwin* (diff)
downloadgpg4usb-1a7ee0101a14e40543802942a04f7413d10c8302.tar.gz
gpg4usb-1a7ee0101a14e40543802942a04f7413d10c8302.zip
now keylist is refreshed in all keylists (mainwindow and keymgmt ), when one of them changed
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@186 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'context.h')
-rw-r--r--context.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/context.h b/context.h
index fd4277c..8f4cc99 100644
--- a/context.h
+++ b/context.h
@@ -51,8 +51,9 @@ typedef QLinkedList< GpgKey > GpgKeyList;
namespace GpgME
{
-class Context
+class Context : public QObject
{
+ Q_OBJECT
public:
Context(); // Consttructor
@@ -67,6 +68,9 @@ public:
bool decrypt(const QByteArray &inBuffer, QByteArray *outBuffer);
void clearCache();
+signals:
+ void keyDBChanged();
+
private:
gpgme_ctx_t m_ctx;
gpgme_data_t in, out;