diff --git a/GUI/View/Project/PyImportAssistant.cpp b/GUI/View/Manager/PyImportAssistant.cpp similarity index 98% rename from GUI/View/Project/PyImportAssistant.cpp rename to GUI/View/Manager/PyImportAssistant.cpp index c8a6ff804df23413acb4f578809b12a1378e380d..d01525ad7183765dc8f82216654de3b247a9453d 100644 --- a/GUI/View/Project/PyImportAssistant.cpp +++ b/GUI/View/Manager/PyImportAssistant.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file GUI/View/Project/PyImportAssistant.cpp +//! @file GUI/View/Manager/PyImportAssistant.cpp //! @brief Implements class PyImportAssistant. //! //! @homepage http://www.bornagainproject.org @@ -14,7 +14,7 @@ #ifdef BORNAGAIN_PYTHON -#include "GUI/View/Project/PyImportAssistant.h" +#include "GUI/View/Manager/PyImportAssistant.h" #include "BABuild.h" #include "Base/Util/Assert.h" #include "Base/Util/SysUtil.h" @@ -160,6 +160,7 @@ QString getPySampleFunctionName(const QString& snippet) } // namespace + std::unique_ptr<MultiLayer> PyImportAssistant::importMultiLayer() { auto fname = fnameToOpen(); diff --git a/GUI/View/Project/PyImportAssistant.h b/GUI/View/Manager/PyImportAssistant.h similarity index 83% rename from GUI/View/Project/PyImportAssistant.h rename to GUI/View/Manager/PyImportAssistant.h index 4b7f9554e97da806c941f60b81234590fbb13526..b31bbac9d7ca28ff1177a242da2f769861d7c308 100644 --- a/GUI/View/Project/PyImportAssistant.h +++ b/GUI/View/Manager/PyImportAssistant.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file GUI/View/Project/PyImportAssistant.h +//! @file GUI/View/Manager/PyImportAssistant.h //! @brief Implements class PyImportAssistant. //! //! @homepage http://www.bornagainproject.org @@ -12,8 +12,8 @@ // // ************************************************************************************************ -#ifndef BORNAGAIN_GUI_VIEW_PROJECT_PYIMPORTASSISTANT_H -#define BORNAGAIN_GUI_VIEW_PROJECT_PYIMPORTASSISTANT_H +#ifndef BORNAGAIN_GUI_VIEW_MANAGER_PYIMPORTASSISTANT_H +#define BORNAGAIN_GUI_VIEW_MANAGER_PYIMPORTASSISTANT_H #ifdef BORNAGAIN_PYTHON @@ -38,4 +38,4 @@ SampleItem* itemizeSample(const MultiLayer& sample); #endif // BORNAGAIN_PYTHON -#endif // BORNAGAIN_GUI_VIEW_PROJECT_PYIMPORTASSISTANT_H +#endif // BORNAGAIN_GUI_VIEW_MANAGER_PYIMPORTASSISTANT_H diff --git a/GUI/View/SampleDesigner/SampleListModel.cpp b/GUI/View/SampleDesigner/SampleListModel.cpp index ff0c4ad00f2c0911b4067f65bc6e36b30f68fa09..8997608ef93be08eeb9cbbc5cd30ce4a51c7c41a 100644 --- a/GUI/View/SampleDesigner/SampleListModel.cpp +++ b/GUI/View/SampleDesigner/SampleListModel.cpp @@ -20,7 +20,7 @@ #include "GUI/Model/Sample/SampleModel.h" #include "GUI/Support/Util/String.h" #include "GUI/View/Info/DetailedMessageBox.h" -#include "GUI/View/Project/PyImportAssistant.h" +#include "GUI/View/Manager/PyImportAssistant.h" #include "Sample/Multilayer/MultiLayer.h" #include <QIcon>