From 0828ad5d52bfd58c56cc6056724b3f0a8bc33402 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (l)" <j.wuttke@fz-juelich.de>
Date: Sat, 6 Nov 2021 23:50:24 +0100
Subject: [PATCH] mv

---
 GUI/View/Main/ActionManager.cpp                      | 2 +-
 GUI/View/Main/MainWindow.cpp                         | 2 +-
 GUI/View/SampleDesigner/SampleToolBar.cpp            | 2 +-
 GUI/View/{Toplevel => SampleDesigner}/SampleView.cpp | 4 ++--
 GUI/View/{Toplevel => SampleDesigner}/SampleView.h   | 8 ++++----
 5 files changed, 9 insertions(+), 9 deletions(-)
 rename GUI/View/{Toplevel => SampleDesigner}/SampleView.cpp (98%)
 rename GUI/View/{Toplevel => SampleDesigner}/SampleView.h (85%)

diff --git a/GUI/View/Main/ActionManager.cpp b/GUI/View/Main/ActionManager.cpp
index b34dd95a135..6c95c166dbe 100644
--- a/GUI/View/Main/ActionManager.cpp
+++ b/GUI/View/Main/ActionManager.cpp
@@ -25,7 +25,7 @@
 #include "GUI/View/Main/MainWindow.h"
 #include "GUI/View/Main/ProjectManager.h"
 #include "GUI/View/Main/PyImportAssistant.h"
-#include "GUI/View/Toplevel/SampleView.h"
+#include "GUI/View/SampleDesigner/SampleView.h"
 #include <QDesktopServices>
 #include <QDir>
 #include <QMenuBar>
diff --git a/GUI/View/Main/MainWindow.cpp b/GUI/View/Main/MainWindow.cpp
index d85ef4ccf5c..4e5e9448a75 100644
--- a/GUI/View/Main/MainWindow.cpp
+++ b/GUI/View/Main/MainWindow.cpp
@@ -25,7 +25,7 @@
 #include "GUI/View/Main/ProjectManager.h"
 #include "GUI/View/Toplevel/ImportDataView.h"
 #include "GUI/View/Toplevel/ProjectSettingsView.h"
-#include "GUI/View/Toplevel/SampleView.h"
+#include "GUI/View/SampleDesigner/SampleView.h"
 #include "GUI/View/Toplevel/SessionModelView.h"
 #include "GUI/View/Toplevel/SimulationView.h"
 #include "GUI/View/Toplevel/WelcomeView.h"
diff --git a/GUI/View/SampleDesigner/SampleToolBar.cpp b/GUI/View/SampleDesigner/SampleToolBar.cpp
index bfb5125bdea..44d531f6fc7 100644
--- a/GUI/View/SampleDesigner/SampleToolBar.cpp
+++ b/GUI/View/SampleDesigner/SampleToolBar.cpp
@@ -16,7 +16,7 @@
 #include "GUI/Model/State/SessionData.h"
 #include "GUI/View/MaterialEditor/MaterialEditorDialog.h"
 #include "GUI/View/SampleDesigner/DesignerView.h"
-#include "GUI/View/Toplevel/SampleView.h"
+#include "GUI/View/SampleDesigner/SampleView.h"
 #include <QAction>
 #include <QButtonGroup>
 #include <QComboBox>
diff --git a/GUI/View/Toplevel/SampleView.cpp b/GUI/View/SampleDesigner/SampleView.cpp
similarity index 98%
rename from GUI/View/Toplevel/SampleView.cpp
rename to GUI/View/SampleDesigner/SampleView.cpp
index e6feb473154..201e7c0f98a 100644
--- a/GUI/View/Toplevel/SampleView.cpp
+++ b/GUI/View/SampleDesigner/SampleView.cpp
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Toplevel/SampleView.cpp
+//! @file      GUI/View/SampleDesigner/SampleView.cpp
 //! @brief     Implements class SampleView
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -12,7 +12,7 @@
 //
 //  ************************************************************************************************
 
-#include "GUI/View/Toplevel/SampleView.h"
+#include "GUI/View/SampleDesigner/SampleView.h"
 #include "GUI/Model/Group/FilterPropertyProxy.h"
 #include "GUI/Model/Project/ProjectDocument.h"
 #include "GUI/Model/Sample/MultiLayerItem.h"
diff --git a/GUI/View/Toplevel/SampleView.h b/GUI/View/SampleDesigner/SampleView.h
similarity index 85%
rename from GUI/View/Toplevel/SampleView.h
rename to GUI/View/SampleDesigner/SampleView.h
index 36442e00fa9..28961e4dd40 100644
--- a/GUI/View/Toplevel/SampleView.h
+++ b/GUI/View/SampleDesigner/SampleView.h
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Toplevel/SampleView.h
+//! @file      GUI/View/SampleDesigner/SampleView.h
 //! @brief     Defines class SampleView
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -12,8 +12,8 @@
 //
 //  ************************************************************************************************
 
-#ifndef BORNAGAIN_GUI_VIEW_TOPLEVEL_SAMPLEVIEW_H
-#define BORNAGAIN_GUI_VIEW_TOPLEVEL_SAMPLEVIEW_H
+#ifndef BORNAGAIN_GUI_VIEW_SAMPLEDESIGNER_SAMPLEVIEW_H
+#define BORNAGAIN_GUI_VIEW_SAMPLEDESIGNER_SAMPLEVIEW_H
 
 #include <QMainWindow>
 
@@ -44,4 +44,4 @@ private:
     bool m_useLayerOrientedEditor = false;
 };
 
-#endif // BORNAGAIN_GUI_VIEW_TOPLEVEL_SAMPLEVIEW_H
+#endif // BORNAGAIN_GUI_VIEW_SAMPLEDESIGNER_SAMPLEVIEW_H
-- 
GitLab