33#ifndef __KLEO_MULTIDELETEJOB_H__
34#define __KLEO_MULTIDELETEJOB_H__
37#include <kleo/cryptobackend.h>
40#include <tqguardedptr.h>
67 class TDE_EXPORT MultiDeleteJob : public Job {
71 MultiDeleteJob( const CryptoBackend::Protocol * protocol );
79 GpgME::Error start( const std::vector<GpgME::Key> & keys, bool allowSecretKeyDeletion= false );
82 void result( const GpgME::Error & result, const GpgME::Key & errorKey );
85 void slotResult( const GpgME::Error & );
90 GpgME::Error startAJob();
93 const CryptoBackend::Protocol * mProtocol;
94 TQGuardedPtr<DeleteJob> mJob;
95 std::vector<GpgME::Key> mKeys;
96 std::vector<GpgME::Key>::const_iterator mIt;
97 bool mAllowSecretKeyDeletion;
An abstract base class for asynchronous deleters.
GpgME::Error start(const std::vector< GpgME::Key > &keys, bool allowSecretKeyDeletion=false) Starts the delete operation.
|