kleopatra
changeroottrustcommand.cpp
Go to the documentation of this file.
75 trustListFile( QDir( gnupgHomeDirectory() ).absoluteFilePath( QLatin1String("trustlist.txt") ) ),
110 ChangeRootTrustCommand::Private * ChangeRootTrustCommand::d_func() { return static_cast<Private*>( d.get() ); }
111 const ChangeRootTrustCommand::Private * ChangeRootTrustCommand::d_func() const { return static_cast<const Private*>( d.get() ); }
136 ChangeRootTrustCommand::ChangeRootTrustCommand( const Key & key, QAbstractItemView * v, KeyListController * p )
192 static QString change_trust_file( const QString & trustListFile, const QString & key, Key::OwnerTrust trust );
247 QString change_trust_file( const QString & trustListFile, const QString & key, Key::OwnerTrust trust )
277 QRegExp rx( QLatin1String("\\s*(!?)\\s*([a-fA-F0-9]{40}|(?:[a-fA-F0-9]{2}:){19}[a-fA-F0-9]{2})\\s*([SsPp*])(.*)") );
335 p.start( gpgConfPath, QStringList() << QLatin1String("--reload") << QLatin1String("gpg-agent") );
QString cap(int nth) const
QList< QByteArray > split(char sep) const
Definition: commands/command_p.h:52
QString errorString() const
static QString change_trust_file(const QString &trustListFile, const QString &key, Key::OwnerTrust trust)
Definition: changeroottrustcommand.cpp:247
ChangeRootTrustCommand(KeyListController *parent)
Definition: changeroottrustcommand.cpp:116
QProcess::ProcessError error() const
Definition: keylistcontroller.h:55
int size() const
QString trustListFile() const
Definition: changeroottrustcommand.cpp:163
bool exists() const
void chop(int n)
void setTrust(GpgME::Key::OwnerTrust trust)
Definition: changeroottrustcommand.cpp:146
bool isEmpty() const
QByteArray readAll()
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
Definition: classify.h:48
QFuture< T > run(Function function,...)
Definition: commands/command.h:46
~ChangeRootTrustCommand()
Definition: changeroottrustcommand.cpp:144
static QString run_gpgconf_reload_gpg_agent(const QString &gpgConfPath)
Definition: changeroottrustcommand.cpp:329
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
GpgME::Key::OwnerTrust trust() const
Definition: changeroottrustcommand.cpp:152
QByteArray toLatin1() const
void setTrustListFile(const QString &file)
Definition: changeroottrustcommand.cpp:157
void reserve(int size)
char * data()
QString fromLatin1(const char *str, int size)
Definition: formatting.h:79
int size() const
bool exactMatch(const QString &str) const
Definition: commands/command.h:58
void start(const QString &program, const QStringList &arguments, QFlags< QIODevice::OpenModeFlag > mode)
static boost::shared_ptr< KeyCache > mutableInstance()
Definition: keycache.cpp:194
void error(const QString &text, const QString &caption=QString(), KMessageBox::Options options=KMessageBox::Notify) const
Definition: commands/command_p.h:83
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.