diff options
Diffstat (limited to '')
-rw-r--r-- | src/ui/KeyImportDetailDialog.h (renamed from include/ui/KeyImportDetailDialog.h) | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/include/ui/KeyImportDetailDialog.h b/src/ui/KeyImportDetailDialog.h index 243eead3..e3137503 100644 --- a/include/ui/KeyImportDetailDialog.h +++ b/src/ui/KeyImportDetailDialog.h @@ -25,27 +25,32 @@ #ifndef __KEYIMPORTDETAILSDIALOG_H__ #define __KEYIMPORTDETAILSDIALOG_H__ +#include <gpg/function/GpgKeyImportExportor.h> #include "gpg/GpgContext.h" +#include "ui/GpgFrontendUI.h" -class KeyImportDetailDialog : public QDialog -{ - Q_OBJECT +namespace GpgFrontend::UI { +class KeyImportDetailDialog : public QDialog { + Q_OBJECT -public: - KeyImportDetailDialog(GpgFrontend::GpgContext *ctx, GpgImportInformation result, bool automatic, QWidget *parent = 0); + public: + KeyImportDetailDialog(GpgImportInformation result, + bool automatic, + QWidget* parent = nullptr); -private: - void createGeneralInfoBox(); - void createKeysTable(); - void createButtonBox(); - static QString getStatusString(int keyStatus); + private: + void createGeneralInfoBox(); + void createKeysTable(); + void createButtonBox(); + static QString getStatusString(int keyStatus); - QTableWidget *keysTable{}; - GpgFrontend::GpgContext *mCtx; - QGroupBox *generalInfoBox{}; - QGroupBox *keyInfoBox{}; - QDialogButtonBox *buttonBox{}; - GpgImportInformation mResult; + QTableWidget* keysTable{}; + GpgFrontend::GpgContext* mCtx; + QGroupBox* generalInfoBox{}; + QGroupBox* keyInfoBox{}; + QDialogButtonBox* buttonBox{}; + GpgImportInformation mResult; }; +} // namespace GpgFrontend::UI -#endif // __KEYIMPORTDETAILSDIALOG_H__ +#endif // __KEYIMPORTDETAILSDIALOG_H__ |