|
| QGpgMEKeyListJob (GpgME::Context *context) |
|
GpgME::Error | start (const QStringList &patterns, bool secretOnly) Q_DECL_OVERRIDE |
|
GpgME::KeyListResult | exec (const QStringList &patterns, bool secretOnly, std::vector< GpgME::Key > &keys) Q_DECL_OVERRIDE |
|
void | addMode (GpgME::KeyListMode mode) Q_DECL_OVERRIDE |
|
void | resultHook (const result_type &result) Q_DECL_OVERRIDE |
|
virtual GpgME::Error | start (const QStringList &patterns, bool secretOnly=false)=0 |
|
virtual GpgME::KeyListResult | exec (const QStringList &patterns, bool secretOnly, std::vector< GpgME::Key > &keys)=0 |
|
virtual void | addMode (GpgME::KeyListMode mode)=0 |
|
virtual QString | auditLogAsHtml () const |
|
virtual GpgME::Error | auditLogError () const |
|
bool | isAuditLogSupported () const |
|
|
typedef ThreadedJobMixin< KeyListJob, std::tuple< GpgME::KeyListResult, std::vector< GpgME::Key >, QString, GpgME::Error > > | mixin_type |
|
typedef std::tuple< GpgME::KeyListResult, std::vector< GpgME::Key >, QString, GpgME::Error > | result_type |
|
virtual void | slotCancel ()=0 |
|
void | nextKey (const GpgME::Key &key) |
|
void | result (const GpgME::KeyListResult &result, const std::vector< GpgME::Key > &keys=std::vector< GpgME::Key >(), const QString &auditLogAsHtml=QString(), const GpgME::Error &auditLogError=GpgME::Error()) |
|
void | progress (const QString &what, int current, int total) |
|
void | done () |
|
static GpgME::Context * | context (Job *job) |
|
| ThreadedJobMixin (GpgME::Context *ctx) |
|
void | lateInitialization () |
|
void | run (const T_binder &func) |
|
void | run (const T_binder &func, const std::shared_ptr< QIODevice > &io) |
|
void | run (const T_binder &func, const std::shared_ptr< QIODevice > &io1, const std::shared_ptr< QIODevice > &io2) |
|
GpgME::Context * | context () const |
|
virtual void | resultHook (const result_type &) |
|
void | slotFinished () |
|
void | slotCancel () Q_DECL_OVERRIDE |
|
QString | auditLogAsHtml () const Q_DECL_OVERRIDE |
|
GpgME::Error | auditLogError () const Q_DECL_OVERRIDE |
|
void | showProgress (const char *, int, int current, int total) Q_DECL_OVERRIDE |
|
| KeyListJob (QObject *parent) |
|
| Job (QObject *parent) |
|
◆ addMode()
void QGpgMEKeyListJob::addMode |
( |
GpgME::KeyListMode |
mode | ) |
|
|
virtual |
◆ exec()
KeyListResult QGpgMEKeyListJob::exec |
( |
const QStringList & |
patterns, |
|
|
bool |
secretOnly, |
|
|
std::vector< GpgME::Key > & |
keys |
|
) |
| |
|
virtual |
◆ resultHook()
void QGpgMEKeyListJob::resultHook |
( |
const result_type & |
result | ) |
|
|
virtual |
◆ start()
Error QGpgMEKeyListJob::start |
( |
const QStringList & |
patterns, |
|
|
bool |
secretOnly |
|
) |
| |
|
virtual |
Starts the keylist operation. pattern is a list of patterns used to restrict the list of keys returned. Empty patterns are ignored. If pattern is empty or contains only empty strings, all keys are returned (however, the backend is free to truncate the result and should do so; when this happens, it will be reported by the reult object).
If secretOnly is true, only keys for which the secret key is also available are returned. Use this if you need to select a key for signing.
Implements QGpgME::KeyListJob.
The documentation for this class was generated from the following files: