aboutsummaryrefslogtreecommitdiffstats
path: root/include/gpg/GpgContext.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-05-25 19:12:11 +0000
committerSaturneric <[email protected]>2021-05-25 19:12:11 +0000
commit001db514d1b447892bfae71640bd58567cb7cbcf (patch)
tree4b990ed6966e1e33bb3888f254dc4a7812d1760a /include/gpg/GpgContext.h
parentStreamline, expand and improve the interface of GpgContext. (diff)
downloadGpgFrontend-001db514d1b447892bfae71640bd58567cb7cbcf.tar.gz
GpgFrontend-001db514d1b447892bfae71640bd58567cb7cbcf.zip
Fix some problems caused by negligence.
Basically complete the function of signing the key. There are still problems with the refresh mechanism. Signed-off-by: Saturneric <[email protected]>
Diffstat (limited to 'include/gpg/GpgContext.h')
-rw-r--r--include/gpg/GpgContext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gpg/GpgContext.h b/include/gpg/GpgContext.h
index 5fd54618..1c47b0f6 100644
--- a/include/gpg/GpgContext.h
+++ b/include/gpg/GpgContext.h
@@ -108,7 +108,7 @@ namespace GpgME {
void setSigners(const QVector<GpgKey> &keys);
- void signKey(const GpgKey &target, const QString& uid, const QDateTime *expires);
+ bool signKey(const GpgKey &target, const QString& uid, const QDateTime *expires);
gpgme_signature_t verify(QByteArray *inBuffer, QByteArray *sigBuffer = nullptr);
@@ -146,13 +146,13 @@ namespace GpgME {
void signalKeyDBChanged();
- void signalKeyUpdated(const QString &key_id);
+ void signalKeyUpdated(QString key_id);
private slots:
void slotRefreshKeyList();
- void slotUpdateKeyList(const QString &key_id);
+ void slotUpdateKeyList(QString key_id);
private:
gpgme_ctx_t mCtx{};