diff options
Diffstat (limited to '')
-rw-r--r-- | src/ui/keypair_details/KeyUIDSignDialog.h (renamed from include/ui/keypair_details/KeyUIDSignDialog.h) | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/include/ui/keypair_details/KeyUIDSignDialog.h b/src/ui/keypair_details/KeyUIDSignDialog.h index 88549e95..8a83977a 100644 --- a/include/ui/keypair_details/KeyUIDSignDialog.h +++ b/src/ui/keypair_details/KeyUIDSignDialog.h @@ -1,7 +1,7 @@ /** - * This file is part of GPGFrontend. + * This file is part of GpgFrontend. * - * GPGFrontend is free software: you can redistribute it and/or modify + * GpgFrontend is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. @@ -25,40 +25,40 @@ #ifndef GPGFRONTEND_KEYUIDSIGNDIALOG_H #define GPGFRONTEND_KEYUIDSIGNDIALOG_H -#include "GpgFrontend.h" - #include "gpg/GpgContext.h" +#include "ui/GpgFrontendUI.h" #include "ui/widgets/KeyList.h" -class KeyUIDSignDialog : public QDialog { - Q_OBJECT - -public: +namespace GpgFrontend::UI { - explicit KeyUIDSignDialog(GpgME::GpgContext *ctx, const GpgKey &key, const QVector<GpgUID> &uid, QWidget *parent = nullptr); - -private: - - GpgME::GpgContext *mCtx; +class KeyUIDSignDialog : public QDialog { + Q_OBJECT - KeyList *mKeyList; + public: + explicit KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid, + QWidget* parent = nullptr); - QPushButton *signKeyButton; + signals: + void signalKeyUIDSignUpdate(); - QDateTimeEdit *expiresEdit; + private: + KeyList* mKeyList; - QCheckBox *nonExpireCheck; + QPushButton* signKeyButton; - const QVector<GpgUID> mUids; + QDateTimeEdit* expiresEdit; - const GpgKey &mKey; + QCheckBox* nonExpireCheck; + UIDArgsListPtr mUids; -private slots: + const GpgKey& mKey; - void slotSignKey(bool clicked); + private slots: + void slotSignKey(bool clicked); }; +} // namespace GpgFrontend::UI -#endif //GPGFRONTEND_KEYUIDSIGNDIALOG_H +#endif // GPGFRONTEND_KEYUIDSIGNDIALOG_H |