kgpg
kgpgtransaction.h
Go to the documentation of this file.
virtual bool passphraseRequested()
called when GnuPG asks for a passphrase
Definition: kgpgtransaction.cpp:512
int getSuccess() const
get the success value that will be returned with the done signal
Definition: kgpgtransaction.cpp:442
the connected input process returned an error
Definition: kgpgtransaction.h:65
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
int addArguments(const QStringList &args)
add command line arguments to gpg process
Definition: kgpgtransaction.cpp:572
virtual bool nextLine(const QString &line)=0
Called for every line the gpg process writes.
void write(const QByteArray &a, const bool lf=true)
write data to standard input of gpg process
Definition: kgpgtransaction.cpp:413
virtual void newPassphraseEntered()
called when the user entered a new passphrase
Definition: kgpgtransaction.cpp:742
void infoProgress(qulonglong processedAmount, qulonglong totalAmount)
emits procentual status information
virtual void postStart()
Called when the gpg process is up and running.
Definition: kgpgtransaction.cpp:530
virtual bool hintLine(const ts_hintType hint, const QString &args)
Called for a set of hint messages.
Definition: kgpgtransaction.cpp:473
int waitForFinished(const int msecs=-1)
blocks until the transaction is complete
Definition: kgpgtransaction.cpp:681
void replaceArgument(const int pos, const QString &arg)
replace the argument at the given position
Definition: kgpgtransaction.cpp:582
bool askPassphrase(const QString &message=QString())
ask user for passphrase
Definition: kgpgtransaction.cpp:623
void setInputTransaction(KGpgTransaction *ta)
connect the standard input of this transaction to another process
Definition: kgpgtransaction.cpp:709
void clearInputTransaction()
tell the process the standard input is no longer connected
Definition: kgpgtransaction.cpp:723
KGpgTransaction(QObject *parent=0, const bool allowChaining=false)
KGpgTransaction constructor.
Definition: kgpgtransaction.cpp:118
virtual bool preStart()
Called before the gpg process is started.
Definition: kgpgtransaction.cpp:524
void statusMessage(const QString &msg)
emits textual status information
void insertArguments(const int pos, const QStringList &args)
insert arguments at the given position
Definition: kgpgtransaction.cpp:599
bool hasInputTransaction() const
check if another transaction will sent input to this
Definition: kgpgtransaction.cpp:730
void addArgumentRef(int *ref)
make sure the reference to a specific argument is kept up to date
Definition: kgpgtransaction.cpp:617
void askNewPassphrase(const QString &text)
Ask user for passphrase and send it to gpg process.
Definition: kgpgtransaction.cpp:428
virtual ts_boolanswer confirmOverwrite(KUrl ¤tFile)
called when GnuPG asks for confirmation for overwriting a file
Definition: kgpgtransaction.cpp:465
virtual ts_boolanswer boolQuestion(const QString &line)
Called for every boolean question GnuPG answers.
Definition: kgpgtransaction.cpp:457
unexpected sequence of GnuPG messages
Definition: kgpgtransaction.h:62
the question is not supported (this is an error)
Definition: kgpgtransaction.h:74
const QString & getDescription() const
return description of this transaction
Definition: kgpgtransaction.cpp:703
virtual bool passphraseReceived()
called when GnuPG accepted the passphrase
Definition: kgpgtransaction.cpp:518
friend class KGpgTransactionPrivate
Definition: kgpgtransaction.h:47
placeholder for return values of derived classes
Definition: kgpgtransaction.h:66
void setSuccess(const int v)
set the success value that will be returned with the done signal
Definition: kgpgtransaction.cpp:448
the given email address is invalid
Definition: kgpgtransaction.h:64
void unexpectedLine(const QString &line)
notify of an unexpected line
Definition: kgpgtransaction.cpp:506
void insertArgument(const int pos, const QString &arg)
insert an argument at the given position
Definition: kgpgtransaction.cpp:593
void setDescription(const QString &description)
set the description returned in getDescription()
Definition: kgpgtransaction.cpp:489
QObject * parent() const
void setGnuPGHome(const QString &home)
sets the home directory of GnuPG called for this transaction
Definition: kgpgtransaction.cpp:663
void waitForInputTransaction()
wait until the input transaction has finished
Definition: kgpgtransaction.cpp:495
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.