Commit f2cb707a authored by Sandro Andrade's avatar Sandro Andrade

Fix include order

parent 3f7fbacf
......@@ -22,19 +22,19 @@
#include "minuet_version.h"
#include <shell/core.h>
#include <KCrash>
#include <KAboutData>
#include <KLocalizedString>
#include <QCommandLineParser>
#include <QApplication>
#include <QIcon>
#include <QApplication>
#include <QCommandLineParser>
//#include <QQmlDebuggingEnabler>
//QQmlDebuggingEnabler enabler;
#include <shell/core.h>
int main(int argc, char **argv)
{
QApplication application(argc, argv);
......
......@@ -23,10 +23,10 @@
#ifndef MINUET_ICORE_H
#define MINUET_ICORE_H
#include <QtCore/QObject>
#include "minuetinterfacesexport.h"
#include <QObject>
namespace Minuet
{
......
......@@ -22,7 +22,7 @@
#include "iexercisecontroller.h"
#include <QtQml>
#include <qqml.h>
namespace Minuet
{
......
......@@ -23,11 +23,11 @@
#ifndef MINUET_IEXERCISECONTROLLER_H
#define MINUET_IEXERCISECONTROLLER_H
#include <QtCore/QObject>
#include <QtCore/QJsonArray>
#include "minuetinterfacesexport.h"
#include <QObject>
#include <QJsonArray>
namespace Minuet
{
......
......@@ -23,10 +23,10 @@
#ifndef MINUET_IPLUGIN_H
#define MINUET_IPLUGIN_H
#include <QtCore/QObject>
#include "minuetinterfacesexport.h"
#include <QObject>
namespace Minuet
{
......
......@@ -23,10 +23,10 @@
#ifndef MINUET_IPLUGINCONTROLLER_H
#define MINUET_IPLUGINCONTROLLER_H
#include <QtCore/QObject>
#include "minuetinterfacesexport.h"
#include <QObject>
namespace Minuet
{
......
......@@ -22,7 +22,7 @@
#include "isoundbackend.h"
#include <QtQml>
#include <qqml.h>
namespace Minuet
{
......
......@@ -25,10 +25,10 @@
#include "iplugin.h"
#include <QJsonArray>
#include "minuetinterfacesexport.h"
#include <QJsonArray>
namespace Minuet
{
......
......@@ -23,10 +23,10 @@
#ifndef MINUET_IUICONTROLLER_H
#define MINUET_IUICONTROLLER_H
#include <QtCore/QObject>
#include "minuetinterfacesexport.h"
#include <QObject>
namespace Minuet
{
......
......@@ -22,15 +22,15 @@
#include "drumsticksoundbackend.h"
#include <QtMath>
#include <QTime>
#include <QJsonObject>
#include "song.h"
#include "midisequenceroutputthread.h"
#include <drumstick/alsaqueue.h>
#include <drumstick/alsaclient.h>
#include "song.h"
#include "midisequenceroutputthread.h"
#include <QTime>
#include <QtMath>
#include <QJsonObject>
DrumstickSoundBackend::DrumstickSoundBackend(QObject *parent)
: Minuet::ISoundBackend(parent),
......
......@@ -25,10 +25,10 @@
#include <interfaces/isoundbackend.h>
#include <QLoggingCategory>
#include <KProcess>
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(MINUET)
Q_LOGGING_CATEGORY(MINUET, "minuet")
......
......@@ -22,9 +22,9 @@
#include "core.h"
#include "uicontroller.h"
#include "plugincontroller.h"
#include "exercisecontroller.h"
#include "uicontroller.h"
#include <interfaces/isoundbackend.h>
......
......@@ -22,17 +22,16 @@
#include "exercisecontroller.h"
#include <drumstick/alsaevent.h>
#include <KLocalizedString>
#include <QDir>
#include <qqml.h>
#include <QDateTime>
#include <QJsonDocument>
#include <QStandardPaths>
#include <QtQml> // krazy:exclude=includes
#include <drumstick/alsaevent.h>
namespace Minuet
{
......
......@@ -25,11 +25,11 @@
#include <interfaces/iexercisecontroller.h>
#include "minuetshellexport.h"
#include <QStringList>
#include <QJsonObject>
#include "minuetshellexport.h"
namespace Minuet
{
......
......@@ -23,28 +23,24 @@
#include "minuetmainwindow.h"
#include "wizard.h"
#include "core.h"
#include <KActionCollection>
#include <KMessageBox>
#include <KConfigDialog>
#include <KActionCollection>
#include <QTimer>
#include <QPointer>
#include <QToolBar>
#include <QQmlEngine>
#include <QQuickView>
#include <QQmlContext>
#include <QStringList>
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(MINUET)
Q_LOGGING_CATEGORY(MINUET, "minuet")
#include <QTimer>
#include <QPointer>
#include <QStringList>
#include <QQuickView>
#include <QToolBar>
#include "core.h"
MinuetMainWindow::MinuetMainWindow(Minuet::Core *core, QWidget *parent, Qt::WindowFlags f) :
KXmlGuiWindow(parent, f),
m_quickView(new QQuickView),
......
......@@ -22,12 +22,12 @@
#include "plugincontroller.h"
#include <KPluginLoader>
#include "core.h"
#include <interfaces/iplugin.h>
#include <interfaces/isoundbackend.h>
#include "core.h"
#include <KPluginLoader>
#include <QDebug>
......
......@@ -25,10 +25,10 @@
#include <interfaces/iplugincontroller.h>
#include <KPluginMetaData>
#include "minuetshellexport.h"
#include <KPluginMetaData>
namespace Minuet
{
......
......@@ -23,12 +23,11 @@
#ifndef MINUET_UICONTROLLER_H
#define MINUET_UICONTROLLER_H
#include <interfaces/iuicontroller.h>
#include "minuetmainwindow.h"
#include "minuetshellexport.h"
#include <interfaces/iuicontroller.h>
namespace Minuet
{
......
......@@ -27,11 +27,10 @@
#include <KLocalizedString>
#include <QTimer>
#include <QDirIterator>
#include <QStandardPaths>
#include <QLabel>
#include <QVBoxLayout>
#include <QDirIterator>
#include <QStandardPaths>
Wizard::Wizard(QWidget *parent, Qt::WindowFlags flags) :
QWizard(parent, flags),
......
......@@ -25,9 +25,8 @@
#include "ui_wizardsystemcheck.h"
#include <QPainter>
#include <QWizard>
#include <QPainter>
#include <QItemDelegate>
class WizardDelegate: public QItemDelegate
......
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