From a21359c80a4ca2a2c6082faf68054f9538f7c4a8 Mon Sep 17 00:00:00 2001 From: nils Date: Wed, 12 Oct 2011 21:08:32 +0000 Subject: 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 --- verifynotification.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'verifynotification.h') 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 #include @@ -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 verifyDetailStringVector; /** Vector containing the text for labels in verifydetaildialog */ QVector verifyDetailStatusVector; /** Vector containing the status for labels in verifydetaildialog */ -private slots: - void refresh(); }; #endif // __VERIFYNOTIFICATION_H__ -- cgit v1.2.3