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.h24
1 files changed, 20 insertions, 4 deletions
diff --git a/src/ui/UserInterfaceUtils.h b/src/ui/UserInterfaceUtils.h
index d11ae9a2..7761de7b 100644
--- a/src/ui/UserInterfaceUtils.h
+++ b/src/ui/UserInterfaceUtils.h
@@ -163,6 +163,18 @@ class CommonUtils : public QWidget {
*/
void SignalKeyDatabaseRefreshDone();
+ /**
+ * @brief
+ *
+ */
+ void SignalNeedUserInputPassphrase();
+
+ /**
+ * @brief
+ *
+ */
+ void SignalUserInputPassphraseDone(QString passphrase);
+
public slots:
/**
* @brief
@@ -220,10 +232,8 @@ class CommonUtils : public QWidget {
* @param arguments
* @param interact_func
*/
- void SlotExecuteCommand(
- const std::string& cmd,
- const QStringList& arguments,
- const std::function<void(QProcess*)>& interact_func);
+ void SlotExecuteCommand(const std::string& cmd, const QStringList& arguments,
+ const std::function<void(QProcess*)>& interact_func);
private slots:
@@ -233,6 +243,12 @@ class CommonUtils : public QWidget {
*/
void slot_update_key_status();
+ /**
+ * @brief
+ *
+ */
+ void slot_popup_passphrase_input_dialog();
+
private:
static std::unique_ptr<CommonUtils> instance_; ///<
};