aboutsummaryrefslogtreecommitdiffstats
path: root/verifynotification.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-08-08 20:01:02 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-08-08 20:01:02 +0000
commit188282cd21fccce9f67a180d499e2cb875a5f938 (patch)
treea8f976006e0a15e749e63607c79e154c4b350ea8 /verifynotification.h
parentchanged removeNoteByClassname to hideNoteByClassname since remove doesn't work (diff)
downloadgpg4usb-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.h6
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