From 188282cd21fccce9f67a180d499e2cb875a5f938 Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 8 Aug 2011 20:01:02 +0000 Subject: only show import key action in verificynotification-menu when theres missing key on verify git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@510 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- verifynotification.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'verifynotification.h') diff --git a/verifynotification.h b/verifynotification.h index 2c069b7..d1c5bf9 100644 --- a/verifynotification.h +++ b/verifynotification.h @@ -19,17 +19,23 @@ class VerifyNotification : public QWidget public: explicit VerifyNotification(GpgME::Context *ctx,QWidget *parent = 0 ); void setVerifyLabel(QString text); + void addImportAction(); + void removeImportAction(); QStringList *keysNotInList; signals: public slots: void importFromKeyserver(); + void showVerifyDetails(); private: + QMenu *detailMenu; QLabel *verifyLabel; GpgME::Context *mCtx; QHBoxLayout *notificationWidgetLayout; + QAction *importFromKeyserverAct; + QAction *showVerifyDetailsAct; }; #endif // VERIFYNOTIFICATION_H -- cgit v1.2.3