Unverified Commit e5ef3192 authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Use gnupg-helper code from libkleo

The gnupg-helper was added to Libkleo some time ago.
Use it now to avoid duplicated code.
parent 3af0ec69
......@@ -64,7 +64,6 @@ endif()
ki18n_wrap_ui(_kleopatra_uiserver_SRCS crypto/gui/signingcertificateselectionwidget.ui)
set(_kleopatra_SRCS
utils/gnupg-helper.cpp
utils/gui-helper.cpp
utils/filedialog.cpp
utils/kdpipeiodevice.cpp
......
......@@ -14,7 +14,7 @@
#include <Libkleo/KeyCache>
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include "kleopatra_debug.h"
#include <KLocalizedString>
......
......@@ -10,7 +10,7 @@
#include <config-kleopatra.h>
#include "clearcrlcachecommand.h"
#include "utils/gnupg-helper.h"
#include <Libkleo/GnuPG>
#include <KLocalizedString>
......
......@@ -13,7 +13,7 @@
#include "command_p.h"
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <gpgme++/key.h>
......
......@@ -13,7 +13,7 @@
#include "command_p.h"
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <KProcess>
#include <KMessageBox>
......
......@@ -13,7 +13,7 @@
#include "command_p.h"
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <gpgme++/key.h>
......
......@@ -12,7 +12,7 @@
#include "exportpaperkeycommand.h"
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <gpgme++/key.h>
......
......@@ -15,7 +15,7 @@
#include "command_p.h"
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <utils/filedialog.h>
#include <Libkleo/Classify>
......
......@@ -12,7 +12,7 @@
#include "genrevokecommand.h"
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <Libkleo/Formatting>
......
......@@ -13,7 +13,7 @@
#include "command_p.h"
#include "utils/gnupg-helper.h"
#include <Libkleo/GnuPG>
#include "kleopatra_debug.h"
#include <KLocalizedString>
......
......@@ -13,7 +13,7 @@
#include "command_p.h"
#include "utils/gnupg-helper.h"
#include <Libkleo/GnuPG>
#include <QString>
#include <QByteArray>
......
......@@ -11,7 +11,7 @@
#include "importpaperkeycommand.h"
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <gpgme++/key.h>
#include <gpgme++/importresult.h>
......
......@@ -15,7 +15,7 @@
#include <smartcard/readerstatus.h>
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <gpgme++/key.h>
......
......@@ -15,7 +15,7 @@
#include "detailscommand.h"
#include "utils/gnupg-helper.h"
#include <Libkleo/GnuPG>
#include <dialogs/lookupcertificatesdialog.h>
......
......@@ -11,7 +11,7 @@
#include "refreshopenpgpcertscommand.h"
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <KLocalizedString>
#include <KMessageBox>
......
......@@ -11,7 +11,7 @@
#include "refreshx509certscommand.h"
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <KLocalizedString>
#include <KMessageBox>
......
......@@ -23,7 +23,7 @@
#include "commands/decryptverifyfilescommand.h"
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <utils/path-helper.h>
#include <utils/input.h>
#include <utils/output.h>
......
......@@ -17,7 +17,7 @@
#include <crypto/decryptverifytask.h>
#include <crypto/taskcollection.h>
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <utils/input.h>
#include <utils/output.h>
#include <utils/kleo_assert.h>
......
......@@ -16,7 +16,7 @@
#include <crypto/decryptverifytask.h>
#include <crypto/taskcollection.h>
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <utils/path-helper.h>
#include <utils/input.h>
#include <utils/output.h>
......
......@@ -30,7 +30,7 @@
#include <utils/output.h>
#include <utils/kleo_assert.h>
#include <utils/auditlog.h>
#include <utils/gnupg-helper.h>
#include <Libkleo/GnuPG>
#include <kmime/kmime_header_parsing.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment