aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/KeyMgmt.h
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2022-07-23 14:54:51 +0000
committerGitHub <[email protected]>2022-07-23 14:54:51 +0000
commitb244320b2d228189767aa6d59febceb6b64527fb (patch)
tree179d34e2a3e84231fad72c4bbe9f74673d0b74d0 /src/ui/main_window/KeyMgmt.h
parentMerge pull request #68 from saturneric/develop-2.0.8 (diff)
parentfeat(project): add rpm package support (diff)
downloadGpgFrontend-2.0.9.tar.gz
GpgFrontend-2.0.9.zip
Merge pull request #70 from saturneric/dev/2.0.8/saturnericv2.0.9
Develop 2.0.9.1
Diffstat (limited to '')
-rw-r--r--[-rwxr-xr-x]src/ui/main_window/KeyMgmt.h (renamed from src/ui/KeyMgmt.h)25
1 files changed, 6 insertions, 19 deletions
diff --git a/src/ui/KeyMgmt.h b/src/ui/main_window/KeyMgmt.h
index 25ee80c5..2073113a 100755..100644
--- a/src/ui/KeyMgmt.h
+++ b/src/ui/main_window/KeyMgmt.h
@@ -30,10 +30,11 @@
#define __KEYMGMT_H__
#include "ui/GpgFrontendUI.h"
-#include "ui/import_export/KeyImportDetailDialog.h"
-#include "ui/import_export/KeyServerImportDialog.h"
-#include "ui/key_generate/KeygenDialog.h"
-#include "ui/keypair_details/KeyDetailsDialog.h"
+#include "ui/dialog/import_export/KeyImportDetailDialog.h"
+#include "ui/dialog/import_export/KeyServerImportDialog.h"
+#include "ui/dialog/key_generate/KeygenDialog.h"
+#include "ui/dialog/keypair_details/KeyDetailsDialog.h"
+#include "ui/main_window/GeneralMainWindow.h"
#include "ui/widgets/KeyList.h"
namespace GpgFrontend::UI {
@@ -42,7 +43,7 @@ namespace GpgFrontend::UI {
* @brief
*
*/
-class KeyMgmt : public QMainWindow {
+class KeyMgmt : public GeneralMainWindow {
Q_OBJECT
public:
@@ -107,12 +108,6 @@ class KeyMgmt : public QMainWindow {
* @brief
*
*/
- void SlotSaveWindowState();
-
- /**
- * @brief
- *
- */
void SlotImportKeyPackage();
signals:
@@ -176,14 +171,6 @@ class KeyMgmt : public QMainWindow {
QAction* close_act_{}; ///<
QAction* show_key_details_act_{}; ///<
KeyServerImportDialog* import_dialog_{}; ///<
-
- protected:
- /**
- * @brief
- *
- * @param event
- */
- void closeEvent(QCloseEvent* event) override;
};
} // namespace GpgFrontend::UI