diff options
author | Saturn&Eric <[email protected]> | 2023-07-13 16:51:19 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-13 16:51:19 +0000 |
commit | 40bcaec6c8c0c363bf793745131a2e6d0274fd6d (patch) | |
tree | 8dc11045bee7caf8a1b936ee2203dd39bec59e07 /src/ui/UserInterfaceUtils.h | |
parent | Merge pull request #102 from CDmking/main (diff) | |
parent | Merge branch 'main' into dev/2.1.0/main (diff) | |
download | GpgFrontend-40bcaec6c8c0c363bf793745131a2e6d0274fd6d.tar.gz GpgFrontend-40bcaec6c8c0c363bf793745131a2e6d0274fd6d.zip |
Merge pull request #106 from saturneric/dev/2.1.0/main
Develop 2.1.1.4
Diffstat (limited to 'src/ui/UserInterfaceUtils.h')
-rw-r--r-- | src/ui/UserInterfaceUtils.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ui/UserInterfaceUtils.h b/src/ui/UserInterfaceUtils.h index 7dd7bb1e..59c803b9 100644 --- a/src/ui/UserInterfaceUtils.h +++ b/src/ui/UserInterfaceUtils.h @@ -31,6 +31,7 @@ #include "core/GpgModel.h" #include "core/function/result_analyse/GpgVerifyResultAnalyse.h" +#include "core/model/GpgKey.h" #include "ui/GpgFrontendUI.h" namespace GpgFrontend { @@ -150,6 +151,24 @@ class CommonUtils : public QWidget { */ bool isApplicationNeedRestart(); + /** + * @brief + * + */ + bool KeyExistsinFavouriteList(const GpgKey& key); + + /** + * @brief + * + */ + void AddKey2Favourtie(const GpgKey& key); + + /** + * @brief + * + */ + void RemoveKeyFromFavourite(const GpgKey& key); + signals: /** * @brief |