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