diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-08-10 01:02:24 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-08-10 01:02:24 +0000 |
commit | 2f0d0efa8f39d915d114537483bcc9b48aeae263 (patch) | |
tree | db4b89e5dca53fed6018dbcb19eb08ab170fac3d /verifynotification.h | |
parent | added detail dialog to verificationwidget (diff) | |
download | gpg4usb-2f0d0efa8f39d915d114537483bcc9b48aeae263.tar.gz gpg4usb-2f0d0efa8f39d915d114537483bcc9b48aeae263.zip |
just comments
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@512 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'verifynotification.h')
-rw-r--r-- | verifynotification.h | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/verifynotification.h b/verifynotification.h index 54e0e22..fcb67f8 100644 --- a/verifynotification.h +++ b/verifynotification.h @@ -18,25 +18,33 @@ class VerifyNotification : public QWidget Q_OBJECT public: explicit VerifyNotification(GpgME::Context *ctx,QWidget *parent = 0 ); + // set the text of verifynotification void setVerifyLabel(QString text); - void addImportAction(); - void removeImportAction(); + // show the import action in menu + void showImportAction(); + // hide the import action in menu + void hideImportAction(); + // List holding the keys in signature, which are not in the keylist QStringList *keysNotInList; + // set text shown in verifydetails dialog void setVerifyDetailText(QString text); signals: public slots: + // import missing key from keyserver void importFromKeyserver(); + // show verify details void showVerifyDetails(); private: - QMenu *detailMenu; - QLabel *verifyLabel; - GpgME::Context *mCtx; - QHBoxLayout *notificationWidgetLayout; + QMenu *detailMenu; // Menu for te Button in verfiyNotification QAction *importFromKeyserverAct; QAction *showVerifyDetailsAct; - QString *verifyDetailText; + QString *verifyDetailText; // Text showed in VerifiyNotification + QPushButton *detailsButton; // Button shown in verifynotification + QLabel *verifyLabel; // Label holding the text shown in verifyNotification + GpgME::Context *mCtx; + QHBoxLayout *notificationWidgetLayout; }; #endif // VERIFYNOTIFICATION_H |