mirror of https://github.com/KDE/kasts.git
Remove unneeded includes in models
This commit is contained in:
parent
b8b8a312e9
commit
62440e8609
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -9,9 +9,7 @@
|
|||
#include <QAbstractListModel>
|
||||
#include <QHash>
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
#include "entry.h"
|
||||
#include <QVariant>
|
||||
|
||||
class QueueModel : public QAbstractListModel
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue