diff options
author | Saturneric <[email protected]> | 2022-05-09 14:40:54 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-05-09 14:40:54 +0000 |
commit | 670733f7a90d337d546afab22ddedeedec6d3d67 (patch) | |
tree | 2c64c0667d2cac45040257802c40963f89737700 /src/ui/UserInterfaceUtils.h | |
parent | doc: add entry to developer document. (diff) | |
download | GpgFrontend-670733f7a90d337d546afab22ddedeedec6d3d67.tar.gz GpgFrontend-670733f7a90d337d546afab22ddedeedec6d3d67.zip |
fix: fix crash poblem when doing operations
1. refactor GpgFunctionObject to solve shared library problem.
2. fix multi-threading issues in refreshing.
3. improve loading speed for key list
4. improve ui operation
5. do other fixing and improving operations
Diffstat (limited to 'src/ui/UserInterfaceUtils.h')
-rw-r--r-- | src/ui/UserInterfaceUtils.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/ui/UserInterfaceUtils.h b/src/ui/UserInterfaceUtils.h index a7f20f10..85ef012b 100644 --- a/src/ui/UserInterfaceUtils.h +++ b/src/ui/UserInterfaceUtils.h @@ -59,8 +59,8 @@ void show_verify_details(QWidget* parent, InfoBoardWidget* info_board, * @param parent * @param verify_res */ -void import_unknown_key_from_keyserver(QWidget* parent, - const GpgVerifyResultAnalyse& verify_res); +void import_unknown_key_from_keyserver( + QWidget* parent, const GpgVerifyResultAnalyse& verify_res); /** * @brief @@ -144,6 +144,12 @@ class CommonUtils : public QWidget { */ void SignalGnupgNotInstall(); + /** + * @brief emit when the key database is refreshed + * + */ + void SignalKeyDatabaseRefreshDone(); + public slots: /** * @brief @@ -195,6 +201,14 @@ class CommonUtils : public QWidget { const QStringList& arguments, const std::function<void(QProcess*)>& interact_func); + private slots: + + /** + * @brief update the key status when signal is emitted + * + */ + void slot_update_key_status(); + private: static std::unique_ptr<CommonUtils> instance_; ///< }; |