kgpg
kgpgencrypt.cpp
Go to the documentation of this file.
32 KGpgEncrypt::KGpgEncrypt(QObject *parent, const QStringList &userIds, const QString &text, const EncryptOptions &options, const QStringList &extraOptions)
43 KGpgEncrypt::KGpgEncrypt(QObject *parent, const QStringList &userIds, const KUrl::List &files, const EncryptOptions &options, const QStringList &extraOptions)
106 emit statusMessage(i18nc("Status message 'Encrypting <filename>' (operation starts)", "Encrypting %1", m_currentFile));
109 emit statusMessage(i18nc("Status message 'Encrypted <filename>' (operation was completed)", "Encrypted %1", m_currentFile));
output the data as printable ASCII as opposed to binary data
Definition: kgpgencrypt.h:38
virtual bool nextLine(const QString &line)
Called for every line the gpg process writes.
Definition: kgpgencrypt.cpp:96
virtual ts_boolanswer confirmOverwrite(KUrl ¤tFile)
called when GnuPG asks for confirmation for overwriting a file
Definition: kgpgencrypt.cpp:119
void infoProgress(qulonglong processedAmount, qulonglong totalAmount)
emits procentual status information
static bool pgpExtension()
Get Use *.pgp extension for encrypted files.
Definition: kgpgsettings.h:269
void append(const T &value)
void statusMessage(const QString &msg)
emits textual status information
bool isEmpty() const
static int gpgVersion(const QString &vstr)
parse GnuPG version string and return version as number
Definition: gpgproc.cpp:288
bool isEmpty() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
the question is not supported (this is an error)
Definition: kgpgtransaction.h:74
const KUrl::List & getInputFiles() const
Definition: kgpgtextorfiletransaction.cpp:176
remove anything that shows which key ids this data is encrypted to, ignored for symmetric encryption ...
Definition: kgpgencrypt.h:40
virtual bool nextLine(const QString &line)
Called for every line the gpg process writes.
Definition: kgpgtextorfiletransaction.cpp:143
QString mid(int position, int n) const
static QString gpgVersionString(const QString &binary)
get the GnuPG version string of the given binary
Definition: gpgproc.cpp:300
int length() const
static QString encryptExtension(const bool ascii)
return the preferred extension for encrypted files
Definition: kgpgencrypt.cpp:132
const QStringList & getMessages() const
get gpg info message
Definition: kgpgtextorfiletransaction.cpp:159
allow encryption with untrusted keys, ignored for symmetric encryption
Definition: kgpgencrypt.h:39
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.