aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/gpg/GpgAssuanHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/function/gpg/GpgAssuanHelper.h')
-rw-r--r--src/core/function/gpg/GpgAssuanHelper.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/function/gpg/GpgAssuanHelper.h b/src/core/function/gpg/GpgAssuanHelper.h
index 294d33e0..7f3854b6 100644
--- a/src/core/function/gpg/GpgAssuanHelper.h
+++ b/src/core/function/gpg/GpgAssuanHelper.h
@@ -81,7 +81,7 @@ class GPGFRONTEND_CORE_EXPORT GpgAssuanHelper
* @return true
* @return false
*/
- auto ConnectToSocket(GpgComponentType) -> bool;
+ auto ConnectToSocket(GpgComponentType) -> GpgError;
/**
* @brief
@@ -96,7 +96,7 @@ class GPGFRONTEND_CORE_EXPORT GpgAssuanHelper
*/
auto SendCommand(GpgComponentType type, const QString& command,
DataCallback data_cb, InqueryCallback inquery_cb,
- StatusCallback status_cb) -> bool;
+ StatusCallback status_cb) -> GpgError;
/**
* @brief
@@ -106,7 +106,7 @@ class GPGFRONTEND_CORE_EXPORT GpgAssuanHelper
* @return std::tuple<bool, QStringList>
*/
auto SendStatusCommand(GpgComponentType type, const QString& command)
- -> std::tuple<bool, QStringList>;
+ -> std::tuple<GpgError, QStringList>;
/**
* @brief