kgpg
gpgproc.h
Go to the documentation of this file.
94 static QString recode(QByteArray a, const bool colons = true, const QByteArray &codec = QByteArray());
int readln(QString &line, const bool colons=false)
Reads a line of text (excluding '\n').
Definition: gpgproc.cpp:203
static QString getGpgHome(const QString &binary)
find users GnuPG directory
Definition: gpgproc.cpp:336
bool setCodec(const QByteArray &codec)
sets the codec used to translate the incoming data
Definition: gpgproc.cpp:277
static QString getGpgStartupError(const QString &binary)
run GnuPG and check if it complains about anything
Definition: gpgproc.cpp:317
static int gpgVersion(const QString &vstr)
parse GnuPG version string and return version as number
Definition: gpgproc.cpp:288
Read output of a process split into lines.
Definition: klinebufferedprocess.h:56
static QString recode(QByteArray a, const bool colons=true, const QByteArray &codec=QByteArray())
Recode a line from GnuPG encoding to UTF8.
Definition: gpgproc.cpp:238
void resetProcess(const QString &binary=QString())
Reset the class to the state it had right after creation.
Definition: gpgproc.cpp:165
static QString gpgVersionString(const QString &binary)
get the GnuPG version string of the given binary
Definition: gpgproc.cpp:300
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.