aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyDetailsDialog.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/keypair_details/KeyDetailsDialog.h (renamed from include/ui/keypair_details/KeyDetailsDialog.h)23
1 files changed, 12 insertions, 11 deletions
diff --git a/include/ui/keypair_details/KeyDetailsDialog.h b/src/ui/keypair_details/KeyDetailsDialog.h
index 4d2cde88..0f7342aa 100644
--- a/include/ui/keypair_details/KeyDetailsDialog.h
+++ b/src/ui/keypair_details/KeyDetailsDialog.h
@@ -25,22 +25,23 @@
#ifndef __KEYDETAILSDIALOG_H__
#define __KEYDETAILSDIALOG_H__
-#include "gpg/GpgContext.h"
#include "KeyPairDetailTab.h"
-#include "KeyPairUIDTab.h"
#include "KeyPairSubkeyTab.h"
+#include "KeyPairUIDTab.h"
+#include "gpg/GpgContext.h"
+#include "ui/GpgFrontendUI.h"
-class KeyDetailsDialog : public QDialog {
-Q_OBJECT
-
-public:
-
- KeyDetailsDialog(GpgFrontend::GpgContext *ctx, const GpgKey& key, QWidget *parent = nullptr);
+namespace GpgFrontend::UI {
-private:
+class KeyDetailsDialog : public QDialog {
+ Q_OBJECT
- QTabWidget *tabWidget{};
+ public:
+ explicit KeyDetailsDialog(const GpgKey& key, QWidget* parent = nullptr);
+ private:
+ QTabWidget* tabWidget{};
};
+} // namespace GpgFrontend::UI
-#endif // __KEYDETAILSDIALOG_H__
+#endif // __KEYDETAILSDIALOG_H__