libkleo
qgpgmenewcryptoconfig.cpp
Go to the documentation of this file.
97 const QString wmsg = i18n("<qt>Failed to execute gpgconf:<p>%1</p></qt>", QString::fromLocal8Bit( error.asString() ) );
164 const shared_ptr<QGpgMENewCryptoConfigEntry> entry( new QGpgMENewCryptoConfigEntry( group, o ) );
208 const QString wmsg = i18n( "Error from gpgconf while saving configuration: %1", QString::fromLocal8Bit( err.asString() ) );
217 QGpgMENewCryptoConfigGroup::QGpgMENewCryptoConfigGroup( const shared_ptr<QGpgMENewCryptoConfigComponent> & comp, const Option & option )
273 QString enc = KUrl::toPercentEncoding( str ); // and convert to utf8 first (to get %12%34 for one special char)
316 QGpgMENewCryptoConfigEntry::QGpgMENewCryptoConfigEntry( const shared_ptr<QGpgMENewCryptoConfigGroup> & group, const Option & option )
336 for( QStringList::const_iterator valit = items.constBegin(); valit != items.constEnd(); ++valit ) {
372 kWarning(5150) <<"Deleting a QGpgMENewCryptoConfigEntry that was modified (" << m_option.description() <<")"
502 ( url.port() != -1 ? QString::number( url.port() ) : QString() ) + QLatin1Char(':') + // -1 is used for default ports, omit
bool isReadOnly() const
Definition: qgpgmenewcryptoconfig.cpp:400
void setNumberOfTimesSet(unsigned int)
Definition: qgpgmenewcryptoconfig.cpp:637
Definition: cryptoconfig.h:87
void setURLValue(const KUrl &)
Definition: qgpgmenewcryptoconfig.cpp:622
void setUIntValue(unsigned int)
Definition: qgpgmenewcryptoconfig.cpp:615
QStringList groupList() const
Definition: qgpgmenewcryptoconfig.cpp:188
QGpgMENewCryptoConfigGroup(const boost::shared_ptr< QGpgMENewCryptoConfigComponent > &parent, const GpgME::Configuration::Option &option)
Definition: qgpgmenewcryptoconfig.cpp:217
~QGpgMENewCryptoConfigGroup()
Definition: qgpgmenewcryptoconfig.cpp:224
void setBoolValue(bool)
Definition: qgpgmenewcryptoconfig.cpp:583
CryptoConfig implementation around the gpgconf command-line tool For method docu, see kleo/cryptoconf...
Definition: qgpgmenewcryptoconfig.h:157
QGpgMENewCryptoConfigEntry(const boost::shared_ptr< QGpgMENewCryptoConfigGroup > &group, const GpgME::Configuration::Option &option)
Definition: qgpgmenewcryptoconfig.cpp:316
static KUrl parseURL(int mRealArgType, const QString &str)
Definition: qgpgmenewcryptoconfig.cpp:465
void setComponent(const GpgME::Configuration::Component &component)
Definition: qgpgmenewcryptoconfig.cpp:150
QString description() const
Definition: qgpgmenewcryptoconfig.cpp:382
Definition: cryptoconfig.h:82
~QGpgMENewCryptoConfigEntry()
Definition: qgpgmenewcryptoconfig.cpp:368
Kleo::CryptoConfigEntry::Level level() const
Definition: qgpgmenewcryptoconfig.cpp:244
QGpgMENewCryptoConfigComponent * component(const QString &name) const
Definition: qgpgmenewcryptoconfig.cpp:120
QString stringValue() const
Definition: qgpgmenewcryptoconfig.cpp:443
bool isRuntime() const
Definition: qgpgmenewcryptoconfig.cpp:410
QStringList entryList() const
Definition: qgpgmenewcryptoconfig.cpp:250
static QString gpgconf_unescape(const QString &str)
Definition: qgpgmecryptoconfig.cpp:419
~QGpgMENewCryptoConfig()
Definition: qgpgmenewcryptoconfig.cpp:75
Definition: cryptoconfig.h:85
QString description() const
Definition: qgpgmenewcryptoconfig.cpp:183
void sync(bool runtime)
Definition: qgpgmenewcryptoconfig.cpp:203
void setIntValueList(const std::vector< int > &)
Definition: qgpgmenewcryptoconfig.cpp:659
QGpgMENewCryptoConfigEntry * entry(const QString &name) const
Definition: qgpgmenewcryptoconfig.cpp:255
static QString splitURL(int mRealArgType, const KUrl &url)
Definition: qgpgmenewcryptoconfig.cpp:496
void setURLValueList(const KUrl::List &)
Definition: qgpgmenewcryptoconfig.cpp:673
ArgType argType() const
Definition: qgpgmenewcryptoconfig.cpp:421
QGpgMENewCryptoConfigGroup * group(const QString &name) const
Definition: qgpgmenewcryptoconfig.cpp:198
QStringList stringValueList() const
Definition: qgpgmenewcryptoconfig.cpp:533
static Kleo::CryptoConfigEntry::ArgType knownArgType(int argType, bool &ok)
Definition: qgpgmenewcryptoconfig.cpp:295
void setIntValue(int)
Definition: qgpgmenewcryptoconfig.cpp:608
static QString urlpart_encode(const QString &str)
Definition: qgpgmenewcryptoconfig.cpp:280
QString description() const
Definition: qgpgmenewcryptoconfig.cpp:231
static QString gpgconf_escape(const QString &str)
Definition: qgpgmecryptoconfig.cpp:425
~QGpgMENewCryptoConfigComponent()
Definition: qgpgmenewcryptoconfig.cpp:176
bool boolValue() const
Definition: qgpgmenewcryptoconfig.cpp:436
void setStringValueList(const QStringList &)
Definition: qgpgmenewcryptoconfig.cpp:644
For docu, see kleo/cryptoconfig.h.
Definition: qgpgmenewcryptoconfig.h:133
void setStringValue(const QString &)
Definition: qgpgmenewcryptoconfig.cpp:592
KUrl::List urlValueList() const
Definition: qgpgmenewcryptoconfig.cpp:559
unsigned int uintValue() const
Definition: qgpgmenewcryptoconfig.cpp:458
bool isOptional() const
Definition: qgpgmenewcryptoconfig.cpp:395
Definition: cryptoconfig.h:84
Definition: cryptoconfig.h:86
QStringList componentList() const
Definition: qgpgmenewcryptoconfig.cpp:109
void setUIntValueList(const std::vector< unsigned int > &)
Definition: qgpgmenewcryptoconfig.cpp:666
void resetToDefault()
Definition: qgpgmenewcryptoconfig.cpp:578
Definition: cryptoconfig.h:81
Definition: cryptoconfig.h:83
static QString urlpart_decode(const QString &str)
Definition: qgpgmenewcryptoconfig.cpp:289
unsigned int numberOfTimesSet() const
Definition: qgpgmenewcryptoconfig.cpp:526
QGpgMENewCryptoConfigComponent()
Definition: qgpgmenewcryptoconfig.cpp:143
std::vector< int > intValueList() const
Definition: qgpgmenewcryptoconfig.cpp:545
std::vector< unsigned int > uintValueList() const
Definition: qgpgmenewcryptoconfig.cpp:552
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:57:49 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:57:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.