From db736c1ec17ce97981a90c26ae48722ca01e505b Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Sun, 19 Dec 2021 11:20:52 +0100
Subject: [PATCH] mv PyImportAssistant to GUI/View/Project

---
 GUI/Model/From/SampleListModel.cpp               | 2 +-
 GUI/View/Main/ActionManager.cpp                  | 2 +-
 GUI/View/{Main => Project}/PyImportAssistant.cpp | 4 ++--
 GUI/View/{Main => Project}/PyImportAssistant.h   | 8 ++++----
 4 files changed, 8 insertions(+), 8 deletions(-)
 rename GUI/View/{Main => Project}/PyImportAssistant.cpp (98%)
 rename GUI/View/{Main => Project}/PyImportAssistant.h (84%)

diff --git a/GUI/Model/From/SampleListModel.cpp b/GUI/Model/From/SampleListModel.cpp
index 8ebab50dc1b..3e33ad7a948 100644
--- a/GUI/Model/From/SampleListModel.cpp
+++ b/GUI/Model/From/SampleListModel.cpp
@@ -18,7 +18,7 @@
 #include "GUI/Model/Sample/MultiLayerItem.h"
 #include "GUI/Model/Sample/SampleModel.h"
 #include "GUI/Util/String.h"
-#include "GUI/View/Main/PyImportAssistant.h"
+#include "GUI/View/Project/PyImportAssistant.h"
 #include "Sample/Multilayer/MultiLayer.h"
 #include <QFontMetrics>
 #include <QIcon>
diff --git a/GUI/View/Main/ActionManager.cpp b/GUI/View/Main/ActionManager.cpp
index b7c4e194008..281e2caf96d 100644
--- a/GUI/View/Main/ActionManager.cpp
+++ b/GUI/View/Main/ActionManager.cpp
@@ -23,7 +23,7 @@
 #include "GUI/View/Main/AboutDialog.h"
 #include "GUI/View/Main/MainWindow.h"
 #include "GUI/View/Project/ProjectManager.h"
-#include "GUI/View/Main/PyImportAssistant.h"
+#include "GUI/View/Project/PyImportAssistant.h"
 #include "GUI/View/SampleDesigner/SampleView.h"
 #include "GUI/View/Tool/mainwindow_constants.h"
 #include <QDesktopServices>
diff --git a/GUI/View/Main/PyImportAssistant.cpp b/GUI/View/Project/PyImportAssistant.cpp
similarity index 98%
rename from GUI/View/Main/PyImportAssistant.cpp
rename to GUI/View/Project/PyImportAssistant.cpp
index 01d18ba1ea7..c6ad7abf8dc 100644
--- a/GUI/View/Main/PyImportAssistant.cpp
+++ b/GUI/View/Project/PyImportAssistant.cpp
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Main/PyImportAssistant.cpp
+//! @file      GUI/View/Project/PyImportAssistant.cpp
 //! @brief     Implements class PyImportAssistant
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -14,7 +14,7 @@
 
 #ifdef BORNAGAIN_PYTHON
 
-#include "GUI/View/Main/PyImportAssistant.h"
+#include "GUI/View/Project/PyImportAssistant.h"
 #include "BABuild.h"
 #include "Base/Util/Assert.h"
 #include "Base/Util/SysUtils.h"
diff --git a/GUI/View/Main/PyImportAssistant.h b/GUI/View/Project/PyImportAssistant.h
similarity index 84%
rename from GUI/View/Main/PyImportAssistant.h
rename to GUI/View/Project/PyImportAssistant.h
index 03aef4efa75..84f456a42b5 100644
--- a/GUI/View/Main/PyImportAssistant.h
+++ b/GUI/View/Project/PyImportAssistant.h
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Main/PyImportAssistant.h
+//! @file      GUI/View/Project/PyImportAssistant.h
 //! @brief     Implements class PyImportAssistant
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -12,8 +12,8 @@
 //
 //  ************************************************************************************************
 
-#ifndef BORNAGAIN_GUI_VIEW_MAIN_PYIMPORTASSISTANT_H
-#define BORNAGAIN_GUI_VIEW_MAIN_PYIMPORTASSISTANT_H
+#ifndef BORNAGAIN_GUI_VIEW_PROJECT_PYIMPORTASSISTANT_H
+#define BORNAGAIN_GUI_VIEW_PROJECT_PYIMPORTASSISTANT_H
 
 #ifdef BORNAGAIN_PYTHON
 
@@ -40,4 +40,4 @@ MultiLayerItem* populateModels(SampleModel* sampleModel, MaterialModel* material
 
 #endif // BORNAGAIN_PYTHON
 
-#endif // BORNAGAIN_GUI_VIEW_MAIN_PYIMPORTASSISTANT_H
+#endif // BORNAGAIN_GUI_VIEW_PROJECT_PYIMPORTASSISTANT_H
-- 
GitLab