kleopatra
#include <keycache.h>

| Classes | |
| class | RefreshKeysJob | 
| Public Types | |
| enum | Option { NoOption = 0, RecursiveSearch = 1, IncludeSubject = 2 } | 
| Public Slots | |
| void | cancelKeyListing () | 
| void | clear () | 
| void | reload (GpgME::Protocol proto=GpgME::UnknownProtocol) | 
| void | startKeyListing (GpgME::Protocol proto=GpgME::UnknownProtocol) | 
| Signals | |
| void | aboutToRemove (const GpgME::Key &key) | 
| void | added (const GpgME::Key &key) | 
| void | keyListingDone (const GpgME::KeyListResult &result) | 
| void | keysMayHaveChanged () | 
| Public Member Functions | |
| ~KeyCache () | |
| void | addFileSystemWatcher (const boost::shared_ptr< FileSystemWatcher > &watcher) | 
| void | enableFileSystemWatcher (bool enable) | 
| std::vector< GpgME::Key > | findByEMailAddress (const char *email) const | 
| std::vector< GpgME::Key > | findByEMailAddress (const std::string &email) const | 
| const GpgME::Key & | findByFingerprint (const char *fpr) const | 
| const GpgME::Key & | findByFingerprint (const std::string &fpr) const | 
| std::vector< GpgME::Key > | findByFingerprint (const std::vector< std::string > &fprs) const | 
| const GpgME::Key & | findByKeyIDOrFingerprint (const char *id) const | 
| const GpgME::Key & | findByKeyIDOrFingerprint (const std::string &id) const | 
| std::vector< GpgME::Key > | findByKeyIDOrFingerprint (const std::vector< std::string > &ids) const | 
| const GpgME::Key & | findByShortKeyID (const char *id) const | 
| const GpgME::Key & | findByShortKeyID (const std::string &id) const | 
| std::vector< GpgME::Key > | findEncryptionKeysByMailbox (const KMime::Types::Mailbox &mb) const | 
| std::vector< GpgME::Key > | findIssuers (const GpgME::Key &key, Options options=RecursiveSearch) const | 
| std::vector< GpgME::Key > | findIssuers (const std::vector< GpgME::Key > &keys, Options options=RecursiveSearch) const | 
| std::vector< GpgME::Key > | findIssuers (std::vector< GpgME::Key >::const_iterator first, std::vector< GpgME::Key >::const_iterator last, Options options=RecursiveSearch) const | 
| std::vector< GpgME::Key > | findRecipients (const GpgME::DecryptionResult &result) const | 
| std::vector< GpgME::Key > | findSigners (const GpgME::VerificationResult &result) const | 
| std::vector< GpgME::Key > | findSigningKeysByMailbox (const KMime::Types::Mailbox &mb) const | 
| std::vector< GpgME::Key > | findSubjects (const GpgME::Key &key, Options option=RecursiveSearch) const | 
| std::vector< GpgME::Key > | findSubjects (const std::vector< GpgME::Key > &keys, Options options=RecursiveSearch) const | 
| std::vector< GpgME::Key > | findSubjects (std::vector< GpgME::Key >::const_iterator first, std::vector< GpgME::Key >::const_iterator last, Options options=RecursiveSearch) const | 
| std::vector< GpgME::Subkey > | findSubkeysByKeyID (const std::vector< std::string > &ids) const | 
| void | insert (const GpgME::Key &key) | 
| void | insert (const std::vector< GpgME::Key > &keys) | 
| const std::vector< GpgME::Key > & | keys () const | 
| void | refresh (const std::vector< GpgME::Key > &keys) | 
| void | remove (const GpgME::Key &key) | 
| void | remove (const std::vector< GpgME::Key > &keys) | 
| std::vector< GpgME::Key > | secretKeys () const | 
|  Public Member Functions inherited from QObject | |
| QObject (QObject *parent) | |
| QObject (QObject *parent, const char *name) | |
| virtual | ~QObject () | 
| bool | blockSignals (bool block) | 
| QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const | 
| const QObjectList & | children () const | 
| const char * | className () const | 
| bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const | 
| void | deleteLater () | 
| void | destroyed (QObject *obj) | 
| bool | disconnect (const QObject *receiver, const char *method) | 
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) | 
| void | dumpObjectInfo () | 
| void | dumpObjectTree () | 
| QList< QByteArray > | dynamicPropertyNames () const | 
| virtual bool | event (QEvent *e) | 
| virtual bool | eventFilter (QObject *watched, QEvent *event) | 
| T | findChild (const QString &name) const | 
| QList< T > | findChildren (const QRegExp ®Exp) const | 
| QList< T > | findChildren (const QString &name) const | 
| bool | inherits (const char *className) const | 
| void | insertChild (QObject *object) | 
| void | installEventFilter (QObject *filterObj) | 
| bool | isA (const char *className) const | 
| bool | isWidgetType () const | 
| void | killTimer (int id) | 
| virtual const QMetaObject * | metaObject () const | 
| void | moveToThread (QThread *targetThread) | 
| const char * | name () const | 
| const char * | name (const char *defaultName) const | 
| QString | objectName () const | 
| QObject * | parent () const | 
| QVariant | property (const char *name) const | 
| void | removeChild (QObject *object) | 
| void | removeEventFilter (QObject *obj) | 
| void | setName (const char *name) | 
| void | setObjectName (const QString &name) | 
| void | setParent (QObject *parent) | 
| bool | setProperty (const char *name, const QVariant &value) | 
| bool | signalsBlocked () const | 
| int | startTimer (int interval) | 
| QThread * | thread () const | 
| Static Public Member Functions | |
| static boost::shared_ptr < const KeyCache > | instance () | 
| static boost::shared_ptr < KeyCache > | mutableInstance () | 
|  Static Public Member Functions inherited from QObject | |
| bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) | 
| bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) | 
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) | 
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) | 
| QString | tr (const char *sourceText, const char *disambiguation, int n) | 
| QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) | 
| Protected Member Functions | |
| KeyCache () | |
|  Protected Member Functions inherited from QObject | |
| bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) | 
| virtual void | childEvent (QChildEvent *event) | 
| virtual void | connectNotify (const char *signal) | 
| virtual void | customEvent (QEvent *event) | 
| virtual void | disconnectNotify (const char *signal) | 
| int | receivers (const char *signal) const | 
| QObject * | sender () const | 
| int | senderSignalIndex () const | 
| virtual void | timerEvent (QTimerEvent *event) | 
| Additional Inherited Members | |
|  Static Protected Member Functions inherited from QObject | |
| QByteArray | normalizeSignalSlot (const char *signalSlot) | 
|  Properties inherited from QObject | |
| objectName | |
Detailed Description
Definition at line 67 of file keycache.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| NoOption | |
| RecursiveSearch | |
| IncludeSubject | |
Definition at line 121 of file keycache.h.
Constructor & Destructor Documentation
| 
 | explicitprotected | 
Definition at line 205 of file keycache.cpp.
| KeyCache::~KeyCache | ( | ) | 
Definition at line 211 of file keycache.cpp.
Member Function Documentation
| 
 | signal | 
| 
 | signal | 
| void KeyCache::addFileSystemWatcher | ( | const boost::shared_ptr< FileSystemWatcher > & | watcher | ) | 
Definition at line 239 of file keycache.cpp.
| 
 | slot | 
Definition at line 232 of file keycache.cpp.
| 
 | slot | 
Definition at line 835 of file keycache.cpp.
| void KeyCache::enableFileSystemWatcher | ( | bool | enable | ) | 
Definition at line 213 of file keycache.cpp.
| std::vector< Key > KeyCache::findByEMailAddress | ( | const char * | ) | const | 
Definition at line 284 of file keycache.cpp.
| std::vector< Key > KeyCache::findByEMailAddress | ( | const std::string & | ) | const | 
Definition at line 297 of file keycache.cpp.
| const Key & KeyCache::findByFingerprint | ( | const char * | fpr | ) | const | 
Definition at line 258 of file keycache.cpp.
| 
 | inline | 
Definition at line 93 of file keycache.h.
| std::vector< Key > KeyCache::findByFingerprint | ( | const std::vector< std::string > & | fprs | ) | const | 
Definition at line 268 of file keycache.cpp.
| const Key & KeyCache::findByKeyIDOrFingerprint | ( | const char * | id | ) | const | 
Definition at line 309 of file keycache.cpp.
| 
 | inline | 
