• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

libkleo

Kleo::CryptoBackendFactory

Kleo::CryptoBackendFactory Class Reference

#include <cryptobackendfactory.h>

Inheritance diagram for Kleo::CryptoBackendFactory:

Inheritance graph
[legend]

List of all members.


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]

Reimplemented in KMail::CryptPlugFactory.

Definition at line 103 of file cryptobackendfactory.cpp.

bool Kleo::CryptoBackendFactory::knowsAboutProtocol ( const char *  name  )  const

Definition at line 291 of file cryptobackendfactory.cpp.

const Kleo::CryptoBackend::Protocol * Kleo::CryptoBackendFactory::openpgp (  )  const

Reimplemented in KMail::CryptPlugFactory.

Definition at line 127 of file cryptobackendfactory.cpp.

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  ) 

Reimplemented in KMail::CryptPlugFactory.

Definition at line 163 of file cryptobackendfactory.cpp.

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

Reimplemented in KMail::CryptPlugFactory.

Definition at line 118 of file cryptobackendfactory.cpp.


Member Data Documentation

ProtocolSet Kleo::CryptoBackendFactory::mAvailableProtocols [protected]

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:
  • cryptobackendfactory.h
  • cryptobackendfactory.cpp

libkleo

Skip menu "libkleo"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal