From fe49ff81d2153dabde9dd87896704113ff278106 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Tue, 9 Nov 2021 08:45:31 +0100 Subject: [PATCH] mv PropertyRepeater to where it is used; auto-regenerate bindings --- GUI/View/Compare/FitComparisonController.cpp | 2 +- GUI/View/Compare/FitComparisonViewController.cpp | 2 +- GUI/View/{Intensity => Compare}/PropertyRepeater.cpp | 4 ++-- GUI/View/{Intensity => Compare}/PropertyRepeater.h | 8 ++++---- Tests/Unit/GUI/TestPropertyRepeater.cpp | 2 +- auto/Doc/man/bornagain.1 | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) rename GUI/View/{Intensity => Compare}/PropertyRepeater.cpp (96%) rename GUI/View/{Intensity => Compare}/PropertyRepeater.h (86%) diff --git a/GUI/View/Compare/FitComparisonController.cpp b/GUI/View/Compare/FitComparisonController.cpp index 2c9a7856758..45361259a75 100644 --- a/GUI/View/Compare/FitComparisonController.cpp +++ b/GUI/View/Compare/FitComparisonController.cpp @@ -19,7 +19,7 @@ #include "GUI/Model/Data/RealDataItem.h" #include "GUI/Model/Data/SpecularDataItem.h" #include "GUI/Model/Job/JobItem.h" -#include "GUI/View/Intensity/PropertyRepeater.h" +#include "GUI/View/Compare/PropertyRepeater.h" namespace { // different limits on relative difference plot are required diff --git a/GUI/View/Compare/FitComparisonViewController.cpp b/GUI/View/Compare/FitComparisonViewController.cpp index f97a4c377f0..17d58e5243c 100644 --- a/GUI/View/Compare/FitComparisonViewController.cpp +++ b/GUI/View/Compare/FitComparisonViewController.cpp @@ -21,7 +21,7 @@ #include "GUI/Model/Data/SpecularDataItem.h" #include "GUI/Model/Job/JobItem.h" #include "GUI/Util/ComboProperty.h" -#include "GUI/View/Intensity/PropertyRepeater.h" +#include "GUI/View/Compare/PropertyRepeater.h" namespace { diff --git a/GUI/View/Intensity/PropertyRepeater.cpp b/GUI/View/Compare/PropertyRepeater.cpp similarity index 96% rename from GUI/View/Intensity/PropertyRepeater.cpp rename to GUI/View/Compare/PropertyRepeater.cpp index dbbbf5f516b..e1c97b0f255 100644 --- a/GUI/View/Intensity/PropertyRepeater.cpp +++ b/GUI/View/Compare/PropertyRepeater.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file GUI/View/Intensity/PropertyRepeater.cpp +//! @file GUI/View/Compare/PropertyRepeater.cpp //! @brief Implements class PropertyRepeater //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "GUI/View/Intensity/PropertyRepeater.h" +#include "GUI/View/Compare/PropertyRepeater.h" #include "GUI/Model/Data/IntensityDataItem.h" PropertyRepeater::PropertyRepeater(QObject* parent, bool repeat_child_properties) diff --git a/GUI/View/Intensity/PropertyRepeater.h b/GUI/View/Compare/PropertyRepeater.h similarity index 86% rename from GUI/View/Intensity/PropertyRepeater.h rename to GUI/View/Compare/PropertyRepeater.h index 98b085e8095..cb8530390e5 100644 --- a/GUI/View/Intensity/PropertyRepeater.h +++ b/GUI/View/Compare/PropertyRepeater.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file GUI/View/Intensity/PropertyRepeater.h +//! @file GUI/View/Compare/PropertyRepeater.h //! @brief Defines class PropertyRepeater //! //! @homepage http://www.bornagainproject.org @@ -12,8 +12,8 @@ // // ************************************************************************************************ -#ifndef BORNAGAIN_GUI_VIEW_INTENSITY_PROPERTYREPEATER_H -#define BORNAGAIN_GUI_VIEW_INTENSITY_PROPERTYREPEATER_H +#ifndef BORNAGAIN_GUI_VIEW_COMPARE_PROPERTYREPEATER_H +#define BORNAGAIN_GUI_VIEW_COMPARE_PROPERTYREPEATER_H #include <QMap> #include <QObject> @@ -46,4 +46,4 @@ private: bool m_repeat_child_properties; }; -#endif // BORNAGAIN_GUI_VIEW_INTENSITY_PROPERTYREPEATER_H +#endif // BORNAGAIN_GUI_VIEW_COMPARE_PROPERTYREPEATER_H diff --git a/Tests/Unit/GUI/TestPropertyRepeater.cpp b/Tests/Unit/GUI/TestPropertyRepeater.cpp index e23a8067db7..2e643a6871f 100644 --- a/Tests/Unit/GUI/TestPropertyRepeater.cpp +++ b/Tests/Unit/GUI/TestPropertyRepeater.cpp @@ -1,7 +1,7 @@ #include "GUI/Model/Data/AxesItems.h" #include "GUI/Model/Data/IntensityDataItem.h" #include "GUI/Model/Session/SessionModel.h" -#include "GUI/View/Intensity/PropertyRepeater.h" +#include "GUI/View/Compare/PropertyRepeater.h" #include "Tests/GTestWrapper/google_test.h" namespace { diff --git a/auto/Doc/man/bornagain.1 b/auto/Doc/man/bornagain.1 index 6e5f37b2b49..3a43708bef5 100644 --- a/auto/Doc/man/bornagain.1 +++ b/auto/Doc/man/bornagain.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "BORNAGAIN 1" -.TH BORNAGAIN 1 "2021-03-23" "perl v5.32.1" "BornAgain manual" +.TH BORNAGAIN 1 "2021-03-09" "perl v5.32.1" "BornAgain manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l -- GitLab