Definition at line 108 of file keycache.h.
| std::vector< Key > KeyCache::findByKeyIDOrFingerprint | ( | const std::vector< std::string > & | ids | ) | const | 
Definition at line 325 of file keycache.cpp.
| const Key & KeyCache::findByShortKeyID | ( | const char * | id | ) | const | 
Definition at line 301 of file keycache.cpp.
| 
 | inline | 
Definition at line 103 of file keycache.h.
| std::vector< Key > KeyCache::findEncryptionKeysByMailbox | ( | const KMime::Types::Mailbox & | mb | ) | const | 
Definition at line 403 of file keycache.cpp.
| std::vector<GpgME::Key> Kleo::KeyCache::findIssuers | ( | const GpgME::Key & | key, | 
| Options | options = RecursiveSearch | ||
| ) | const | 
| std::vector<GpgME::Key> Kleo::KeyCache::findIssuers | ( | const std::vector< GpgME::Key > & | keys, | 
| Options | options = RecursiveSearch | ||
| ) | const | 
| std::vector<GpgME::Key> Kleo::KeyCache::findIssuers | ( | std::vector< GpgME::Key >::const_iterator | first, | 
| std::vector< GpgME::Key >::const_iterator | last, | ||
| Options | options = RecursiveSearch | ||
| ) | const | 
| std::vector< Key > KeyCache::findRecipients | ( | const GpgME::DecryptionResult & | result | ) | const | 
Definition at line 376 of file keycache.cpp.
| std::vector< Key > KeyCache::findSigners | ( | const GpgME::VerificationResult & | result | ) | const | 
Definition at line 391 of file keycache.cpp.
| std::vector< Key > KeyCache::findSigningKeysByMailbox | ( | const KMime::Types::Mailbox & | mb | ) | const | 
Definition at line 399 of file keycache.cpp.
| std::vector< Key > KeyCache::findSubjects | ( | const GpgME::Key & | key, | 
| Options | option = RecursiveSearch | ||
| ) | const | 
Definition at line 473 of file keycache.cpp.
| std::vector<GpgME::Key> Kleo::KeyCache::findSubjects | ( | const std::vector< GpgME::Key > & | keys, | 
| Options | options = RecursiveSearch | ||
| ) | const | 
| std::vector<GpgME::Key> Kleo::KeyCache::findSubjects | ( | std::vector< GpgME::Key >::const_iterator | first, | 
| std::vector< GpgME::Key >::const_iterator | last, | ||
| Options | options = RecursiveSearch | ||
| ) | const | 
| std::vector< Subkey > KeyCache::findSubkeysByKeyID | ( | const std::vector< std::string > & | ids | ) | const | 
Definition at line 360 of file keycache.cpp.
| void Kleo::KeyCache::insert | ( | const GpgME::Key & | key | ) | 
| void Kleo::KeyCache::insert | ( | const std::vector< GpgME::Key > & | keys | ) | 
| 
 | static | 
Definition at line 190 of file keycache.cpp.
| 
 | signal | 
| const std::vector< GpgME::Key > & KeyCache::keys | ( | ) | const | 
Definition at line 686 of file keycache.cpp.
| 
 | signal | 
| 
 | static | 
Definition at line 194 of file keycache.cpp.
| void KeyCache::refresh | ( | const std::vector< GpgME::Key > & | keys | ) | 
Definition at line 698 of file keycache.cpp.
| 
 | slot | 
Definition at line 219 of file keycache.cpp.
| void Kleo::KeyCache::remove | ( | const GpgME::Key & | key | ) | 
| void Kleo::KeyCache::remove | ( | const std::vector< GpgME::Key > & | keys | ) | 
| std::vector< Key > KeyCache::secretKeys | ( | ) | const | 
Definition at line 691 of file keycache.cpp.
| 
 | inlineslot | 
Definition at line 138 of file keycache.h.
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:33:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 KDE API Reference
    KDE API Reference