kleopatra
dirservconfigpage.cpp
Go to the documentation of this file.
152 DirectoryServicesConfigurationPage::DirectoryServicesConfigurationPage( const KComponentData &instance, QWidget *parent, const QVariantList &args )
191 mAddNewServersCB = new QCheckBox( i18n( "Automatically add &new servers discovered in CRL distribution points" ), this );
228 // gpgsm/Configuration/keyserver is not provided by older gpgconf versions; it's type changed from String to LDAPURL
229 if ( ( mX509ServicesEntry = configEntry( s_x509services_new_componentName, s_x509services_new_groupName, s_x509services_new_entryName,
232 else if ( ( mX509ServicesEntry = configEntry( s_x509services_new_componentName, s_x509services_new_groupName, s_x509services_new_entryName,
235 else if ( ( mX509ServicesEntry = configEntry( s_x509services_componentName, s_x509services_groupName, s_x509services_entryName,
241 mOpenPGPServiceEntry = configEntry( s_pgpservice_componentName, s_pgpservice_groupName, s_pgpservice_entryName,
244 mWidget->addOpenPGPServices( string2urls( parseKeyserver( mOpenPGPServiceEntry->stringValue() ).url ) );
263 mTimeoutConfigEntry = configEntry( s_timeout_componentName, s_timeout_groupName, s_timeout_entryName, Kleo::CryptoConfigEntry::ArgType_UInt, false );
270 mMaxItemsConfigEntry = configEntry( s_maxitems_componentName, s_maxitems_groupName, s_maxitems_entryName, Kleo::CryptoConfigEntry::ArgType_UInt, false );
281 mAddNewServersConfigEntry = configEntry( s_addnewservers_componentName, s_addnewservers_groupName, s_addnewservers_entryName, Kleo::CryptoConfigEntry::ArgType_None, false );
315 if ( mAddNewServersConfigEntry && mAddNewServersConfigEntry->boolValue() != mAddNewServersCB->isChecked() )
364 KDE_EXPORT KCModule *create_kleopatra_config_dirserv( QWidget *parent=0, const QVariantList &args=QVariantList() )
374 Kleo::CryptoConfigEntry* DirectoryServicesConfigurationPage::configEntry( const char* componentName,
381 Kleo::CryptoConfigEntry* entry = mConfig->entry( QLatin1String(componentName), QLatin1String(groupName), QLatin1String(entryName) );
385 KMessageBox::error( this, i18n( "Backend error: gpgconf does not seem to know the entry for %1/%2/%3", QLatin1String(componentName), QLatin1String(groupName), QLatin1String(entryName) ) );
390 KMessageBox::error( this, i18n( "Backend error: gpgconf has wrong type for %1/%2/%3: %4 %5", QLatin1String(componentName), QLatin1String(groupName), QLatin1String(entryName), entry->argType(), entry->isList() ) );
static const char s_x509services_new_groupName[]
Definition: dirservconfigpage.cpp:133
static const char s_x509services_entryName[]
Definition: dirservconfigpage.cpp:130
static QStringList urls2strings(const KUrl::List &urls)
Definition: dirservconfigpage.cpp:216
DirectoryServicesConfigurationPage(const KComponentData &instance, QWidget *parent=0, const QVariantList &args=QVariantList())
Definition: dirservconfigpage.cpp:152
static const char s_x509services_componentName[]
Definition: dirservconfigpage.cpp:128
static const char s_addnewservers_entryName[]
Definition: dirservconfigpage.cpp:150
static const char s_maxitems_componentName[]
Definition: dirservconfigpage.cpp:144
static KUrl::List strings2urls(const QStringList &strs)
Definition: dirservconfigpage.cpp:208
static const char s_timeout_componentName[]
Definition: dirservconfigpage.cpp:140
static const char s_x509services_groupName[]
Definition: dirservconfigpage.cpp:129
static const char s_x509services_new_entryName[]
Definition: dirservconfigpage.cpp:134
static const char s_pgpservice_entryName[]
Definition: dirservconfigpage.cpp:138
static const char s_addnewservers_componentName[]
Definition: dirservconfigpage.cpp:148
static const char s_x509services_new_componentName[]
Definition: dirservconfigpage.cpp:132
static const char s_addnewservers_groupName[]
Definition: dirservconfigpage.cpp:149
static const char s_pgpservice_componentName[]
Definition: dirservconfigpage.cpp:136
static const char s_pgpservice_groupName[]
Definition: dirservconfigpage.cpp:137
"Directory Services" configuration page for kleopatra's configuration dialog The user can configure L...
Definition: dirservconfigpage.h:55
KCModule * create_kleopatra_config_dirserv(QWidget *parent=0, const QVariantList &args=QVariantList())
Definition: dirservconfigpage.cpp:364
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.