33 #ifndef __KLEO_MULTIDELETEJOB_H__
34 #define __KLEO_MULTIDELETEJOB_H__
37 #include <kleo/cryptobackend.h>
39 #include <tdemacros.h>
40 #include <tqguardedptr.h>
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;
102 #endif // __KLEO_MULTIDELETEJOB_H__
An abstract base class for asynchronous crypto operations.
A convenience class bundling together multiple DeleteJobs.