certmanager/lib

QGpgMECryptoConfig Class Reference

#include <qgpgmecryptoconfig.h>

Inheritance diagram for QGpgMECryptoConfig:
Kleo::CryptoConfig

Public Member Functions

 QGpgMECryptoConfig ()
 
virtual TQStringList componentList () const
 
virtual Kleo::CryptoConfigComponentcomponent (const TQString &name) const
 
virtual void clear ()
 
virtual void sync (bool runtime)
 
- Public Member Functions inherited from Kleo::CryptoConfig
CryptoConfigEntryentry (const TQString &componentName, const TQString &groupName, const TQString &entryName) const
 

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::QGpgMECryptoConfig ( )

Constructor.

Definition at line 60 of file qgpgmecryptoconfig.cpp.

Member Function Documentation

◆ clear()

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.

◆ component()

Kleo::CryptoConfigComponent * QGpgMECryptoConfig::component ( const TQString &  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.

◆ componentList()

TQStringList 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.

◆ sync()

void QGpgMECryptoConfig::sync ( bool  runtime)
virtual

Write back changes.

Parameters
runtimeIf 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: