certmanager/lib
Kleo::ObtainKeysJob Class Reference
#include <obtainkeysjob.h>
Inheritance diagram for Kleo::ObtainKeysJob:

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 | |
ObtainKeysJob () | |
~ObtainKeysJob () | |
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::start | ( | ) | [virtual] |
- Reimplemented from superclass. SpecialJob
Implements Kleo::SpecialJob.
Definition at line 72 of file obtainkeysjob.cpp.
GpgME::Error Kleo::ObtainKeysJob::exec | ( | ) | [virtual] |
- Reimplemented from superclass. SpecialJob
Implements Kleo::SpecialJob.
Definition at line 77 of file obtainkeysjob.cpp.
void Kleo::ObtainKeysJob::showErrorDialog | ( | QWidget * | , | |
const QString & | ||||
) | const [virtual] |
- Reimplemented from superclass. Kleo::Job
Reimplemented from Kleo::Job.
Definition at line 117 of file obtainkeysjob.cpp.
The documentation for this class was generated from the following files: