kgpg
kgpgsignkey.cpp
Go to the documentation of this file.
18 KGpgSignKey::KGpgSignKey(QObject *parent, const QString &signer, KGpgKeyNode *key, const bool local, const carefulCheck checking)
virtual bool nextLine(const QString &line)
handle standard GnuPG prompts
Definition: kgpgsignkey.cpp:39
the line was parsed successfully and transaction can continue
Definition: kgpgsigntransactionhelper.h:33
helper class for key signing transactions
Definition: kgpgsigntransactionhelper.h:25
int addArgument(const QString &arg)
add a command line argument to gpg process
Definition: kgpgtransaction.cpp:562
void setLocal(const bool local)
set if the signature should be local (not exportable)
Definition: kgpgsigntransactionhelper.cpp:91
virtual KGpgTransaction * asTransaction()
returns the transaction object to use
Definition: kgpgsignkey.cpp:76
lineParseResults nextLine(const QString &line)
handle signing commands from GnuPG
Definition: kgpgsigntransactionhelper.cpp:45
void addArgumentRef(int *ref)
make sure the reference to a specific argument is kept up to date
Definition: kgpgtransaction.cpp:617
virtual bool nextLine(const QString &line)
handle standard GnuPG prompts
Definition: kgpgeditkeytransaction.cpp:60
virtual ts_boolanswer boolQuestion(const QString &line)
Called for every boolean question GnuPG answers.
Definition: kgpgtransaction.cpp:457
virtual bool passphraseReceived()
called when GnuPG accepted the passphrase
Definition: kgpgsignkey.cpp:69
KGpgTransaction::ts_boolanswer boolQuestion(const QString &line)
Definition: kgpgsigntransactionhelper.cpp:69
the question is not supported (this is an error)
Definition: kgpgtransaction.h:74
void setKey(const KGpgKeyNode *node)
set key node this transaction is using
Definition: kgpgsigntransactionhelper.cpp:33
void replaceCommand(const QString &cmd)
replace the command
Definition: kgpgeditkeytransaction.cpp:101
bool contains(QChar ch, Qt::CaseSensitivity cs) const
int m_signerPos
position of the signer argument in GnuPG command line
Definition: kgpgsigntransactionhelper.h:133
void setSuccess(const int v)
set the success value that will be returned with the done signal
Definition: kgpgtransaction.cpp:448
virtual ts_boolanswer boolQuestion(const QString &line)
Called for every boolean question GnuPG answers.
Definition: kgpgsignkey.cpp:55
void insertArgument(const int pos, const QString &arg)
insert an argument at the given position
Definition: kgpgtransaction.cpp:593
the line was parsed successfully and the transaction shoult be shut down
Definition: kgpgsigntransactionhelper.h:34
virtual void replaceCmd(const QString &cmd)
replaces the command passed to GnuPG
Definition: kgpgsignkey.cpp:82
the line was not handled
Definition: kgpgsigntransactionhelper.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 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:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.