Skip to content
Snippets Groups Projects
Commit 4aa1f265 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm unused include

parent 9f325bad
No related branches found
No related tags found
2 merge requests!427Reduce include dependences in GUI; break cyclic dependence between View and Model,!426Restructure GUI subdirectories to reduce cyclic dependencies
......@@ -20,6 +20,7 @@
#include "GUI/Project/ProjectUtils.h"
#include "GUI/utils/Helpers.h"
#include "GUI/utils/MessageService.h"
#include "GUI/mainwindow/LinkInstrumentManager.h"
#include <QDir>
#include <QElapsedTimer>
#include <QXmlStreamReader>
......@@ -51,6 +52,8 @@ ProjectDocument::ProjectDocument(const QString& projectFileName)
connectModels();
}
ProjectDocument::~ProjectDocument() = default;
QString ProjectDocument::projectName() const
{
return m_project_name;
......
......@@ -16,13 +16,11 @@
#define BORNAGAIN_GUI_PROJECT_PROJECTDOCUMENT_H
#include "GUI/Models/Data/ApplicationModels.h"
#include "GUI/mainwindow/LinkInstrumentManager.h"
#include <QObject>
#include <QVariant>
#include <memory>
class QIODevice;
class ApplicationModels;
class MessageService;
class OutputDataIOService;
class InstrumentModel;
......@@ -58,6 +56,7 @@ public:
Q_FLAG(Functionalities)
ProjectDocument(const QString& projectFileName = "");
~ProjectDocument();
QString projectName() const;
void setProjectName(const QString& text);
......
......@@ -17,6 +17,7 @@
#include "GUI/Models/Instrument/InstrumentModel.h"
#include "GUI/Items/RealDataItem.h"
#include "GUI/mainwindow/mainwindow.h"
#include "GUI/mainwindow/LinkInstrumentManager.h"
#include "GUI/Project/projectdocument.h"
#include <QComboBox>
#include <QLabel>
......
......@@ -13,7 +13,6 @@
// ************************************************************************************************
#include "GUI/Views/RealSpaceWidgets/TransformTo3D.h"
#include "GUI/Models/Types/DoubleDescriptor.h"
#include "GUI/Items/FormFactorItems.h"
#include "GUI/Items/LayerItem.h"
#include "GUI/Items/MultiLayerItem.h"
......
......@@ -6,6 +6,7 @@
#include "GUI/Models/Data/RealDataModel.h"
#include "GUI/Items/RectangularDetectorItem.h"
#include "GUI/Project/projectdocument.h"
#include "GUI/mainwindow/LinkInstrumentManager.h"
#include "Tests/GTestWrapper/google_test.h"
#include "Tests/Unit/GUI/Utils.h"
#include <QSignalSpy>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment