certmanager/lib Library API Documentation

QGpgMECryptoConfig Class Reference

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

#include <qgpgmecryptoconfig.h>

Inheritance diagram for QGpgMECryptoConfig:

Inheritance graph
[legend]
Collaboration diagram for QGpgMECryptoConfig:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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.


Constructor & Destructor Documentation

QGpgMECryptoConfig::QGpgMECryptoConfig  ) 
 

Constructor.

Definition at line 59 of file qgpgmecryptoconfig.cpp.


Member Function Documentation

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 118 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 129 of file qgpgmecryptoconfig.cpp.

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 143 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 136 of file qgpgmecryptoconfig.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for certmanager/lib Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jan 31 15:53:11 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003