Commit e97c305c authored by Laurent Montel's avatar Laurent Montel 😁

If include is define in .h remove it if it's defined in .cpp too (scripted)

parent e9955e92
......@@ -5,7 +5,6 @@
*/
#include "test_iresourcerepository.h"
#include <QObject>
#include <QSignalSpy>
#include <QTest>
......
......@@ -7,7 +7,6 @@
#include "test_resourcerepository.h"
#include "src/core/language.h"
#include "src/core/resourcerepository.h"
#include <QObject>
#include <QSignalSpy>
#include <QTest>
......
......@@ -9,7 +9,6 @@
#include "learninggoal.h"
#include "storage.h"
#include <QTemporaryFile>
#include <QTest>
using namespace LearnerProfile;
......
......@@ -6,7 +6,6 @@
#include "learner.h"
#include "learner_p.h"
#include "learninggoal.h"
#include "liblearner_debug.h"
#include <QDir>
#include <QFileInfo>
......
......@@ -9,7 +9,6 @@
#include "profilemanager.h"
#include <QAbstractItemModel>
#include <QAbstractListModel>
#include <QSignalMapper>
#include "liblearner_debug.h"
......
......@@ -14,7 +14,6 @@
#include <KLocalizedString>
#include <QFileDialog>
#include <QList>
#include <QObject>
#include <memory>
using namespace LearnerProfile;
......
......@@ -17,7 +17,6 @@
#include <QGst/Init>
#include <QGst/Message>
#include <QGst/Pad>
#include <QGst/Pipeline>
QtGStreamerCaptureBackend::QtGStreamerCaptureBackend()
{
......
......@@ -17,7 +17,6 @@
#include <QGst/Event>
#include <QGst/Init>
#include <QGst/Message>
#include <QGst/Pipeline>
#include <QGst/Query>
#include <QGst/StreamVolume>
#include <QUrl>
......
......@@ -8,7 +8,6 @@
#include "libsound_debug.h"
#include <QAudioRecorder>
#include <QUrl>
#include <KLocalizedString>
......
......@@ -7,7 +7,6 @@
#include "contributorrepository.h"
#include "artikulate_debug.h"
#include "language.h"
#include "liblearnerprofile/src/learninggoal.h"
#include "liblearnerprofile/src/profilemanager.h"
#include "phoneme.h"
#include "phonemegroup.h"
......@@ -20,7 +19,6 @@
#include <QDirIterator>
#include <QFile>
#include <QStandardPaths>
#include <QUrl>
#include <QUuid>
ContributorRepository::ContributorRepository()
......
......@@ -10,7 +10,6 @@
#include "artikulate_debug.h"
#include <QList>
#include <QString>
#include <QUrl>
Player::Player(QObject *parent)
: QObject(parent)
......
......@@ -11,7 +11,6 @@
#include <QDir>
#include <QList>
#include <QString>
#include <QUrl>
Recorder::Recorder(QObject *parent)
: QObject(parent)
......
......@@ -11,7 +11,6 @@
#include <QDir>
#include <QDirIterator>
#include <QStandardPaths>
#include <QUrl>
ResourceRepository::ResourceRepository()
: ResourceRepository(QUrl::fromLocalFile(QStandardPaths::standardLocations(QStandardPaths::DataLocation).constFirst() + QStringLiteral("/courses/")))
......
......@@ -19,7 +19,6 @@
#include <QQmlEngine>
#include <QXmlSchema>
#include <QXmlStreamReader>
#include <memory>
#include "artikulate_debug.h"
......
......@@ -16,10 +16,8 @@
#include <QDomDocument>
#include <QFile>
#include <QFileInfo>
#include <QObject>
#include <QQmlEngine>
#include <QUuid>
#include <memory>
EditableCourseResource::EditableCourseResource(const QUrl &path, IResourceRepository *repository)
: IEditableCourse()
......
......@@ -6,8 +6,6 @@
#include "trainingaction.h"
#include "drawertrainingactions.h"
#include "trainingactionicon.h"
#include "trainingsession.h"
#include <QQmlEngine>
TrainingAction::TrainingAction(QObject *parent)
......
......@@ -10,7 +10,6 @@
#include <QMap>
#include <QQmlEngine>
#include <QStringList>
#include <QUuid>
#include "artikulate_debug.h"
......
......@@ -7,8 +7,6 @@
#include "mainwindow.h"
#include "application.h"
#include "artikulate_debug.h"
#include "core/trainingsession.h"
#include "liblearnerprofile/src/profilemanager.h"
#include "libsound/src/outputdevicecontroller.h"
#include "settings.h"
#include <KAboutData>
......
......@@ -9,7 +9,6 @@
#include "artikulate_debug.h"
#include "models/coursemodel.h"
#include <KLocalizedString>
#include <QSortFilterProxyModel>
#include <QVariant>
CourseFilterModel::CourseFilterModel(QObject *parent)
......
......@@ -11,7 +11,6 @@
#include "core/ilanguage.h"
#include "core/iresourcerepository.h"
#include <KLocalizedString>
#include <QAbstractListModel>
CourseModel::CourseModel(QObject *parent)
: CourseModel(artikulateApp->resourceRepository(), parent)
......
......@@ -9,7 +9,6 @@
#include "artikulate_debug.h"
#include <KLocalizedString>
#include <QSortFilterProxyModel>
LanguageModel::LanguageModel(QObject *parent)
: QSortFilterProxyModel(parent)
......
......@@ -11,7 +11,6 @@
#include "artikulate_debug.h"
#include <KLocalizedString>
#include <QAbstractListModel>
#include <QSignalMapper>
LanguageResourceModel::LanguageResourceModel(QObject *parent)
......
......@@ -8,7 +8,6 @@
#include "artikulate_debug.h"
#include "core/trainingsession.h"
#include <KLocalizedString>
#include <QAbstractTableModel>
LearningProgressModel::LearningProgressModel(QObject *parent)
: QAbstractTableModel(parent)
......
......@@ -9,7 +9,6 @@
#include "core/phonemegroup.h"
#include "core/unit.h"
#include <QAbstractListModel>
#include <QSignalMapper>
#include "artikulate_debug.h"
......
......@@ -8,7 +8,6 @@
#include "core/language.h"
#include "core/phoneme.h"
#include <QAbstractListModel>
#include <QSignalMapper>
#include "artikulate_debug.h"
......
......@@ -9,7 +9,6 @@
#include "core/phonemegroup.h"
#include "core/unit.h"
#include <QAbstractListModel>
#include <QSignalMapper>
#include "artikulate_debug.h"
......
......@@ -8,7 +8,6 @@
#include "phrasefiltermodel.h"
#include "models/phraselistmodel.h"
#include <QSortFilterProxyModel>
#include "artikulate_debug.h"
#include <KLocalizedString>
......
......@@ -5,10 +5,8 @@
*/
#include "phraselistmodel.h"
#include "core/phrase.h"
#include "core/unit.h"
#include <KLocalizedString>
#include <QAbstractListModel>
#include <QSignalMapper>
PhraseListModel::PhraseListModel(QObject *parent)
......
......@@ -7,10 +7,8 @@
#include "phrasemodel.h"
#include "artikulate_debug.h"
#include "core/icourse.h"
#include "core/phrase.h"
#include "core/unit.h"
#include <KLocalizedString>
#include <QAbstractItemModel>
#include <QSignalMapper>
PhraseModel::PhraseModel(QObject *parent)
......
......@@ -10,7 +10,6 @@
#include "artikulate_debug.h"
#include <KLocalizedString>
#include <QAbstractListModel>
#include <QSignalMapper>
using namespace LearnerProfile;
......
......@@ -12,7 +12,6 @@
#include "artikulate_debug.h"
#include <KLocalizedString>
#include <QAbstractListModel>
#include <QSignalMapper>
SkeletonModel::SkeletonModel(QObject *parent)
......
......@@ -7,7 +7,6 @@
#include "unitfiltermodel.h"
#include "models/unitmodel.h"
#include <QSortFilterProxyModel>
#include "artikulate_debug.h"
#include <KLocalizedString>
......
......@@ -10,7 +10,6 @@
#include "core/phrase.h"
#include "core/unit.h"
#include <QAbstractListModel>
#include <QSignalMapper>
#include "artikulate_debug.h"
......
Markdown is supported
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