#include <keygenerationjob.h>
Signals | |
void | result (const GpgME::KeyGenerationResult &result, const TQByteArray &pubKeyData) |
Signals inherited from Kleo::Job | |
void | progress (const TQString &what, int current, int total) |
void | done () |
Public Member Functions | |
virtual GpgME::Error | start (const TQString ¶meters)=0 |
Public Member Functions inherited from Kleo::Job | |
virtual void | showErrorDialog (TQWidget *parent=0, const TQString &caption=TQString()) const |
virtual TQString | auditLogAsHtml () const |
virtual GpgME::Error | auditLogError () const |
bool | isAuditLogSupported () const |
Protected Member Functions | |
KeyGenerationJob (TQObject *parent, const char *name) | |
Protected Member Functions inherited from Kleo::Job | |
Job (TQObject *parent, const char *name) | |
Additional Inherited Members | |
Public Slots inherited from Kleo::Job | |
virtual void | slotCancel ()=0 |
Detailed Description
An abstract base class for asynchronous key generation.
To use a KeyGenerationJob, first obtain an instance from the CryptoBackend implementation, connect the progress() and result() signals to suitable slots and then start the key generation with a call to start(). This call might fail, in which case the KeyGenerationJob instance will have scheduled it's own destruction with a call to TQObject::deleteLater().
After result() is emitted, the KeyGenerationJob will schedule it's own destruction by calling TQObject::deleteLater().
Definition at line 61 of file keygenerationjob.h.
Member Function Documentation
◆ start()
|
pure virtual |
Starts the key generation operation.
parameters is a backend-specific string containing the paramaters of the key to create (length, capabilities, etc).
The documentation for this class was generated from the following file: