diff --git a/GUI/Model/Project/AutosaveController.cpp b/GUI/Model/Project/AutosaveController.cpp index 270f1034f125fc0220d129289c036f2637b9934b..c5408b8db3efd8d012608a9f91f85fede386c057 100644 --- a/GUI/Model/Project/AutosaveController.cpp +++ b/GUI/Model/Project/AutosaveController.cpp @@ -15,7 +15,7 @@ #include "GUI/Model/Project/AutosaveController.h" #include "GUI/Model/Project/ProjectDocument.h" #include "GUI/Model/Project/ProjectUtil.h" -#include "GUI/Support/Thread/UpdateTimer.h" +#include "GUI/Model/Type/UpdateTimer.h" #include <QDir> AutosaveController::AutosaveController(QObject* parent, int update_interval_msec) diff --git a/GUI/Support/Thread/UpdateTimer.cpp b/GUI/Model/Type/UpdateTimer.cpp similarity index 94% rename from GUI/Support/Thread/UpdateTimer.cpp rename to GUI/Model/Type/UpdateTimer.cpp index 92c549a719841e90639fdb9a6884250f8828aa14..410a958ff3fae670199cd9f937710dd9ff8b7844 100644 --- a/GUI/Support/Thread/UpdateTimer.cpp +++ b/GUI/Model/Type/UpdateTimer.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file GUI/Support/Thread/UpdateTimer.cpp +//! @file GUI/Model/Type/UpdateTimer.cpp //! @brief Implements class UpdateTimer. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "GUI/Support/Thread/UpdateTimer.h" +#include "GUI/Model/Type/UpdateTimer.h" UpdateTimer::UpdateTimer(int timerInterval, QObject* parent) : QObject(parent) diff --git a/GUI/Support/Thread/UpdateTimer.h b/GUI/Model/Type/UpdateTimer.h similarity index 86% rename from GUI/Support/Thread/UpdateTimer.h rename to GUI/Model/Type/UpdateTimer.h index dd7b09744417e0d6f307d95d35702aa53b292f59..c9990516e5189a5c66401263d83e01c5edc73485 100644 --- a/GUI/Support/Thread/UpdateTimer.h +++ b/GUI/Model/Type/UpdateTimer.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file GUI/Support/Thread/UpdateTimer.h +//! @file GUI/Model/Type/UpdateTimer.h //! @brief Defines class UpdateTimer. //! //! @homepage http://www.bornagainproject.org @@ -12,8 +12,8 @@ // // ************************************************************************************************ -#ifndef BORNAGAIN_GUI_SUPPORT_THREAD_UPDATETIMER_H -#define BORNAGAIN_GUI_SUPPORT_THREAD_UPDATETIMER_H +#ifndef BORNAGAIN_GUI_MODEL_TYPE_UPDATETIMER_H +#define BORNAGAIN_GUI_MODEL_TYPE_UPDATETIMER_H #include <QObject> #include <QTimer> @@ -48,4 +48,4 @@ private: QTimer* m_timer; }; -#endif // BORNAGAIN_GUI_SUPPORT_THREAD_UPDATETIMER_H +#endif // BORNAGAIN_GUI_MODEL_TYPE_UPDATETIMER_H diff --git a/GUI/View/Sample/ScriptPanel.cpp b/GUI/View/Sample/ScriptPanel.cpp index f8920a272da07d6ab79f23ec280eef48cd393cfa..39490120348bd4f09ca81ba52911e8a5c7a2a724 100644 --- a/GUI/View/Sample/ScriptPanel.cpp +++ b/GUI/View/Sample/ScriptPanel.cpp @@ -15,7 +15,7 @@ #include "GUI/View/Sample/ScriptPanel.h" #include "GUI/Model/Sample/SampleItem.h" #include "GUI/Model/ToCore/SampleToCore.h" -#include "GUI/Support/Thread/UpdateTimer.h" +#include "GUI/Model/Type/UpdateTimer.h" #include "GUI/View/Base/Fontsize.h" #include "GUI/View/Info/CautionSign.h" #include "GUI/View/Info/PythonSyntaxHighlighter.h" diff --git a/Tests/Unit/GUI/TestUpdateTimer.cpp b/Tests/Unit/GUI/TestUpdateTimer.cpp index bb2edb64e27912ab225cade1f253875a780b1819..a22de25a4435212c573ed6b14a6887195926628f 100644 --- a/Tests/Unit/GUI/TestUpdateTimer.cpp +++ b/Tests/Unit/GUI/TestUpdateTimer.cpp @@ -1,4 +1,4 @@ -#include "GUI/Support/Thread/UpdateTimer.h" +#include "GUI/Model/Type/UpdateTimer.h" #include "Tests/GTestWrapper/google_test.h" #include <QSignalSpy>