Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 4db8614a authored by Laurent Montel's avatar Laurent Montel 😁

Fix includes

parent c1bb825a
......@@ -22,7 +22,6 @@
#include "qtest_messagecomposer.h"
#include <QDebug>
#include <qtest.h>
#include <kmime/kmime_headers.h>
......
......@@ -35,7 +35,6 @@
#include <MessageCore/NodeHelper>
#include <QDebug>
#include <QtTest>
#include <stdlib.h>
#include <gpgme++/keylistresult.h>
......
......@@ -25,7 +25,6 @@
#include <KMime/Types>
#include <QClipboard>
#include <QSignalSpy>
class RecipientsLineTestFactory : public MessageComposer::RecipientLineFactory
{
......
......@@ -26,7 +26,6 @@
#include <QFile>
#include <QDir>
#include <QTest>
void MessageComposer::Test::setupEnv()
{
......
......@@ -23,7 +23,6 @@
#include "richtextcomposersignatures.h"
#include <pimcommon/autocorrection.h>
#include <QTextBlock>
#include <part/textpart.h>
#include "settings/messagecomposersettings.h"
......
......@@ -24,7 +24,6 @@
#include "Libkleo/Enum"
#include "messagecomposer_export.h"
#include <QByteArray>
#include <QStringList>
#include <kmime/kmime_message.h>
......
......@@ -75,13 +75,11 @@
#include <QSaveFile>
#include <KLocalizedString>
#include <KMessageBox>
#include <QTextBlock>
#include "messagecomposer_debug.h"
#include <QDir>
#include <QTimer>
#include <QUuid>
#include <QTextCodec>
#include <QStandardPaths>
#include <followupreminder/followupremindercreatejob.h>
......
......@@ -21,7 +21,6 @@
#include <KLocalizedString>
#include <KSharedConfig>
#include <KDatePicker>
#include <KMessageBox>
#include <KDateComboBox>
......@@ -30,11 +29,9 @@
#include <KCalCore/Todo>
#include <QVBoxLayout>
#include <KConfigGroup>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QFormLayout>
#include <QLabel>
#include <QLineEdit>
#include <kdatecombobox.h>
using namespace MessageComposer;
......
......@@ -25,7 +25,6 @@
#include "MessageCore/MailingList"
#include "MessageCore/StringUtil"
#include <KProtocolManager>
#include <KMime/Message>
#include <kmime/kmime_mdn.h>
#include <kmime/kmime_dateformatter.h>
......
......@@ -29,7 +29,6 @@
#include <kjob.h>
#include <QStringList>
#include <QVariant>
namespace MessageComposer {
class Composer;
......
......@@ -25,6 +25,7 @@
#include <KIO/Job>
#include <QTextCodec>
#include <QPointer>
using namespace MessageComposer;
class MessageComposer::InsertTextFileJobPrivate
......
......@@ -24,7 +24,6 @@
#include <KJob>
#include <QUrl>
#include <QPointer>
class QTextEdit;
......
......@@ -31,7 +31,6 @@
#include <KCharsets>
#include "messagecomposer_debug.h"
#include <KProtocolManager>
#include <kmime/kmime_message.h>
#include <KEmailAddress>
......
......@@ -19,7 +19,6 @@
#include "plugineditorcheckbeforesendparams.h"
#include <QStringList>
using namespace MessageComposer;
......
......@@ -21,9 +21,7 @@
#include "recipientline.h"
#include <KEmailAddress>
#include <QDialog>
#include <KLocalizedString>
#include <KCompletionBox>
#include <QKeyEvent>
#include <QHBoxLayout>
......
......@@ -40,7 +40,6 @@
#include <QLayout>
#include <QKeyEvent>
#include <QRegularExpression>
using namespace MessageComposer;
using namespace KPIM;
......
......@@ -27,7 +27,6 @@
#include "recipientspicker.h"
#include "kwindowpositioner.h"
#include <QDialog>
#include <KLocalizedString>
#include <QPushButton>
......
......@@ -23,8 +23,6 @@
#include "messagecomposer_export.h"
#include <QObject>
#include <QString>
#include <QSet>
#include <kmime/kmime_message.h>
......
......@@ -32,7 +32,6 @@
#ifndef __KMAIL_MESSAGESENDER_H__
#define __KMAIL_MESSAGESENDER_H__
#include <QString>
#include <kmime/kmime_message.h>
namespace MessageComposer {
......
......@@ -29,7 +29,6 @@
#include <QFileInfo>
#include <QMimeDatabase>
#include <QMimeType>
#include <QUrlQuery>
using namespace MessageCore;
......
......@@ -24,7 +24,6 @@
#include "messagecore_debug.h"
#include <QMimeDatabase>
#include <QMimeType>
namespace MessageCore {
MessageCore::AttachmentFromUrlBaseJob *AttachmentFromUrlUtils::createAttachmentJob(const QUrl &url, QObject *parent)
......
......@@ -37,7 +37,6 @@
#include <KFormat>
#include <QMimeDatabase>
#include <QMimeType>
#include <KConfigGroup>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QVBoxLayout>
......
......@@ -21,7 +21,6 @@
#include "MessageCore/AttachmentFromUrlBaseJob"
#include "attachmentfromurljob.h"
#include "attachmentupdatejob.h"
#include <QUrl>
#include "attachmentfromurlutils.h"
#include "messagecore_debug.h"
#include <QTimer>
......
......@@ -21,7 +21,6 @@
#include <KColorScheme>
#include <QApplication>
#include <QDebug>
using namespace MessageCore;
......
......@@ -29,7 +29,6 @@
#include <KEmailAddress>
#include <KLocalizedString>
#include <KConfigGroup>
#include "messagecore_debug.h"
#include <KUser>
......
......@@ -27,7 +27,7 @@
#include <QPixmap>
#include <QString>
#include <QColor>
#include <QFont>
#include <messagelist_export.h>
#include "theme.h"
......
......@@ -24,7 +24,6 @@
#include <QList>
#include <QPair>
#include <QString>
#include <QFont>
#include <QColor>
#include <QVector>
......
......@@ -37,7 +37,6 @@
#include <kmime/kmime_dateformatter.h> // kdepimlibs
#include <KLineEdit>
#include <Item>
#include <QHelpEvent>
#include <QToolTip>
......@@ -46,7 +45,7 @@
#include <QApplication>
#include <QScrollBar>
#include <QSignalMapper>
#include <QLineEdit>
#include <QMenu>
#include <KLocalizedString>
#include "messagelist_debug.h"
......
......@@ -45,7 +45,6 @@
#include <QAction>
#include <KComboBox>
#include "messagelist_debug.h"
#include <KLineEdit>
#include <KLocalizedString>
#include <QMenu>
......
......@@ -25,7 +25,6 @@
#include "searchlinestatus.h"
#include <KLocalizedString>
#include <KLineEdit>
#include <KComboBox>
#include <QPushButton>
......
......@@ -30,7 +30,6 @@
#include <PimCommon/PimUtil>
#include <QDBusInterface>
#include <KLocalizedString>
......
......@@ -20,7 +20,6 @@
#define MESSAGELISTUTIL_H
#include <messagelist_export.h>
#include <QObject>
#include <QString>
#include <QColor>
......
......@@ -24,7 +24,6 @@
#include <cassert>
#include <QByteArray>
#include <QRegularExpression>
using namespace MessageViewer;
......
......@@ -22,7 +22,6 @@
#include <QString>
#include <QByteArray>
#include <QMap>
namespace MessageViewer {
class MailWebEngineView;
......
......@@ -22,7 +22,6 @@
#include <QString>
#include <QSharedPointer>
#include <QVector>
namespace KMime {
class Content;
......
......@@ -35,8 +35,6 @@
#include <memory>
#include <map>
#include <QMap>
#include <QString>
#include <QSharedPointer>
namespace MimeTreeParser {
......
......@@ -36,7 +36,6 @@
#include <memory>
#include <map>
#include <QMap>
#include <QString>
#include <QSharedPointer>
......
......@@ -37,7 +37,6 @@
#include <QApplication>
#include <QDebug>
using namespace MessageViewer;
......
......@@ -27,7 +27,6 @@
#include <KIconLoader>
#include <KMime/Content>
#include <QMimeDatabase>
QString MessageViewer::Util::iconPathForMimetype(const QString &mimeType, int iconSize,
const QString &fallbackFileName1,
......
......@@ -88,7 +88,6 @@
#include <QItemSelectionModel>
#include <QSignalMapper>
#include <QSplitter>
#include <QTemporaryFile>
#include <QTreeView>
#include <QPrinter>
#include <QPrintDialog>
......
......@@ -19,7 +19,6 @@
#include "mailwebenginescript.h"
#include "webengineviewer/webenginescript.h"
#include <QDebug>
using namespace MessageViewer;
static QString checkJQuery(const char *scriptName)
......
......@@ -21,7 +21,6 @@
#include "messageviewer_export.h"
#include <QString>
#include <QPoint>
namespace MessageViewer {
namespace MailWebEngineScript {
......
......@@ -34,12 +34,7 @@
#include <QContextMenuEvent>
#include <WebEngineViewer/WebHitTest>
#include <QWebEngineSettings>
#include <QWebEngineProfile>
#include <QDebug>
#include <QEventLoop>
#include <QPointer>
#include <QTimer>
#include <QPrinter>
#include <WebEngineViewer/WebHitTestResult>
......
......@@ -19,18 +19,16 @@
#include "testjquerysupportmailwebengine.h"
#include <KActionCollection>
#include <QHBoxLayout>
#include <QApplication>
#include <QWebEngineView>
#include <WebEngineViewer/WebEnginePage>
#include <QDebug>
#include <webengineview.h>
#include <QPushButton>
#include <QMessageBox>
#include <QTextEdit>
#include <QFile>
#include <MessageViewer/Viewer>
#include <MimeTreeParser/AttachmentStrategy>
#include <QVBoxLayout>
TestJQuerySupportMailWebEngine::TestJQuerySupportMailWebEngine(QWidget *parent)
: QWidget(parent)
......
......@@ -19,7 +19,6 @@
#ifndef TESTWEBENGINEACCESSKEY_H
#define TESTWEBENGINEACCESSKEY_H
#include <QWebEngineView>
#include <QWidget>
namespace WebEngineViewer {
class MailWebEngineView;
......
......@@ -27,7 +27,6 @@
#include <KPluginFactory>
#include <QFileInfo>
#include <QSet>
#include <KConfigGroup>
using namespace MessageViewer;
......
......@@ -21,7 +21,6 @@
#include "submittedformwarningwidget.h"
#include <KLocalizedString>
#include <QAction>
using namespace MessageViewer;
......
......@@ -35,7 +35,6 @@ using KContacts::Addressee;
#include <QPushButton>
#include <KGuiItem>
#include <QVBoxLayout>
#include <QDesktopServices>
using namespace MessageViewer;
......
......@@ -24,7 +24,6 @@
#include "mimetreeparser/htmlwriter.h"
#include <QVector>
#include <QVariant>
class QString;
class QByteArray;
......
......@@ -37,7 +37,6 @@
#include "mimetreeparser_debug.h"
#include <KMime/Content>
#include <QTextCodec>
#include <QUrl>
using namespace MimeTreeParser;
......
......@@ -30,7 +30,6 @@
#include <QTest>
#include <QDir>
#include <QLocale>
#include <QTimeZone>
#include <QSignalSpy>
#include <QStandardPaths>
......
......@@ -24,7 +24,6 @@
#include "kpimtextedit/plaintexteditor.h"
#include "templateparseremailaddressrequesterinterfacewidget.h"
#include <KIconLoader>
#include <KLocalizedString>
#include <KMessageBox>
#include <QIcon>
......
......@@ -21,9 +21,7 @@
#include "templateparser_export.h"
#include <QList>
#include <QObject>
#include <QStringList>
class KActionCollection;
class KActionMenu;
......
......@@ -21,7 +21,6 @@
#include "templateparser_debug.h"
#include "templatewebenginepage.h"
#include <QWebEngineScript>
#include <QMap>
template<typename Arg, typename R, typename C>
struct InvokeWrapper {
......
......@@ -43,7 +43,6 @@
#include <QFile>
#include <QFileInfo>
#include <QTextCodec>
#include <QTextDocument>
#include <QLocale>
namespace {
......
......@@ -22,7 +22,6 @@
#include <KActionMenu>
#include "templateparser_debug.h"
#include <KLocalizedString>
#include <QMenu>
#include <QSignalMapper>
......
......@@ -24,13 +24,10 @@
#include <KSyntaxHighlighting/Definition>
#include <KSyntaxHighlighting/Theme>
#include <QCompleter>
#include <QKeyEvent>
#include <QScrollBar>
#include <QStringListModel>
#include <QAbstractItemView>
#include <QFontDatabase>
#include <QCompleter>
using namespace TemplateParser;
TemplatesTextEditor::TemplatesTextEditor(QWidget *parent)
......
......@@ -21,7 +21,6 @@
#include "../checkphishingurlutil.h"
#include <QTest>
#include <QDebug>
CheckPhishingUrlUtilTest::CheckPhishingUrlUtilTest(QObject *parent)
: QObject(parent)
......
......@@ -21,7 +21,6 @@
#include "../urlhashing.h"
#include <QUrl>
#include <QTest>
#include <QList>
UrlHashingTest::UrlHashingTest(QObject *parent)
: QObject(parent)
......
......@@ -20,11 +20,10 @@
#include "checkphishingurljob.h"
#include "checkphishingurlutil.h"
#include <QNetworkAccessManager>
#include <QNetworkConfigurationManager>
#include <PimCommon/NetworkManager>
#include <QJsonDocument>
#include <webengineviewer_debug.h>
#include <QNetworkConfigurationManager>
using namespace WebEngineViewer;
WEBENGINEVIEWER_EXPORT bool webengineview_useCompactJson = true;
......
......@@ -21,7 +21,6 @@
#include "webengineviewer_version.h"
#include <QDateTime>
#include <QtMath>
#include <QDebug>
using namespace WebEngineViewer;
QString CheckPhishingUrlUtil::apiKey()
......
......@@ -23,7 +23,6 @@
#include "localdatabasefile.h"
#include "riceencodingdecoder.h"
#include <QFileInfo>
#include <QCryptographicHash>
using namespace WebEngineViewer;
......
......@@ -23,7 +23,7 @@
#include "webengineviewer_debug.h"
#include <QElapsedTimer>
#include <QFileInfo>
#include <QDebug>
#include <QDateTime>
using namespace WebEngineViewer;
......
......@@ -22,7 +22,6 @@
#include "webengineviewer_private_export.h"
#include <QString>
#include <QDateTime>
namespace WebEngineViewer {
class LocalDataBaseFilePrivate;
......
......@@ -25,10 +25,8 @@
#include "urlhashing.h"
#include "backoffmodemanager.h"
#include <KConfigGroup>
#include <KSharedConfig>
#include <QTimer>
#include <QCryptographicHash>
using namespace WebEngineViewer;
......
......@@ -21,10 +21,8 @@
#include <QApplication>
#include <QStandardPaths>
#include <QLineEdit>
#include <QPushButton>
#include <QPlainTextEdit>
#include <QLabel>
#include <QVBoxLayout>
#include <QInputDialog>
#include <QComboBox>
......
......@@ -23,10 +23,8 @@
#include <QApplication>
#include <QStandardPaths>
#include <QLineEdit>
#include <QPushButton>
#include <QPlainTextEdit>
#include <QLabel>
#include <QVBoxLayout>
ManageLocalDataBaseGui::ManageLocalDataBaseGui(QWidget *parent)
......
......@@ -22,10 +22,8 @@
#include <QApplication>
#include <QStandardPaths>
#include <QLineEdit>
#include <QPushButton>
#include <QPlainTextEdit>
#include <QLabel>
#include <QVBoxLayout>
#include <webenginepage.h>
#include <webengineview.h>
......