kleopatra
configreader.cpp
Go to the documentation of this file.
67 static const int GPGCONF_FLAG_NOARG_DESC = 64; // option with optional arg; special meaning if no arg set
135 ConfigEntry* ConfigReader::Private::createEntryFromParsedLine( const QStringList& parsedLine ) const
155 entry->setArgType( argType, flags & GPGCONF_FLAG_LIST ? ConfigEntry::List : ConfigEntry::NoList );
207 // dirmngr[31465]: error opening `/home/dfaure/.gnupg/dirmngr_ldapservers.conf': No such file or directory
234 throw MalformedGpgConfOutputException( i18n( "Parse error on gpgconf --list-config output: %1", line ) );
239 throw MalformedGpgConfOutputException( i18n( "gpgconf --list-config: Unknown component: %1", lst[3] ) );
244 throw MalformedGpgConfOutputException( i18n( "gpgconf --list-config: Unknown entry: %1:%2", lst[3], lst[4] ) );
250 throw MalformedGpgConfOutputException( i18n( "gpgconf --list-config: Invalid entry: value must start with '\"': %1", lst[6] ) );
283 throw MalformedGpgConfOutputException( i18n( "Parse error on gpgconf --list-components. output: %1", line ) );
296 return ei.fileName() ? QFile::decodeName( ei.fileName() ) : KStandardDirs::findExe( QLatin1String("gpgconf") ) ;
ConfigComponent * component(const QString &name) const
Definition: configuration.cpp:133
QProcess::ProcessError error() const
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
ConfigEntry * entry(const QString &name) const
Definition: configuration.cpp:194
Definition: signingcertificateselectiondialog.h:41
void setUseBuiltInDefault(bool useDefault)
Definition: configuration.cpp:319
void chop(int n)
void setValueFromRawString(const QString &str)
Definition: configuration.cpp:468
Definition: configuration.h:46
Definition: configuration.h:135
int count(const T &value) const
Definition: configuration.h:140
QString fromUtf8(const char *str, int size)
Definition: configuration.h:134
Definition: configuration.h:138
Definition: configuration.h:64
static QString process(const Dir &dir, bool *fatal)
Definition: createchecksumscontroller.cpp:557
bool isEmpty() const
bool isEmpty() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
Definition: exception.h:61
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
Definition: configuration.h:94
Definition: configuration.h:137
bool waitForStarted(int msecs)
void setMutability(Mutability mutability)
Definition: configuration.cpp:301
Definition: configuration.h:130
Definition: configuration.h:145
Definition: configuration.h:136
Definition: configuration.h:146
Definition: configuration.h:129
Definition: configuration.h:123
Definition: exception.h:49
QByteArray readAllStandardOutput()
QProcess::ExitStatus exitStatus() const
iterator begin()
void start(const QString &program, const QStringList &arguments, QFlags< QIODevice::OpenModeFlag > mode)
QString decodeName(const QByteArray &localFileName)
QByteArray readAllStandardError()
bool waitForFinished(int msecs)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.