• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

libkleo

Kleo::MultiDeleteJob

Kleo::MultiDeleteJob Class Reference

#include <multideletejob.h>

Inheritance diagram for Kleo::MultiDeleteJob:

Inheritance graph
[legend]

List of all members.


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 67 of file multideletejob.h.


Signals

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

Public Member Functions

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

Constructor & Destructor Documentation

Kleo::MultiDeleteJob::MultiDeleteJob ( const CryptoBackend::Protocol *  protocol  ) 

Definition at line 47 of file multideletejob.cpp.

Kleo::MultiDeleteJob::~MultiDeleteJob (  ) 

Definition at line 55 of file multideletejob.cpp.


Member Function Documentation

void Kleo::MultiDeleteJob::result ( const GpgME::Error &  result,
const GpgME::Key &  errorKey 
) [signal]

void Kleo::MultiDeleteJob::slotCancel (  )  [virtual]

Reimplemented from superclass. from Job

Implements Kleo::Job.

Definition at line 71 of file multideletejob.cpp.

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.

Definition at line 59 of file multideletejob.cpp.


The documentation for this class was generated from the following files:
  • multideletejob.h
  • multideletejob.cpp

libkleo

Skip menu "libkleo"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal