Commit bf9c6a0d authored by Daniel Mensinger's avatar Daniel Mensinger
Browse files

meson: plugin files restructure

parent 5feb0395
......@@ -3,13 +3,14 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kdevmesonmanager\")
set(mesonbuilder_SRCS
mesonbuilder.cpp
mesonconfig.cpp
mesonintrospectjob.cpp
mesonjob.cpp
mesonjobprune.cpp
mesonmanager.cpp
mesonoptions.cpp
mesontargets.cpp
mesontests.cpp
mintro/mesonintrospectjob.cpp
mintro/mesonoptions.cpp
mintro/mesontargets.cpp
mintro/mesontests.cpp
settings/mesonadvancedsettings.cpp
settings/mesonconfigpage.cpp
......
......@@ -23,8 +23,8 @@
#include "debug.h"
#include "mesonbuilder.h"
#include "mesonconfig.h"
#include "mesonintrospectjob.h"
#include "mesontargets.h"
#include "mintro/mesonintrospectjob.h"
#include "mintro/mesontargets.h"
#include "settings/mesonconfigpage.h"
#include "settings/mesonnewbuilddir.h"
......
......@@ -21,7 +21,7 @@
#pragma once
#include "mesonconfig.h"
#include "mesontests.h"
#include "mintro/mesontests.h"
#include <project/abstractfilemanagerplugin.h>
#include <project/interfaces/ibuildsystemmanager.h>
......
......@@ -20,10 +20,10 @@
#include "mesonconfigpage.h"
#include "mesonbuilder.h"
#include "mesonintrospectjob.h"
#include "mesonjob.h"
#include "mesonmanager.h"
#include "mesonnewbuilddir.h"
#include "mintro/mesonintrospectjob.h"
#include "ui_mesonconfigpage.h"
#include <debug.h>
......@@ -35,7 +35,6 @@
#include <QIcon>
using namespace KDevelop;
MesonConfigPage::MesonConfigPage(IPlugin* plugin, IProject* project, QWidget* parent)
......
......@@ -20,7 +20,7 @@
#pragma once
#include "mesonconfig.h"
#include "mesonoptions.h"
#include "mintro/mesonoptions.h"
#include <interfaces/configpage.h>
......@@ -30,15 +30,16 @@ class IPlugin;
class IProject;
}
namespace Ui {
class MesonConfigPage;
namespace Ui
{
class MesonConfigPage;
}
class MesonConfigPage : public KDevelop::ConfigPage
{
Q_OBJECT
public:
explicit MesonConfigPage(KDevelop::IPlugin* plugin, KDevelop::IProject *project, QWidget* parent = nullptr);
explicit MesonConfigPage(KDevelop::IPlugin* plugin, KDevelop::IProject* project, QWidget* parent = nullptr);
QString name() const override;
QString fullName() const override;
......@@ -62,8 +63,8 @@ private:
void setWidgetsDisabled(bool disabled);
private:
KDevelop::IProject *m_project = nullptr;
Ui::MesonConfigPage *m_ui = nullptr;
KDevelop::IProject* m_project = nullptr;
Ui::MesonConfigPage* m_ui = nullptr;
Meson::MesonConfig m_config;
Meson::BuildDir m_current;
bool m_configChanged = false;
......
......@@ -19,7 +19,7 @@
#pragma once
#include "mesonoptions.h"
#include "mintro/mesonoptions.h"
#include <QWidget>
......
......@@ -20,8 +20,8 @@
#include "mesonoptionsview.h"
#include "mesonconfig.h"
#include "mesonintrospectjob.h"
#include "mesonoptionbaseview.h"
#include "mintro/mesonintrospectjob.h"
#include "ui_mesonoptionsview.h"
#include <debug.h>
......
......@@ -19,7 +19,7 @@
#pragma once
#include "mesonoptions.h"
#include "mintro/mesonoptions.h"
#include <util/path.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