diff options
author | saturneric <[email protected]> | 2024-01-17 11:39:47 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-17 11:39:47 +0000 |
commit | e352e8e6b8d03a24ef5d52eef3e4d370807b5bbd (patch) | |
tree | 9a59f0b573a845644afe4b8857a89c4b28bdcc0d /src/ui/dialog/gnupg/GnuPGControllerDialog.h | |
parent | fix: solve the gnupg tab options info not shown issue (diff) | |
download | GpgFrontend-e352e8e6b8d03a24ef5d52eef3e4d370807b5bbd.tar.gz GpgFrontend-e352e8e6b8d03a24ef5d52eef3e4d370807b5bbd.zip |
fix: find and slove some bugs
Diffstat (limited to '')
-rw-r--r-- | src/ui/dialog/gnupg/GnuPGControllerDialog.h | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/src/ui/dialog/gnupg/GnuPGControllerDialog.h b/src/ui/dialog/gnupg/GnuPGControllerDialog.h index 9da25728..201801dc 100644 --- a/src/ui/dialog/gnupg/GnuPGControllerDialog.h +++ b/src/ui/dialog/gnupg/GnuPGControllerDialog.h @@ -28,9 +28,6 @@ #pragma once -#include <string> - -#include "ui/GpgFrontendUI.h" #include "ui/dialog/GeneralDialog.h" class Ui_GnuPGControllerDialog; @@ -94,14 +91,34 @@ class GnuPGControllerDialog : public GeneralDialog { * @return true * @return false */ - int get_restart_needed() const; + [[nodiscard]] auto get_restart_needed() const -> int; + /** + * @brief Set the settings object + * + */ void set_settings(); + /** + * @brief + * + */ void apply_settings(); - bool check_custom_gnupg_path(QString); + /** + * @brief + * + * @return true + * @return false + */ + auto check_custom_gnupg_path(QString) -> bool; - bool check_custom_gnupg_key_database_path(QString); + /** + * @brief + * + * @return true + * @return false + */ + auto check_custom_gnupg_key_database_path(QString) -> bool; }; } // namespace GpgFrontend::UI |