Commit 2b145436 authored by Laurent Montel's avatar Laurent Montel 😁

If include is define in .h remove it if it's defined in .cpp too (scripted)

parent fcc4b4de
Pipeline #38477 canceled with stage
......@@ -21,7 +21,6 @@
#include <utils/output.h>
#include <utils/types.h>
#include <Libkleo/Stl_Util>
#include <Libkleo/Classify>
......
......@@ -19,7 +19,6 @@
#include <KLocalizedString>
#include <KMessageBox>
#include <QProcess>
#include <QPrinter>
#include <QPrintDialog>
#include <QTextDocument>
......
......@@ -12,7 +12,6 @@
SPDX-License-Identifier: GPL-2.0-only
*/
#include <config-kleopatra.h>
#include "configuredialog.h"
......
......@@ -43,8 +43,6 @@
#include <QFileDialog>
#include <QTemporaryDir>
#include <memory>
#include <vector>
using namespace GpgME;
using namespace Kleo;
......
......@@ -35,7 +35,6 @@
#include <QPointer>
#include <QTimer>
#include <vector>
using namespace GpgME;
using namespace Kleo;
......
......@@ -34,8 +34,6 @@
#include <QPointer>
#include <QTimer>
#include <memory>
#include <vector>
using namespace GpgME;
using namespace Kleo;
......
......@@ -9,7 +9,6 @@
#include "certificatelineedit.h"
#include <QLineEdit>
#include <QCompleter>
#include <QFontMetrics>
#include <QPushButton>
......@@ -18,7 +17,6 @@
#include "kleopatra_debug.h"
#include "dialogs/certificateselectiondialog.h"
#include "commands/detailscommand.h"
#include <Libkleo/KeyCache>
......
......@@ -23,7 +23,6 @@
#include <QVBoxLayout>
#include <QProgressBar>
#include <QLabel>
#include <QDialogButtonBox>
#include <QPushButton>
#include <vector>
......
......@@ -14,7 +14,6 @@
#include "emailoperationspreferences.h"
#include <crypto/gui/resultitemwidget.h>
#include <crypto/taskcollection.h>
#include <utils/scrollarea.h>
......
......@@ -21,7 +21,6 @@
#include <utils/kleo_assert.h>
#include <kmime/kmime_header_parsing.h>
#include <gpgme++/key.h>
......
......@@ -31,7 +31,6 @@
#include <Libkleo/Exception>
#include <Libkleo/Classify>
#include <kmime/kmime_header_parsing.h>
#include <KLocalizedString>
#include "kleopatra_debug.h"
......
......@@ -24,7 +24,6 @@
#include <KIconLoader>
#include <KLocalizedString>
#include <QString>
using namespace Kleo;
using namespace Kleo::Crypto;
......
......@@ -9,7 +9,6 @@
#include "view/waitwidget.h"
#include <QDialog>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QTextEdit>
......
......@@ -24,7 +24,6 @@
#include <QApplication>
#include "kleopatra_debug.h"
#include <vector>
using namespace Kleo;
using namespace Kleo::Dialogs;
......
......@@ -26,7 +26,6 @@
#include <gpg-error.h>
#include "kleopatra_debug.h"
#include "openpgpcard.h"
#include "netkeycard.h"
#include "pivcard.h"
......@@ -39,8 +38,6 @@
#include <QPointer>
#include <QRegularExpression>
#include <memory>
#include <vector>
#include <set>
#include <list>
#include <algorithm>
......
......@@ -51,12 +51,8 @@
#include <QWidget>
#include <QCoreApplication>
#include <kleo-assuan.h>
#include <vector>
#include <map>
#include <string>
#include <memory>
#include <algorithm>
#include <functional>
#include <type_traits>
......
......@@ -25,8 +25,6 @@
#include <KConfig>
#include <KShell>
#include <QString>
#include <QStringList>
#include <QDir>
#include <QMutex>
#include <QCoreApplication>
......
......@@ -22,7 +22,6 @@
#include <QFile>
#include <QString>
#include <cstdio>
using namespace Kleo;
......
......@@ -39,7 +39,6 @@
#include <QContextMenuEvent>
#include <KSharedConfig>
#include <KConfigGroup>
#include <KLocalizedString>
#include <gpgme++/gpgmepp_version.h>
......
......@@ -40,7 +40,6 @@
#include <QAbstractProxyModel>
#include <map>
#include <vector>
using namespace Kleo;
using namespace GpgME;
......
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