certmanager/lib

Kleo::ObtainKeysJob Class Reference

#include <obtainkeysjob.h>

Inheritance diagram for Kleo::ObtainKeysJob:

Kleo::SpecialJob Kleo::Job List of all members.

Detailed Description

SpecialJob for listing Chiasmus key files.

In the Chiasmus system, keys are mapped 1:1 to files. Furthermore, we have to definition of the format of those keys, so we cannot display more than the filename anyway. Due to all of these limitations, we don't use KeyListJob here, but roll our own interface.

The name of the function is x-obtain-keys. It takes no parameters.

To use, create an ObtainKeysJob instance like this: Kleo::SpecialJob * job = protocol->specialJob("x-obtain-keys", QMap<QString,QVariant>());

The resulting QVariant will contain a QStringList containing the absolute filenames of the keys found in the configured key files.

Definition at line 65 of file obtainkeysjob.h.


Public Slots

void slotCancel ()

Public Member Functions

GpgME::Error start ()
GpgME::Error exec ()
void showErrorDialog (QWidget *, const QString &) const
QStringList result () const

Properties

QStringList result

Member Function Documentation

GpgME::Error Kleo::ObtainKeysJob::exec  )  [virtual]
 

Reimplemented from superclass. SpecialJob

Implements Kleo::SpecialJob.

void Kleo::ObtainKeysJob::showErrorDialog QWidget *  ,
const QString & 
const [virtual]
 

Reimplemented from superclass. Kleo::Job

Reimplemented from Kleo::Job.

GpgME::Error Kleo::ObtainKeysJob::start  )  [virtual]
 

Reimplemented from superclass. SpecialJob

Implements Kleo::SpecialJob.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys