kgpg
kgpgsignuid.cpp
Go to the documentation of this file.
18 KGpgSignUid::KGpgSignUid(QObject *parent, const QString &signer, const KGpgSignableNode *uid, const bool local, const carefulCheck checking)
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
KGpgExpandableNode * getParentKeyNode() const
Returns the parent node in the key hierarchy.
Definition: KGpgNode.cpp:330
void replaceArgument(const int pos, const QString &arg)
replace the argument at the given position
Definition: kgpgtransaction.cpp:582
void setLocal(const bool local)
set if the signature should be local (not exportable)
Definition: kgpgsigntransactionhelper.cpp:91
virtual KgpgCore::KgpgItemType getType() const =0
Returns the item type of this object.
virtual bool nextLine(const QString &line)
Called for every line the gpg process writes.
Definition: kgpgsignuid.cpp:63
void setUid(const QString &uid)
set the uid number of the transaction to the given value
Definition: kgpguidtransaction.cpp:80
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 ts_boolanswer boolQuestion(const QString &line)
Called for every boolean question GnuPG answers.
Definition: kgpgtransaction.cpp:457
void setKeyId(const QString &keyid)
set the key id of the transaction to the given value
Definition: kgpguidtransaction.cpp:66
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
const KGpgKeyNode * getKey(void) const
get the key node this transaction is using
Definition: kgpgsigntransactionhelper.cpp:39
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 bool passphraseReceived()
called when GnuPG accepted the passphrase
Definition: kgpgsignuid.cpp:89
void insertArgument(const int pos, const QString &arg)
insert an argument at the given position
Definition: kgpgtransaction.cpp:593
virtual KGpgTransaction * asTransaction()
returns the transaction object to use
Definition: kgpgsignuid.cpp:96
the line was parsed successfully and the transaction shoult be shut down
Definition: kgpgsigntransactionhelper.h:34
bool standardCommands(const QString &line)
handle common GnuPG messages for uid transactions
Definition: kgpguidtransaction.cpp:45
virtual ts_boolanswer boolQuestion(const QString &line)
Called for every boolean question GnuPG answers.
Definition: kgpgsignuid.cpp:78
virtual void replaceCmd(const QString &cmd)
replaces the command passed to GnuPG
Definition: kgpgsignuid.cpp:102
the line was not handled
Definition: kgpgsigntransactionhelper.h:35
base class for transactions involving only one user id of a key
Definition: kgpguidtransaction.h:25
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.