libkleo
Kleo::ChangeOwnerTrustJob Class Reference
#include <changeownertrustjob.h>
Inheritance diagram for Kleo::ChangeOwnerTrustJob:

Detailed Description
An abstract base class to change owner trust asynchronously.To use a ChangeOwnerTrustJob, first obtain an instance from the CryptoBackend implementation, connect the progress() and result() signals to suitable slots and then start the job with a call to start(). This call might fail, in which case the ChangeOwnerTrustJob instance will have scheduled it's own destruction with a call to QObject::deleteLater().
After result() is emitted, the ChangeOwnerTrustJob will schedule it's own destruction by calling QObject::deleteLater().
Definition at line 56 of file changeownertrustjob.h.
Signals | |
| void | result (const GpgME::Error &result, const QString &auditLogAsHtml=QString()) |
Public Member Functions | |
| virtual GpgME::Error | start (const GpgME::Key &key, GpgME::Key::OwnerTrust trust)=0 |
| ~ChangeOwnerTrustJob () | |
Protected Member Functions | |
| ChangeOwnerTrustJob (QObject *parent) | |
Constructor & Destructor Documentation
| Kleo::ChangeOwnerTrustJob::ChangeOwnerTrustJob | ( | QObject * | parent | ) | [explicit, protected] |
| Kleo::ChangeOwnerTrustJob::~ChangeOwnerTrustJob | ( | ) |
Member Function Documentation
| void Kleo::ChangeOwnerTrustJob::result | ( | const GpgME::Error & | result, | |
| const QString & | auditLogAsHtml = QString() | |||
| ) | [signal] |
| virtual GpgME::Error Kleo::ChangeOwnerTrustJob::start | ( | const GpgME::Key & | key, | |
| GpgME::Key::OwnerTrust | trust | |||
| ) | [pure virtual] |
Starts the change-owner trust operation.
key is the key to change the owner trust of . trust is the new trust level.
The documentation for this class was generated from the following file:
KDE 4.2 API Reference