kgpg
kgpg.cpp
Go to the documentation of this file.
76 KMessageBox::detailedError(0, i18n("GnuPG failed to start.<br />You must fix the GnuPG error first before running KGpg."), gpgError, i18n("GnuPG error"));
89 if ((KgpgInterface::getGpgBoolSetting(QLatin1String( "use-agent" ), gpgPath)) && (qgetenv("GPG_AGENT_INFO").isEmpty()))
90 KMessageBox::sorry(0, i18n("<qt>The use of <b>GnuPG Agent</b> is enabled in GnuPG's configuration file (%1).<br />"
91 "However, the agent does not seem to be running. This could result in problems with signing/decryption.<br />"
99 if (args->isSet("k") || (!KGpgSettings::showSystray() && (args->count() == 0) && !args->isSet("d"))) {
101 KWindowSystem::setOnDesktop(s_keyManager->winId(), KWindowSystem::currentDesktop()); //set on the current desktop
150 KMessageBox::sorry(0, i18n("Unable to perform requested operation.\nPlease select only one folder, or several files, but do not mix files and folders."));
static QString gpgConfigPath()
Get The path of the gpg configuration file.
Definition: kgpgsettings.h:288
static void decryptFiles(KeysManager *parent, const KUrl::List &urls)
Definition: kgpgexternalactions.cpp:337
bool getGpgBoolSetting(const QString &name, const QString &configfile)
Definition: kgpginterface.cpp:93
void slotSetDefaultKey(const QString &newID)
Definition: keysmanager.cpp:1201
static QString getGpgStartupError(const QString &binary)
run GnuPG and check if it complains about anything
Definition: gpgproc.cpp:317
static QString gpgBinaryPath()
Get The path of the gpg binary used by KGpg.
Definition: kgpgsettings.h:307
static void encryptFiles(KeysManager *parent, const KUrl::List &urls)
create a new object, encrypt the given files, and destroy the object
Definition: kgpgexternalactions.cpp:66
bool isEmpty() const
Definition: keysmanager.h:66
handle actions called from outside the application
Definition: kgpgexternalactions.h:41
QString read(qint64 maxlen)
static void encryptFolders(KeysManager *parent, const KUrl::List &urls)
Definition: kgpgexternalactions.cpp:128
static void signFiles(KeysManager *parent, const KUrl::List &urls)
create a detached signature for the given files
Definition: kgpgexternalactions.cpp:292
static int isKey(const QString &text, const bool incomplete=false)
check if the given text contains a private or public key
Definition: kgpgimport.cpp:276
void showDroppedFile(const KUrl &file)
Definition: kgpgexternalactions.cpp:414
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.