From 1a7ee0101a14e40543802942a04f7413d10c8302 Mon Sep 17 00:00:00 2001 From: nils Date: Wed, 8 Oct 2008 16:16:45 +0000 Subject: 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 --- context.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'context.h') 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; -- cgit v1.2.3