Commit 70eec498 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove unused includes

parent 009a9d72
Pipeline #194338 passed with stage
in 3 minutes and 47 seconds
......@@ -12,7 +12,6 @@
#include <KContacts/ContactGroup>
#include <KWindowSystem>
#include <QDebug>
#include <QPointer>
#include <qobjectdefs.h>
......
......@@ -7,7 +7,6 @@
#include <Akonadi/AgentFilterProxyModel>
#include <Akonadi/AgentInstance>
#include <QObject>
#include <QTimer>
class AgentConfiguration : public QObject
{
......
......@@ -45,9 +45,7 @@
#include <KDescendantsProxyModel>
#include <KLocalizedString>
#include <QApplication>
#include <QDebug>
#include <QPointer>
#include <QRandomGenerator>
#include <models/todosortfilterproxymodel.h>
#if AKONADICALENDAR_VERSION > QT_VERSION_CHECK(5, 19, 41)
......
......@@ -4,9 +4,6 @@
#include "addresseewrapper.h"
#include "kalendar_contact_debug.h"
#include <KContacts/VCardConverter>
#include <KLocalizedString>
#include <QBitArray>
#include <QJSValue>
AddresseeWrapper::AddresseeWrapper(QObject *parent)
: QObject(parent)
......
......@@ -2,7 +2,6 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
#include "addressmodel.h"
#include <QAbstractItemModel>
AddressModel::AddressModel(QObject *parent)
: QAbstractListModel(parent)
......
......@@ -10,7 +10,6 @@
#include <Akonadi/ItemModifyJob>
#include <Akonadi/Monitor>
#include <Akonadi/Session>
#include <KLocalizedString>
ContactEditorBackend::ContactEditorBackend(QObject *parent)
: QObject(parent)
......
......@@ -22,10 +22,6 @@
#include <KColorScheme>
#include <KContacts/ContactGroup>
#include <KLocalizedString>
#include <KMessageBox>
#include <QMessageBox>
#include <QTimer>
using namespace Akonadi;
......
......@@ -9,7 +9,6 @@
#include <KContacts/Addressee>
#include <KLocalizedString>
#include <QIcon>
using namespace Akonadi;
......
......@@ -4,7 +4,6 @@
#pragma once
#include <QAbstractListModel>
#include <QSortFilterProxyModel>
#include <KContacts/ContactGroup>
......
......@@ -38,6 +38,7 @@
#include <KConfigGroup>
#include <KContacts/Addressee>
#include <KContacts/ContactGroup>
#include <KDescendantsProxyModel>
#include <KSelectionProxyModel>
#include <KSharedConfig>
#include <QBuffer>
......
......@@ -5,7 +5,6 @@
#include <Akonadi/CollectionFilterProxyModel>
#include <Akonadi/Item>
#include <KDescendantsProxyModel>
#include <QObject>
#include <QSortFilterProxyModel>
......
......@@ -14,9 +14,7 @@
#include "globalcontactmodel.h"
#include "contactconfig.h"
#include <QAbstractListModel>
#include <QQmlEngine>
#include <QtQml>
void CalendarPlugin::registerTypes(const char *uri)
{
......
......@@ -3,7 +3,6 @@
#include "emailmodel.h"
#include <KLocalizedString>
#include <QDebug>
EmailModel::EmailModel(QObject *parent)
: QAbstractListModel(parent)
......
......@@ -2,8 +2,6 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
#include "phonemodel.h"
#include <KLocalizedString>
#include <QDebug>
#include <kcontacts/phonenumber.h>
PhoneModel::PhoneModel(QObject *parent)
......
......@@ -3,7 +3,6 @@
#include "attachmentsmodel.h"
#include "kalendar_debug.h"
#include <QDebug>
#include <QMetaEnum>
AttachmentsModel::AttachmentsModel(QObject *parent, KCalendarCore::Incidence::Ptr incidencePtr)
......
......@@ -5,7 +5,6 @@
#include <KCalendarCore/Calendar>
#include <QAbstractListModel>
#include <QDebug>
/**
*
*/
......
......@@ -4,7 +4,6 @@
#include "incidenceoccurrencemodel.h"
#include "kalendar_debug.h"
#include <Akonadi/EntityTreeModel>
#include <QDebug>
#include <QMetaEnum>
#include <cmath>
#include <models/infinitecalendarviewmodel.h>
......
......@@ -12,7 +12,6 @@
#include <Akonadi/Calendar/ETMCalendar>
#endif
#include <QLocale>
#include <QQueue>
class InfiniteCalendarViewModel : public QAbstractListModel
{
......
......@@ -3,7 +3,6 @@
#include "recurrenceexceptionsmodel.h"
#include "kalendar_debug.h"
#include <QDebug>
#include <QMetaEnum>
RecurrenceExceptionsModel::RecurrenceExceptionsModel(QObject *parent, KCalendarCore::Incidence::Ptr incidencePtr)
......
......@@ -5,7 +5,6 @@
#include <KCalendarCore/Calendar>
#include <QAbstractItemModel>
#include <QDebug>
/**
* This class provides a QAbstractItemModel for an incidences' reminders/alarms.
......
Supports Markdown
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