certmanager/lib

#include <job.h>

Inheritance diagram for Kleo::Job:
Kleo::DecryptJob Kleo::DecryptVerifyJob Kleo::DeleteJob Kleo::DownloadJob Kleo::EncryptJob Kleo::ExportJob Kleo::ImportJob Kleo::KeyGenerationJob Kleo::KeyListJob Kleo::MultiDeleteJob Kleo::RefreshKeysJob Kleo::SignEncryptJob Kleo::SignJob Kleo::SpecialJob Kleo::VerifyDetachedJob Kleo::VerifyOpaqueJob

Public Slots

virtual void slotCancel ()=0
 

Signals

void progress (const TQString &what, int current, int total)
 
void done ()
 

Public Member Functions

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

 Job (TQObject *parent, const char *name)
 

Detailed Description

An abstract base class for asynchronous crypto operations.

During the operation, you might receive progress updates through the progress() signal as they arrive, but an implementation is free to not send progress information. You should show a busy progressbar until the first progress() signal is received.

The done() signal is emitted before the result() signals of subclasses and should be used to hide and/or reset progress bars, not to learn of the end of the operation. Use the result() signals for that.

To cancel the operation, simply call slotCancel(). The result() signal of subclasses will still be emitted, though, and will carry the information that the operation was canceled.

Definition at line 64 of file job.h.


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