libkleo
Kleo::CryptoBackendFactory Class Reference
#include <cryptobackendfactory.h>

Detailed Description
Definition at line 61 of file cryptobackendfactory.h.
Public Member Functions | |
| const CryptoBackend * | backend (unsigned int idx) const |
| CryptoConfig * | config () const |
| KConfig * | configObject () const |
| Kleo::BackendConfigWidget * | configWidget (QWidget *parent=0, const char *name=0) const |
| const char * | enumerateProtocols (int i) const |
| bool | hasBackends () const |
| bool | knowsAboutProtocol (const char *name) const |
| const CryptoBackend::Protocol * | openpgp () const |
| const CryptoBackend::Protocol * | protocol (GpgME::Protocol proto) const |
| const CryptoBackend::Protocol * | protocol (const char *name) const |
| void | scanForBackends (QStringList *reasons=0) |
| void | setOpenPGPBackend (const CryptoBackend *backend) |
| void | setProtocolBackend (const char *name, const CryptoBackend *backend) |
| void | setSMIMEBackend (const CryptoBackend *backend) |
| const CryptoBackend::Protocol * | smime () const |
Static Public Member Functions | |
| static CryptoBackendFactory * | instance () |
Protected Types | |
| typedef std::map< const char *, const CryptoBackend *, lt_i_str > | BackendMap |
| typedef std::vector< const char * > | ProtocolSet |
Protected Member Functions | |
| CryptoBackendFactory () | |
| ~CryptoBackendFactory () | |
Protected Attributes | |
| ProtocolSet | mAvailableProtocols |
| std::vector< CryptoBackend * > | mBackendList |
| BackendMap | mBackends |
| KConfig * | mConfigObject |
Member Typedef Documentation
typedef std::map<const char *, const CryptoBackend*, lt_i_str> Kleo::CryptoBackendFactory::BackendMap [protected] |
Definition at line 104 of file cryptobackendfactory.h.
typedef std::vector<const char *> Kleo::CryptoBackendFactory::ProtocolSet [protected] |
Definition at line 106 of file cryptobackendfactory.h.
Constructor & Destructor Documentation
| Kleo::CryptoBackendFactory::CryptoBackendFactory | ( | ) | [protected] |
Definition at line 70 of file cryptobackendfactory.cpp.
| Kleo::CryptoBackendFactory::~CryptoBackendFactory | ( | ) | [protected] |
Definition at line 92 of file cryptobackendfactory.cpp.
Member Function Documentation
| const Kleo::CryptoBackend * Kleo::CryptoBackendFactory::backend | ( | unsigned int | idx | ) | const |
Definition at line 182 of file cryptobackendfactory.cpp.
| Kleo::CryptoConfig * Kleo::CryptoBackendFactory::config | ( | ) | const |
Definition at line 154 of file cryptobackendfactory.cpp.
| KConfig * Kleo::CryptoBackendFactory::configObject | ( | ) | const |
Definition at line 201 of file cryptobackendfactory.cpp.
| Kleo::BackendConfigWidget * Kleo::CryptoBackendFactory::configWidget | ( | QWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) | const |
Definition at line 194 of file cryptobackendfactory.cpp.
| const char * Kleo::CryptoBackendFactory::enumerateProtocols | ( | int | i | ) | const |
Definition at line 250 of file cryptobackendfactory.cpp.
| bool Kleo::CryptoBackendFactory::hasBackends | ( | ) | const |
Definition at line 159 of file cryptobackendfactory.cpp.
| Kleo::CryptoBackendFactory * Kleo::CryptoBackendFactory::instance | ( | ) | [static] |
| bool Kleo::CryptoBackendFactory::knowsAboutProtocol | ( | const char * | name | ) | const |
Definition at line 291 of file cryptobackendfactory.cpp.
| const Kleo::CryptoBackend::Protocol * Kleo::CryptoBackendFactory::openpgp | ( | ) | const |
| const Kleo::CryptoBackend::Protocol * Kleo::CryptoBackendFactory::protocol | ( | GpgME::Protocol | proto | ) | const |
Definition at line 145 of file cryptobackendfactory.cpp.
| const Kleo::CryptoBackend::Protocol * Kleo::CryptoBackendFactory::protocol | ( | const char * | name | ) | const |
Definition at line 136 of file cryptobackendfactory.cpp.
| void Kleo::CryptoBackendFactory::scanForBackends | ( | QStringList * | reasons = 0 |
) |
| void Kleo::CryptoBackendFactory::setOpenPGPBackend | ( | const CryptoBackend * | backend | ) |
Definition at line 212 of file cryptobackendfactory.cpp.
| void Kleo::CryptoBackendFactory::setProtocolBackend | ( | const char * | name, | |
| const CryptoBackend * | backend | |||
| ) |
Definition at line 216 of file cryptobackendfactory.cpp.
| void Kleo::CryptoBackendFactory::setSMIMEBackend | ( | const CryptoBackend * | backend | ) |
Definition at line 208 of file cryptobackendfactory.cpp.
| const Kleo::CryptoBackend::Protocol * Kleo::CryptoBackendFactory::smime | ( | ) | const |
Member Data Documentation
Definition at line 107 of file cryptobackendfactory.h.
std::vector<CryptoBackend*> Kleo::CryptoBackendFactory::mBackendList [protected] |
Definition at line 102 of file cryptobackendfactory.h.
BackendMap Kleo::CryptoBackendFactory::mBackends [protected] |
Definition at line 105 of file cryptobackendfactory.h.
KConfig* Kleo::CryptoBackendFactory::mConfigObject [mutable, protected] |
Definition at line 103 of file cryptobackendfactory.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference