certmanager Library API Documentation

Kleo::MultiDeleteJob Class Reference

A convenience class bundling together multiple DeleteJobs. More...

#include <multideletejob.h>

Inheritance diagram for Kleo::MultiDeleteJob:

Inheritance graph
[legend]
Collaboration diagram for Kleo::MultiDeleteJob:

Collaboration graph
[legend]
List of all members.

Signals

void result (const GpgME::Error &result, const GpgME::Key &errorKey)

Public Member Functions

 MultiDeleteJob (const CryptoBackend::Protocol *protocol)
GpgME::Error start (const std::vector< GpgME::Key > &keys, bool allowSecretKeyDeletion=false)

Detailed Description

A convenience class bundling together multiple DeleteJobs.

To use a MultiDeleteJob, pass it a CryptoBackend implementation, connect the progress() and result() signals to suitable slots and then start the delete with a call to start(). This call might fail, in which case the MultiDeleteJob instance will have scheduled it's own destruction with a call to QObject::deleteLater().

After result() is emitted, the MultiDeleteJob will schedule it's own destruction by calling QObject::deleteLater().

Definition at line 66 of file multideletejob.h.


Member Function Documentation

GpgME::Error Kleo::MultiDeleteJob::start const std::vector< GpgME::Key > &  keys,
bool  allowSecretKeyDeletion = false
 

Starts the delete operation.

keys is the list of keys to delete, allowSecretKeyDeletion specifies if a key may also be deleted if the secret key part is available, too.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for certmanager Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu May 3 20:19:11 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003