From 2000aae44f626d26876c3a60301e38554b30327e Mon Sep 17 00:00:00 2001 From: Joachim Wuttke <j.wuttke@fz-juelich.de> Date: Sat, 10 Feb 2024 10:01:29 +0100 Subject: [PATCH] rename GUI/View/Instrument/InstrumentsQListView. -> GUI/View/List/ --- GUI/View/{Instrument => List}/InstrumentsQListView.cpp | 4 ++-- GUI/View/{Instrument => List}/InstrumentsQListView.h | 8 ++++---- GUI/View/Views/InstrumentView.cpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename GUI/View/{Instrument => List}/InstrumentsQListView.cpp (98%) rename GUI/View/{Instrument => List}/InstrumentsQListView.h (85%) diff --git a/GUI/View/Instrument/InstrumentsQListView.cpp b/GUI/View/List/InstrumentsQListView.cpp similarity index 98% rename from GUI/View/Instrument/InstrumentsQListView.cpp rename to GUI/View/List/InstrumentsQListView.cpp index a73a84bc8ac..bd168035dd2 100644 --- a/GUI/View/Instrument/InstrumentsQListView.cpp +++ b/GUI/View/List/InstrumentsQListView.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file GUI/View/Instrument/InstrumentsQListView.cpp +//! @file GUI/View/List/InstrumentsQListView.cpp //! @brief Implements class InstrumentsQListView. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "GUI/View/Instrument/InstrumentsQListView.h" +#include "GUI/View/List/InstrumentsQListView.h" #include "Base/Util/Assert.h" #include "GUI/Model/Device/InstrumentItems.h" #include "GUI/Model/Device/InstrumentXML.h" diff --git a/GUI/View/Instrument/InstrumentsQListView.h b/GUI/View/List/InstrumentsQListView.h similarity index 85% rename from GUI/View/Instrument/InstrumentsQListView.h rename to GUI/View/List/InstrumentsQListView.h index bfd4c86ee1a..4a3e5b75657 100644 --- a/GUI/View/Instrument/InstrumentsQListView.h +++ b/GUI/View/List/InstrumentsQListView.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file GUI/View/Instrument/InstrumentsQListView.h +//! @file GUI/View/List/InstrumentsQListView.h //! @brief Defines class InstrumentsQListView. //! //! @homepage http://www.bornagainproject.org @@ -12,8 +12,8 @@ // // ************************************************************************************************ -#ifndef BORNAGAIN_GUI_VIEW_INSTRUMENT_INSTRUMENTSQLISTVIEW_H -#define BORNAGAIN_GUI_VIEW_INSTRUMENT_INSTRUMENTSQLISTVIEW_H +#ifndef BORNAGAIN_GUI_VIEW_LIST_INSTRUMENTSQLISTVIEW_H +#define BORNAGAIN_GUI_VIEW_LIST_INSTRUMENTSQLISTVIEW_H #include <QListView> @@ -59,4 +59,4 @@ private: static QString m_xml_dir; }; -#endif // BORNAGAIN_GUI_VIEW_INSTRUMENT_INSTRUMENTSQLISTVIEW_H +#endif // BORNAGAIN_GUI_VIEW_LIST_INSTRUMENTSQLISTVIEW_H diff --git a/GUI/View/Views/InstrumentView.cpp b/GUI/View/Views/InstrumentView.cpp index 4a77e4763d2..ee652cc1927 100644 --- a/GUI/View/Views/InstrumentView.cpp +++ b/GUI/View/Views/InstrumentView.cpp @@ -19,10 +19,10 @@ #include "GUI/Model/Project/ProjectDocument.h" #include "GUI/View/Instrument/DepthprobeInstrumentEditor.h" #include "GUI/View/Instrument/GISASInstrumentEditor.h" -#include "GUI/View/Instrument/InstrumentsQListView.h" #include "GUI/View/Instrument/OffspecInstrumentEditor.h" #include "GUI/View/Instrument/SpecularInstrumentEditor.h" #include "GUI/View/Layout/ApplicationSettings.h" +#include "GUI/View/List/InstrumentsQListView.h" #include "GUI/View/Setup/FrameActions.h" #include "GUI/View/Widget/GroupBoxes.h" #include "GUI/View/Widget/StyledToolbar.h" -- GitLab