37#include "qgpgmedeletejob.h"
39#include <qgpgme/eventloopinteractor.h>
41#include <gpgmepp/context.h>
45Kleo::QGpgMEDeleteJob::QGpgMEDeleteJob( GpgME::Context * context )
46 : DeleteJob( QGpgME::EventLoopInteractor::instance(), "Kleo::QGpgMEDeleteJob" ),
47 QGpgMEJob( this, context )
52Kleo::QGpgMEDeleteJob::~QGpgMEDeleteJob() {
55GpgME::Error Kleo::QGpgMEDeleteJob::start( const GpgME::Key & key, bool allowSecretKeyDeletion ) {
57 hookupContextToEventLoopInteractor();
59 const GpgME::Error err = mCtx->startKeyDeletion( key, allowSecretKeyDeletion );
66void Kleo::QGpgMEDeleteJob::doOperationDoneEvent( const GpgME::Error & error ) {
71#include "qgpgmedeletejob.moc"
|