diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-08-08 20:01:02 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-08-08 20:01:02 +0000 |
commit | 188282cd21fccce9f67a180d499e2cb875a5f938 (patch) | |
tree | a8f976006e0a15e749e63607c79e154c4b350ea8 /verifynotification.h | |
parent | changed removeNoteByClassname to hideNoteByClassname since remove doesn't work (diff) | |
download | gpg4usb-188282cd21fccce9f67a180d499e2cb875a5f938.tar.gz gpg4usb-188282cd21fccce9f67a180d499e2cb875a5f938.zip |
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
Diffstat (limited to 'verifynotification.h')
-rw-r--r-- | verifynotification.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |