diff options
author | Ingo Klöcker <[email protected]> | 2020-10-28 15:58:06 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2020-10-29 11:57:10 +0000 |
commit | 60328c4690beb8a82f5a3cc0d35b434e151c6365 (patch) | |
tree | a9821657fd5219ffb1d24e7502a44af9b7eecba2 | |
parent | cpp: Add support for gpgme_op_revsig (diff) | |
download | gpgme-60328c4690beb8a82f5a3cc0d35b434e151c6365.tar.gz gpgme-60328c4690beb8a82f5a3cc0d35b434e151c6365.zip |
qt: Some minor cleanups
* lang/qt/src/qgpgmequickjob.h: (GpgME::Key, QDateTime, QString):
Remove superfluous forward declarations.
(QGpgMEQuickJob): Remove superfluous second template argument. It is
identical to the default.
(QGpgMEQuickJob::result): Remove. It is already defined in the base
class.
-rw-r--r-- | lang/qt/src/qgpgmequickjob.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/lang/qt/src/qgpgmequickjob.h b/lang/qt/src/qgpgmequickjob.h index 82c73327..59181547 100644 --- a/lang/qt/src/qgpgmequickjob.h +++ b/lang/qt/src/qgpgmequickjob.h @@ -34,14 +34,8 @@ #include "threadedjobmixin.h" -namespace GpgME { -class Key; -} - -class QDateTime; -class QString; - -namespace QGpgME{ +namespace QGpgME +{ /** * Interface to the modern key manipulation functions. @@ -50,7 +44,7 @@ class QGpgMEQuickJob #ifdef Q_MOC_RUN : public QuickJob #else - : public _detail::ThreadedJobMixin<QuickJob, std::tuple<GpgME::Error, QString, GpgME::Error> > + : public _detail::ThreadedJobMixin<QuickJob> #endif { Q_OBJECT @@ -72,10 +66,6 @@ public: void startAddSubkey(const GpgME::Key &key, const char *algo, const QDateTime &expires = QDateTime(), unsigned int flags = 0) Q_DECL_OVERRIDE; - -Q_SIGNALS: - void result(const GpgME::Error &error, - const QString &auditLogAsHtml, const GpgME::Error &auditLogError); }; } |