aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/UserInterfaceUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/UserInterfaceUtils.h')
-rw-r--r--src/ui/UserInterfaceUtils.h18
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_; ///<
};