From 60328c4690beb8a82f5a3cc0d35b434e151c6365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Wed, 28 Oct 2020 16:58:06 +0100 Subject: [PATCH] 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. --- lang/qt/src/qgpgmequickjob.h | 16 +++------------- 1 file 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 > + : public _detail::ThreadedJobMixin #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); }; }