aboutsummaryrefslogtreecommitdiffstats
path: root/verifynotification.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-10-12 21:08:32 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-10-12 21:08:32 +0000
commita21359c80a4ca2a2c6082faf68054f9538f7c4a8 (patch)
treeac4a8e173468a8f006160454f4f1fcd30f95df27 /verifynotification.h
parentmoved textissigned to context (diff)
downloadgpg4usb-a21359c80a4ca2a2c6082faf68054f9538f7c4a8.tar.gz
gpg4usb-a21359c80a4ca2a2c6082faf68054f9538f7c4a8.zip
verifynotification and verifydetailsdialog is refreshed on keylist-change, bt keydetailsdialog is doubled on keylist-change
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@546 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'verifynotification.h')
-rw-r--r--verifynotification.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/verifynotification.h b/verifynotification.h
index 495593b..bc43571 100644
--- a/verifynotification.h
+++ b/verifynotification.h
@@ -22,6 +22,7 @@
#ifndef __VERIFYNOTIFICATION_H__
#define __VERIFYNOTIFICATION_H__
+#include "editorpage.h"
#include "verifydetailsdialog.h"
#include <gpgme.h>
#include <QWidget>
@@ -57,7 +58,7 @@ public:
* @param ctx The GPGme-Context
* @param parent The parent widget
*/
- explicit VerifyNotification(QWidget *parent, GpgME::Context *ctx, KeyList *keyList, gpgme_signature_t sign);
+ explicit VerifyNotification(QWidget *parent, GpgME::Context *ctx, KeyList *keyList,QPlainTextEdit *edit);
/**
* @details Set the text and background-color of verify notification.
*
@@ -87,6 +88,11 @@ public slots:
*/
void showVerifyDetails();
+ /**
+ * @details Refresh the contents of dialog.
+ */
+ bool refresh();
+
private:
QMenu *detailMenu; /** Menu for te Button in verfiyNotification */
QAction *importFromKeyserverAct; /** Action for importing keys from keyserver which are notin keylist */
@@ -95,12 +101,10 @@ private:
QLabel *verifyLabel; /** Label holding the text shown in verifyNotification */
GpgME::Context *mCtx; /** GpgME Context */
KeyList *mKeyList; /** Table holding the keys */
- gpgme_signature_t mSignature; /** List holding the signatures of text */
+ QPlainTextEdit *mTextpage; /** Textedit associated to the notification */
QHBoxLayout *notificationWidgetLayout; /** Layout for verify-notification */
QVector<QString> verifyDetailStringVector; /** Vector containing the text for labels in verifydetaildialog */
QVector<verify_label_status> verifyDetailStatusVector; /** Vector containing the status for labels in verifydetaildialog */
-private slots:
- void refresh();
};
#endif // __VERIFYNOTIFICATION_H__