kgpg
#include <kgpgtransactionjob.h>
Public Member Functions | |
KGpgTransactionJob (KGpgTransaction *transaction) | |
virtual | ~KGpgTransactionJob () |
int | getResultCode () const |
const KGpgTransaction * | getTransaction () const |
virtual void | start () |
Protected Member Functions | |
virtual bool | doKill () |
Detailed Description
Wrap a GnuPG transaction in a job.
This class allows to run any KGpgTransaction as KJob.
Definition at line 28 of file kgpgtransactionjob.h.
Constructor & Destructor Documentation
|
explicit |
create a new KJob for this transaction
- Parameters
-
transaction operation to do
The job will take ownership of the transaction, i.e. will delete the transaction object when the job is done.
Definition at line 20 of file kgpgtransactionjob.cpp.
|
virtual |
KGpgTransactionJob destructor.
Definition at line 27 of file kgpgtransactionjob.cpp.
Member Function Documentation
|
protectedvirtual |
Definition at line 75 of file kgpgtransactionjob.cpp.
int KGpgTransactionJob::getResultCode | ( | ) | const |
get the result of the transaction
Definition at line 50 of file kgpgtransactionjob.cpp.
const KGpgTransaction * KGpgTransactionJob::getTransaction | ( | ) | const |
get the transaction this job is handling
Definition at line 44 of file kgpgtransactionjob.cpp.
|
virtual |
starts the transaction
Definition at line 33 of file kgpgtransactionjob.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.