certmanager/lib

QGpgMECryptoConfig Class Reference

#include <qgpgmecryptoconfig.h>

Inheritance diagram for QGpgMECryptoConfig:

Kleo::CryptoConfig List of all members.

Detailed Description

CryptoConfig implementation around the gpgconf command-line tool For method docu, see kleo/cryptoconfig.h.

Definition at line 49 of file qgpgmecryptoconfig.h.


Public Member Functions

 QGpgMECryptoConfig ()
virtual ~QGpgMECryptoConfig ()
virtual QStringList componentList () const
virtual Kleo::CryptoConfigComponentcomponent (const QString &name) const
virtual void clear ()
virtual void sync (bool runtime)

Constructor & Destructor Documentation

QGpgMECryptoConfig::QGpgMECryptoConfig  ) 
 

Constructor.

Definition at line 60 of file qgpgmecryptoconfig.cpp.


Member Function Documentation

void QGpgMECryptoConfig::clear  )  [virtual]
 

Tells the CryptoConfig to discard any cached information, including all components, groups and entries.

Call this to free some memory when you won't be using the object for some time. DON'T call this if you're holding pointers to components, groups or entries.

Implements Kleo::CryptoConfig.

Definition at line 144 of file qgpgmecryptoconfig.cpp.

Kleo::CryptoConfigComponent * QGpgMECryptoConfig::component const QString &  name  )  const [virtual]
 

Returns:
the configuration object for a given component The object is owned by CryptoConfig, don't delete it.

Implements Kleo::CryptoConfig.

Definition at line 130 of file qgpgmecryptoconfig.cpp.

QStringList QGpgMECryptoConfig::componentList  )  const [virtual]
 

Returns the list of known components (e.g.

"gpg-agent", "dirmngr" etc.). Use component() to retrieve more information about each one.

Returns:
list of component names.

Implements Kleo::CryptoConfig.

Definition at line 119 of file qgpgmecryptoconfig.cpp.

void QGpgMECryptoConfig::sync bool  runtime  )  [virtual]
 

Write back changes.

Parameters:
runtime If this option is set, the changes will take effect at run-time, as far as this is possible. Otherwise, they will take effect at the next start of the respective backend programs.

Implements Kleo::CryptoConfig.

Definition at line 137 of file qgpgmecryptoconfig.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys