Commit a6c8a497 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix includes

parent ab903a07
......@@ -20,7 +20,7 @@
#include "addarchivemaildialog.h"
#include "widgets/formatcombobox.h"
#include "widgets/unitcombobox.h"
#include "MailCommon/FolderRequester"
#include <MailCommon/FolderRequester>
#include <Collection>
#include <KLocalizedString>
......
......@@ -20,7 +20,7 @@
#ifndef ADDARCHIVEMAILDIALOG_H
#define ADDARCHIVEMAILDIALOG_H
#include "MailCommon/BackupJob"
#include <MailCommon/BackupJob>
#include "archivemailinfo.h"
#include <QDialog>
#include <Collection>
......
......@@ -19,7 +19,7 @@
#ifndef ARCHIVEMAILINFO_H
#define ARCHIVEMAILINFO_H
#include "MailCommon/BackupJob"
#include <MailCommon/BackupJob>
#include <KConfigGroup>
#include <Collection>
#include <QUrl>
......
......@@ -19,7 +19,7 @@
#ifndef FORMATCOMBOBOX_H
#define FORMATCOMBOBOX_H
#include "MailCommon/BackupJob"
#include <MailCommon/BackupJob>
#include <QComboBox>
......
......@@ -18,8 +18,8 @@
*/
#include "followupreminderconfigtest.h"
#include "FollowupReminder/FollowUpReminderUtil"
#include "FollowupReminder/FollowUpReminderInfo"
#include <FollowupReminder/FollowUpReminderUtil>
#include <FollowupReminder/FollowUpReminderInfo>
#include <QTest>
#include <KSharedConfig>
#include <QRegularExpression>
......
......@@ -18,7 +18,7 @@
*/
#include "followupreminderinfotest.h"
#include "FollowupReminder/FollowUpReminderInfo"
#include <FollowupReminder/FollowUpReminderInfo>
#include <QTest>
#include <KConfigGroup>
#include <KSharedConfig>
......
......@@ -20,7 +20,7 @@
#include "followupremindernoanswerdialogtest.h"
#include "../followupremindernoanswerdialog.h"
#include "../followupreminderinfowidget.h"
#include "FollowupReminder/FollowUpReminderInfo"
#include <FollowupReminder/FollowUpReminderInfo>
#include <QTreeWidget>
#include <QTest>
#include <QStandardPaths>
......
......@@ -19,7 +19,7 @@
#include "followupreminderagent.h"
#include "followupremindermanager.h"
#include "FollowupReminder/FollowUpReminderUtil"
#include <FollowupReminder/FollowUpReminderUtil>
#include "followupreminderadaptor.h"
#include "followupreminderagentsettings.h"
#include <KMime/Message>
......
......@@ -17,8 +17,8 @@
Boston, MA 02110-1301, USA.
*/
#include "followupreminderinfowidget.h"
#include "FollowupReminder/FollowUpReminderInfo"
#include "FollowupReminder/FollowUpReminderUtil"
#include <FollowupReminder/FollowUpReminderInfo>
#include <FollowupReminder/FollowUpReminderUtil>
#include "jobs/followupremindershowmessagejob.h"
#include "followupreminderagent_debug.h"
......
......@@ -19,8 +19,8 @@
#include "followupremindermanager.h"
#include "followupreminderagent_debug.h"
#include "FollowupReminder/FollowUpReminderInfo"
#include "FollowupReminder/FollowUpReminderUtil"
#include <FollowupReminder/FollowUpReminderInfo>
#include <FollowupReminder/FollowUpReminderUtil>
#include "followupremindernoanswerdialog.h"
#include "jobs/followupreminderjob.h"
#include "jobs/followupreminderfinishtaskjob.h"
......
......@@ -18,7 +18,7 @@
*/
#include "followupreminderfinishtaskjob.h"
#include "FollowupReminder/FollowUpReminderInfo"
#include <FollowupReminder/FollowUpReminderInfo>
#include <AkonadiCore/Item>
#include <AkonadiCore/ItemFetchJob>
#include <AkonadiCore/ItemModifyJob>
......
......@@ -29,8 +29,8 @@
#include "filterlogdialog.h"
#include <MailCommon/FilterLog>
#include "kpimtextedit/plaintexteditorwidget.h"
#include "kpimtextedit/plaintexteditor.h"
#include <KPIMTextEdit/PlainTextEditorWidget>
#include <KPIMTextEdit/PlainTextEditor>
#include "mailfilterpurposemenuwidget.h"
#include "mailfilteragent_debug.h"
......
......@@ -23,7 +23,7 @@
#include <AkonadiCore/collection.h>
#include <AkonadiCore/item.h>
#include "MailCommon/SearchPattern"
#include <MailCommon/SearchPattern>
namespace MailCommon {
class MailFilter;
......
......@@ -19,7 +19,7 @@
#include "mailfilteragent.h"
#include "mailcommon/dbusoperators.h"
#include <MailCommon/DBusOperators>
#include "dummykernel.h"
#include "filterlogdialog.h"
#include "filtermanager.h"
......
......@@ -22,7 +22,7 @@
#include <AkonadiAgentBase/agentbase.h>
#include "MailCommon/SearchPattern"
#include <MailCommon/SearchPattern>
#include <Collection>
#include <AkonadiCore/item.h>
......
......@@ -20,7 +20,7 @@
#include "sendlaterjob.h"
#include "sendlaterinfo.h"
#include "MessageComposer/AkonadiSender"
#include <MessageComposer/AkonadiSender>
#include <MessageComposer/Util>
#include <MessageCore/StringUtil>
......
......@@ -22,7 +22,7 @@
#include "sendlaterutil.h"
#include "sendlaterjob.h"
#include "MessageComposer/AkonadiSender"
#include <MessageComposer/AkonadiSender>
#include <MessageComposer/Util>
#include <KSharedConfig>
......
......@@ -19,8 +19,8 @@
*/
#include "collectionmailinglistpage.h"
#include "mailcommon/mailkernel.h"
#include "mailcommon/mailutil.h"
#include <MailCommon/MailKernel>
#include <MailCommon/MailUtil>
#include "util.h"
#include <AkonadiCore/itemfetchjob.h>
......
......@@ -19,9 +19,9 @@
#include "collectiontemplatespage.h"
#include "mailcommon/mailkernel.h"
#include <MailCommon/MailKernel>
#include <MailCommon/FolderSettings>
#include "TemplateParser/TemplatesConfiguration"
#include <TemplateParser/TemplatesConfiguration>
#include "templatesconfiguration_kfg.h"
#include <AkonadiCore/collection.h>
......
......@@ -18,7 +18,7 @@
*/
#include "collectionviewpage.h"
#include "mailcommon/mailkernel.h"
#include <MailCommon/MailKernel>
#include <AkonadiCore/collection.h>
#include <AkonadiCore/entitydisplayattribute.h>
......@@ -34,10 +34,10 @@
#include <QRadioButton>
#include "kmail_debug.h"
#include "messagelist/aggregationcombobox.h"
#include "messagelist/aggregationconfigbutton.h"
#include "messagelist/themecombobox.h"
#include "messagelist/themeconfigbutton.h"
#include <MessageList/AggregationComboBox>
#include <MessageList/AggregationConfigButton>
#include <MessageList/ThemeComboBox>
#include <MessageList/ThemeConfigButton>
#include <MailCommon/FolderSettings>
......
......@@ -22,14 +22,14 @@
#include "settings/kmailsettings.h"
#include "configagentdelegate.h"
#include "undosend/undosendcombobox.h"
#include "MessageComposer/MessageComposerSettings"
#include "MailCommon/AccountConfigOrderDialog"
#include "PimCommon/ConfigureImmutableWidgetUtils"
#include <MessageComposer/MessageComposerSettings>
#include <MailCommon/AccountConfigOrderDialog>
#include <PimCommon/ConfigureImmutableWidgetUtils>
using namespace PimCommon::ConfigureImmutableWidgetUtils;
#include <mailtransport/transportmanagementwidget.h>
using MailTransport::TransportManagementWidget;
#include "ui_accountspagereceivingtab.h"
#include "MailCommon/MailUtil"
#include <MailCommon/MailUtil>
#include <AkonadiCore/agentfilterproxymodel.h>
#include <AkonadiCore/agentinstancemodel.h>
......
......@@ -16,20 +16,20 @@
*/
#include "configureappearancepage.h"
#include "PimCommon/ConfigureImmutableWidgetUtils"
#include <PimCommon/ConfigureImmutableWidgetUtils>
using namespace PimCommon::ConfigureImmutableWidgetUtils;
#include "configuredialog/colorlistbox.h"
#include "messagelist/aggregationcombobox.h"
#include "messagelist/aggregationconfigbutton.h"
#include "messagelist/themecombobox.h"
#include "messagelist/themeconfigbutton.h"
#include <MessageList/AggregationComboBox>
#include <MessageList/AggregationConfigButton>
#include <MessageList/ThemeComboBox>
#include <MessageList/ThemeConfigButton>
#include "messagelistsettings.h"
#include "MailCommon/TagWidget"
#include <MailCommon/TagWidget>
#include "MailCommon/Tag"
#include "kmkernel.h"
#include "util.h"
#include "MailCommon/FolderTreeWidget"
#include <MailCommon/FolderTreeWidget>
#include "kmmainwidget.h"
......@@ -38,12 +38,12 @@ using namespace PimCommon::ConfigureImmutableWidgetUtils;
#include <MessageViewer/ConfigureWidget>
#include <MessageViewer/MessageViewerSettings>
#include "messagelist/messagelistutil.h"
#include <MessageList/MessageListUtil>
#include <MessageCore/MessageCoreSettings>
#include <MessageCore/MessageCoreUtil>
#include "settings/kmailsettings.h"
#include "MailCommon/MailUtil"
#include <MailCommon/MailUtil>
#include <AkonadiCore/Tag>
#include <AkonadiCore/TagFetchJob>
......
......@@ -16,26 +16,26 @@
*/
#include "configurecomposerpage.h"
#include "PimCommon/ConfigureImmutableWidgetUtils"
#include <PimCommon/ConfigureImmutableWidgetUtils>
using namespace PimCommon::ConfigureImmutableWidgetUtils;
#include "kmkernel.h"
#include "kmmainwidget.h"
#include "PimCommon/AutoCorrectionWidget"
#include "MessageComposer/ImageScalingWidget"
#include "MessageComposer/MessageComposerSettings"
#include <PimCommon/AutoCorrectionWidget>
#include <MessageComposer/ImageScalingWidget>
#include <MessageComposer/MessageComposerSettings>
#include <MessageCore/MessageCoreSettings>
#include "settings/kmailsettings.h"
#include "configuredialog/configuredialoglistview.h"
#include "PimCommon/SimpleStringListEditor"
#include <PimCommon/SimpleStringListEditor>
#include "templatesconfiguration_kfg.h"
#include "TemplateParser/TemplatesConfiguration"
#include "templateparser/customtemplates.h"
#include <TemplateParser/TemplatesConfiguration>
#include <TemplateParser/CustomTemplates>
#include "globalsettings_templateparser.h"
#include "libkdepim/recentaddresses.h"
#include <Libkdepim/RecentAddresses>
#include <Libkdepim/LdapClientSearch>
#include "libkdepimakonadi/completionordereditor.h"
#include <LibkdepimAkonadi/CompletionOrderEditor>
using KPIM::RecentAddresses;
#include <KLocalizedString>
......
......@@ -16,7 +16,7 @@
*/
#include "configuremiscpage.h"
#include "PimCommon/ConfigureImmutableWidgetUtils"
#include <PimCommon/ConfigureImmutableWidgetUtils>
using namespace PimCommon::ConfigureImmutableWidgetUtils;
#include "settings/kmailsettings.h"
#include "kmkernel.h"
......
......@@ -16,10 +16,10 @@
*/
#include "configuresecuritypage.h"
#include "PimCommon/ConfigureImmutableWidgetUtils"
#include <PimCommon/ConfigureImmutableWidgetUtils>
using namespace PimCommon::ConfigureImmutableWidgetUtils;
#include <MessageViewer/MessageViewerSettings>
#include "MessageComposer/MessageComposerSettings"
#include <MessageComposer/MessageComposerSettings>
#include <WebEngineViewer/CheckPhishingUrlCache>
#include <MailCommon/FolderSettings>
#include "settings/kmailsettings.h"
......
......@@ -18,10 +18,10 @@
*/
#include "archivefolderdialog.h"
#include "MailCommon/BackupJob"
#include <MailCommon/BackupJob>
#include "kmkernel.h"
#include "kmmainwidget.h"
#include "MailCommon/FolderRequester"
#include <MailCommon/FolderRequester>
#include <MessageViewer/MessageViewerUtil>
#include <AkonadiCore/Collection>
......
......@@ -28,7 +28,7 @@
#include "editor/kmcomposerwin.h"
#include "kmkernel.h"
#include "kmreadermainwin.h"
#include "mailcommon/mailutil.h"
#include <MailCommon/MailUtil>
#include <KIdentityManagement/Identity>
#include <AkonadiCore/itemfetchjob.h>
#include <kcontacts/addressee.h>
......
......@@ -23,7 +23,7 @@
#ifndef KMAIL_ATTACHMENTCONTROLLER_H
#define KMAIL_ATTACHMENTCONTROLLER_H
#include "messagecomposer/attachmentcontrollerbase.h"
#include <MessageComposer/AttachmentControllerBase>
#include <AkonadiCore/Item>
class KMComposerWin;
class QModelIndex;
......
......@@ -31,7 +31,7 @@
// KDE libs
#include <KCodecAction>
#include <messagecomposer/messagecomposersettings.h>
#include <MessageComposer/MessageComposerSettings>
CodecManager::CodecManager()
{
......
......@@ -18,7 +18,7 @@
#ifndef KMCOMPOSEREDITORNG_H
#define KMCOMPOSEREDITORNG_H
#include "messagecomposer/richtextcomposerng.h"
#include <MessageComposer/RichTextComposerNg>
class KMComposerWin;
namespace KPIMTextEdit {
class RichTextComposerEmailQuoteHighlighter;
......
......@@ -27,7 +27,7 @@
// KMail includes
#include "editor/composer.h"
#include "MessageComposer/RecipientsEditor"
#include <MessageComposer/RecipientsEditor>
#include <MessageComposer/PluginEditorConvertTextInterface>
// Qt includes
#include <QFont>
......@@ -35,7 +35,7 @@
#include <QVector>
// LIBKDEPIM includes
#include "MessageComposer/RichTextComposerNg"
#include <MessageComposer/RichTextComposerNg>
#include <MessageComposer/MessageSender>
......@@ -44,7 +44,7 @@
#include <kmime/kmime_headers.h>
// Other includes
#include "Libkleo/Enum"
#include <Libkleo/Enum>
#include <messagecomposer/composerviewbase.h>
class QUrl;
......
......@@ -18,9 +18,9 @@
*/
#include "kmailplugineditormanagerinterface.h"
#include "messagecomposer/plugineditormanager.h"
#include "messagecomposer/plugineditor.h"
#include "messagecomposer/plugincomposerinterface.h"
#include <MessageComposer/PluginEditorManager>
#include <MessageComposer/PluginEditor>
#include <MessageComposer/PluginComposerInterface>
#include "kmail_debug.h"
#include <QAction>
......
......@@ -22,7 +22,7 @@
#include <QObject>
#include <QHash>
#include "messagecomposer/plugineditorinterface.h"
#include <MessageComposer/PluginEditorInterface>
namespace KPIMTextEdit {
class RichTextEditor;
}
......
......@@ -17,7 +17,7 @@
#include "validatesendmailshortcut.h"
#include "kmail_debug.h"
#include "Libkdepim/PIMMessageBox"
#include <Libkdepim/PIMMessageBox>
#include "settings/kmailsettings.h"
#include <KMessageBox>
......
......@@ -19,7 +19,7 @@
#include "foldershortcutactionmanager.h"
#include <MailCommon/FolderSettings>
#include "mailcommon/mailkernel.h"
#include <MailCommon/MailKernel>
#include <AkonadiCore/ChangeRecorder>
#include <AkonadiCore/EntityDisplayAttribute>
......
......@@ -38,32 +38,32 @@
#include <QGpgME/Protocol>
#include <QGpgME/Job>
#include "MessageComposer/MessageComposerSettings"
#include <MessageComposer/MessageComposerSettings>
#include <KIdentityManagement/kidentitymanagement/identitymanager.h>
// other KMail headers:
#include "xfaceconfigurator.h"
#include <KEditListWidget>
#include "mailcommon/folderrequester.h"
#include <MailCommon/FolderRequester>
#ifndef KCM_KPIMIDENTITIES_STANDALONE
#include "settings/kmailsettings.h"
#include "kmkernel.h"
#endif
#include "mailcommon/mailkernel.h"
#include <MailCommon/MailKernel>
#include "job/addressvalidationjob.h"
#include <MessageComposer/Kleo_Util>
#include <Sonnet/DictionaryComboBox>
#include <MessageCore/StringUtil>
#include "TemplateParser/TemplatesConfiguration"
#include <TemplateParser/TemplatesConfiguration>
#include "templatesconfiguration_kfg.h"
// other kdepim headers:
#include <KIdentityManagement/kidentitymanagement/identity.h>
#include <KIdentityManagement/kidentitymanagement/signatureconfigurator.h>
#include "PimCommon/AutoCorrectionLanguage"
#include <PimCommon/AutoCorrectionLanguage>
#include <PimCommon/PimUtil>
#include <LibkdepimAkonadi/AddresseeLineEdit>
......
......@@ -35,8 +35,8 @@
#include <Akonadi/Contact/ContactSearchJob>
#include <KIdentityManagement/kidentitymanagement/identity.h>
#include <KIdentityManagement/kidentitymanagement/identitymanager.h>
#include "kpimtextedit/plaintexteditor.h"
#include "kpimtextedit/plaintexteditorwidget.h"
#include <KPIMTextEdit/PlainTextEditor>
#include <KPIMTextEdit/PlainTextEditorWidget>
#include <messageviewer/kxface.h>
#include <KJobWidgets>
......
......@@ -24,7 +24,7 @@
#include <MessageComposer/AliasesExpandJob>
using MessageComposer::AliasesExpandJob;
#include "messagecomposer/messagecomposersettings.h"
#include <MessageComposer/MessageComposerSettings>
#include <KLocalizedString>
#include <KMessageBox>
......
......@@ -19,7 +19,7 @@
#include "createfollowupreminderonexistingmessagejob.h"
#include "kmail_debug.h"
#include "MessageComposer/FollowupReminderCreateJob"
#include <MessageComposer/FollowupReminderCreateJob>
#include <AkonadiCore/ItemFetchJob>
#include <AkonadiCore/ItemFetchScope>
#include <KMime/Message>
......
......@@ -24,8 +24,8 @@
#include <KMessageBox>
#include <KGuiItem>
#include "kmmainwidget.h"
#include "MailCommon/MailUtil"
#include "MailCommon/MailKernel"
#include <MailCommon/MailUtil>
#include <MailCommon/MailKernel>
#include "kmkernel.h"
RemoveCollectionJob::RemoveCollectionJob(QObject *parent)
......
......@@ -19,7 +19,7 @@
#include "removeduplicatemailjob.h"
#include "libkdepim/progressmanager.h"
#include <Libkdepim/ProgressManager>
#include <KLocalizedString>
#include <KMessageBox>
#include <AkonadiCore/Collection>
......
......@@ -22,7 +22,7 @@
#include <PimCommonAkonadi/FetchRecursiveCollectionsJob>
#include "kmail_debug.h"
#include <Akonadi/KMime/RemoveDuplicatesJob>
#include "libkdepim/progressmanager.h"
#include <Libkdepim/ProgressManager>
#include <KLocalizedString>
#include <KMessageBox>
......
......@@ -41,7 +41,7 @@
#include <AkonadiCore/collection.h>
#include <AkonadiCore/entitydisplayattribute.h>
#include <AkonadiCore/changerecorder.h>
#include "MailCommon/FolderTreeView"
#include <MailCommon/FolderTreeView>
#include "tag/tagactionmanager.h"
#include "foldershortcutactionmanager.h"
#include "kmmigrateapplication.h"
......
......@@ -3,8 +3,8 @@
#ifndef KMCommands_h
#define KMCommands_h
#include <MessageComposer/MessageFactoryNG>
#include "MessageList/View"
#include "mailcommon/searchpattern.h"
#include <MessageList/View>