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, 14 insertions, 4 deletions
diff --git a/src/ui/UserInterfaceUtils.h b/src/ui/UserInterfaceUtils.h
index 372bc55a..9f79cec2 100644
--- a/src/ui/UserInterfaceUtils.h
+++ b/src/ui/UserInterfaceUtils.h
@@ -62,7 +62,6 @@ void show_verify_details(QWidget* parent, InfoBoardWidget* info_board,
*/
void ImportUnknownKeyFromKeyserver(QWidget* parent,
const GpgVerifyResultAnalyse& verify_res);
-
/**
* @brief
*
@@ -133,19 +132,30 @@ class CommonUtils : public QWidget {
* @brief
*
*/
- void AddKey2Favorite(const QString& key_db_name, const GpgKey& key);
+ void AddKey2Favorite(const QString& key_db_name,
+ const GpgAbstractKeyPtr& key);
/**
* @brief
*
*/
- void RemoveKeyFromFavorite(const QString& key_db_name, const GpgKey& key);
+ void RemoveKeyFromFavorite(const QString& key_db_name,
+ const GpgAbstractKeyPtr& key);
/**
* @brief
*
*/
- void ImportKeyFromKeyServer(int channel, const KeyIdArgsList&);
+ void ImportGpgKeyFromKeyServer(int channel, const GpgKeyPtrList&);
+
+ /**
+ * @brief
+ *
+ * @param parent
+ * @param key
+ */
+ static void OpenDetailsDialogByKey(QWidget* parent, int channel,
+ const GpgAbstractKeyPtr& key);
signals:
/**