certmanager Library API Documentation

Kleo::ObtainKeysJob Class Reference

SpecialJob for listing Chiasmus key files. More...

#include <obtainkeysjob.h>

Inheritance diagram for Kleo::ObtainKeysJob:

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

Collaboration graph
[legend]
List of all members.

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

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.


Member Function Documentation

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

SpecialJob

Implements Kleo::SpecialJob.

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

SpecialJob

Implements Kleo::SpecialJob.

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

Kleo::Job

Reimplemented from Kleo::Job.


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 Wed Oct 17 09:53:23 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003