certmanager/lib

Kleo::ObtainKeysJob Class Reference

#include <obtainkeysjob.h>

Inheritance diagram for Kleo::ObtainKeysJob:
Kleo::SpecialJob Kleo::Job

Public Slots

void slotCancel ()
 
- Public Slots inherited from Kleo::Job
virtual void slotCancel ()=0
 

Public Member Functions

GpgME::Error start ()
 
GpgME::Error exec ()
 
void showErrorDialog (TQWidget *, const TQString &) const
 
TQStringList result () const
 
- Public Member Functions inherited from Kleo::Job
virtual TQString auditLogAsHtml () const
 
virtual GpgME::Error auditLogError () const
 
bool isAuditLogSupported () const
 

Additional Inherited Members

- Signals inherited from Kleo::SpecialJob
void result (const GpgME::Error &result, const TQVariant &data)
 
- Signals inherited from Kleo::Job
void progress (const TQString &what, int current, int total)
 
void done ()
 
- Protected Member Functions inherited from Kleo::SpecialJob
 SpecialJob (TQObject *parent, const char *name)
 
- Protected Member Functions inherited from Kleo::Job
 Job (TQObject *parent, const char *name)
 

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", TQStringVariantMap());

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

Definition at line 65 of file obtainkeysjob.h.

Member Function Documentation

◆ exec()

GpgME::Error Kleo::ObtainKeysJob::exec ( )
virtual
Reimplemented from superclass. SpecialJob

Implements Kleo::SpecialJob.

Definition at line 77 of file obtainkeysjob.cpp.

◆ showErrorDialog()

void Kleo::ObtainKeysJob::showErrorDialog ( TQWidget *  parent,
const TQString &  caption 
) const
virtual
Reimplemented from superclass. Kleo::Job

Reimplemented from Kleo::Job.

Definition at line 117 of file obtainkeysjob.cpp.

◆ start()

GpgME::Error Kleo::ObtainKeysJob::start ( )
virtual
Reimplemented from superclass. SpecialJob

Implements Kleo::SpecialJob.

Definition at line 72 of file obtainkeysjob.cpp.


The documentation for this class was generated from the following files: