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.
This commit is contained in:
parent
4166d263e4
commit
60328c4690
@ -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);
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user