kgpg
kgpggeneratekey.cpp
Go to the documentation of this file.
23 KGpgGenerateKey::KGpgGenerateKey(QObject *parent, const QString &name, const QString &email, const QString &comment,
137 passdlgmessage = i18n("<p><b>Enter passphrase for %1 <%2></b>:<br />Passphrase should include non alphanumeric characters and random sequences.</p>",
140 passdlgmessage = i18n("<p><b>Enter passphrase for %1</b>:<br />Passphrase should include non alphanumeric characters and random sequences.</p>",
175 QString msglong = i18n("The entropy pool ran empty. The key generation process is stalled until enough entropy is present. You can generate entropy e.g. by moving the mouse or typing at the keyboard. The easiest way is by using another application until the key generation continues.");
int getSuccess() const
get the success value that will be returned with the done signal
Definition: kgpgtransaction.cpp:442
Definition: kgpgkey.h:73
int addArgument(const QString &arg)
add a command line argument to gpg process
Definition: kgpgtransaction.cpp:562
Definition: kgpgkey.h:72
QString getFingerprint() const
return the fingerprint of the generated key
Definition: kgpggeneratekey.cpp:255
void write(const QByteArray &a, const bool lf=true)
write data to standard input of gpg process
Definition: kgpgtransaction.cpp:413
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
void infoProgress(qulonglong processedAmount, qulonglong totalAmount)
emits procentual status information
const T & at(int i) const
virtual bool nextLine(const QString &line)
Called for every line the gpg process writes.
Definition: kgpggeneratekey.cpp:149
QString join(const QString &separator) const
void clear()
int count(const T &value) const
QString fromUtf8(const char *str, int size)
void statusMessage(const QString &msg)
emits textual status information
void askNewPassphrase(const QString &text)
Ask user for passphrase and send it to gpg process.
Definition: kgpgtransaction.cpp:428
virtual void newPassphraseEntered()
called when the user entered a new passphrase
Definition: kgpggeneratekey.cpp:236
bool isEmpty() const
QByteArray number(int n, int base)
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
void setOverrideCursor(const QCursor &cursor)
void restoreOverrideCursor()
virtual void postStart()
Called when the gpg process is up and running.
Definition: kgpggeneratekey.cpp:70
Definition: kgpgkey.h:75
unexpected sequence of GnuPG messages
Definition: kgpgtransaction.h:62
QString right(int n) const
QByteArray & append(char ch)
bool contains(QChar ch, Qt::CaseSensitivity cs) const
Definition: kgpgkey.h:40
QString mid(int position, int n) const
void setSuccess(const int v)
set the success value that will be returned with the done signal
Definition: kgpgtransaction.cpp:448
bool readLineStandardError(QByteArray *line)
Reads a line of text (excluding '\n') from stderr.
Definition: klinebufferedprocess.cpp:103
the given email address is invalid
Definition: kgpgtransaction.h:64
Definition: kgpgkey.h:74
void setDescription(const QString &description)
set the description returned in getDescription()
Definition: kgpgtransaction.cpp:489
QByteArray toAscii() const
Definition: kgpgkey.h:36
the owners name is not accepted by GnuPG
Definition: kgpggeneratekey.h:35
Definition: kgpgkey.h:39
QByteArray toUtf8() const
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.