Remove unneeded includes in models

This commit is contained in:
Bart De Vries 2021-04-17 21:53:55 +02:00
parent b8b8a312e9
commit 62440e8609
4 changed files with 8 additions and 19 deletions

View File

@ -5,14 +5,11 @@
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include <QAbstractListModel>
#include <QVariant>
#include <QVector>
#include <QString>
#include "database.h"
#include "datamanager.h"
#include "entriesmodel.h"
#include "fetcher.h"
#include "entry.h"
#include "datamanager.h"
EntriesModel::EntriesModel(Feed *feed)
: QAbstractListModel(feed)

View File

@ -8,11 +8,10 @@
#pragma once
#include <QAbstractListModel>
#include <QVariant>
#include <QHash>
#include <QObject>
#include <QString>
#include "entry.h"
#include "feed.h"
class EntriesModel : public QAbstractListModel

View File

@ -4,16 +4,11 @@
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include <QAbstractListModel>
#include <QVariant>
#include <QVector>
#include <QSqlQuery>
#include <QFile>
#include <QString>
#include "database.h"
#include "datamanager.h"
#include "queuemodel.h"
#include "fetcher.h"
#include "entry.h"
#include "datamanager.h"
QueueModel::QueueModel(QObject *parent)
: QAbstractListModel(parent)

View File

@ -9,9 +9,7 @@
#include <QAbstractListModel>
#include <QHash>
#include <QObject>
#include <QString>
#include "entry.h"
#include <QVariant>
class QueueModel : public QAbstractListModel
{