diff options
author | Saturneric <[email protected]> | 2021-10-02 14:08:50 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-10-02 14:16:27 +0000 |
commit | 3c65d087eeee687ac01af2e80f3dd538f9a2c230 (patch) | |
tree | 1e860dc6343c1897e2224a002f2ca44c574381b3 /src/ui/keypair_details/KeyDetailsDialog.h | |
parent | The basic functions of the core pass the test. (diff) | |
download | GpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.tar.gz GpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.zip |
UI Framework Modified.
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__ |