aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/qgpgmerefreshopenpgpkeysjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qt/src/qgpgmerefreshopenpgpkeysjob.h')
-rw-r--r--lang/qt/src/qgpgmerefreshopenpgpkeysjob.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/lang/qt/src/qgpgmerefreshopenpgpkeysjob.h b/lang/qt/src/qgpgmerefreshopenpgpkeysjob.h
index 3ccfb5cf..be322e41 100644
--- a/lang/qt/src/qgpgmerefreshopenpgpkeysjob.h
+++ b/lang/qt/src/qgpgmerefreshopenpgpkeysjob.h
@@ -34,17 +34,23 @@
#ifndef __QGPGME_QGPGMEREFRESHOPENPGPKEYSJOB_H__
#define __QGPGME_QGPGMEREFRESHOPENPGPKEYSJOB_H__
-#include "refreshkeysjob.h"
+#include "refreshopenpgpkeysjob.h"
#include "threadedjobmixin.h"
+#ifdef BUILDING_QGPGME
+# include "importresult.h"
+#else
+# include <gpgme++/importresult.h>
+#endif
+
namespace QGpgME
{
class QGpgMERefreshOpenPGPKeysJob
#ifdef Q_MOC_RUN
- : public RefreshKeysJob
+ : public RefreshOpenPGPKeysJob
#else
- : public _detail::ThreadedJobMixin<RefreshKeysJob>
+ : public _detail::ThreadedJobMixin<RefreshOpenPGPKeysJob, std::tuple<GpgME::ImportResult, QString, GpgME::Error>>
#endif
{
Q_OBJECT
@@ -56,9 +62,6 @@ public:
explicit QGpgMERefreshOpenPGPKeysJob(GpgME::Context *context);
~QGpgMERefreshOpenPGPKeysJob() override;
- /** This overload is not implemented. Use the other overload. */
- GpgME::Error start(const QStringList &patterns) override;
-
GpgME::Error start(const std::vector<GpgME::Key> &keys) override;
};