diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gpg/GpgContext.h | 2 | ||||
-rw-r--r-- | include/ui/KeyUploadDialog.h | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/include/gpg/GpgContext.h b/include/gpg/GpgContext.h index 1e5334d1..e243cc53 100644 --- a/include/gpg/GpgContext.h +++ b/include/gpg/GpgContext.h @@ -99,7 +99,7 @@ namespace GpgME { void clearPasswordCache(); - void exportSecretKey(const QString &uid, QByteArray *outBuffer); + bool exportSecretKey(const GpgKey &key, QByteArray *outBuffer); void getSigners(QVector<GpgKey> &signer); diff --git a/include/ui/KeyUploadDialog.h b/include/ui/KeyUploadDialog.h index 013c0b72..b41ced6b 100644 --- a/include/ui/KeyUploadDialog.h +++ b/include/ui/KeyUploadDialog.h @@ -33,6 +33,10 @@ Q_OBJECT public: KeyUploadDialog(GpgME::GpgContext *ctx, const QVector<GpgKey> &keys, QWidget *parent = nullptr); +public slots: + + void slotUpload(); + private slots: void uploadKeyToServer(QByteArray &keys); @@ -41,6 +45,8 @@ private slots: private: + GpgME::GpgContext *mCtx; + const QVector<GpgKey> &mKeys; QString appPath; QSettings settings; QByteArray mKeyData; |