diff --git a/core/include/Variable/Variable.h b/core/include/Variable/Variable.h index c6688c0..f654f78 100644 --- a/core/include/Variable/Variable.h +++ b/core/include/Variable/Variable.h @@ -42,7 +42,7 @@ public slots: void onAddDataSeries(std::shared_ptr dataSeries) noexcept; signals: - void dataCacheUpdated(); + void updated(); private: diff --git a/core/include/Variable/VariableController.h b/core/include/Variable/VariableController.h index 603c1e9..2da1749 100644 --- a/core/include/Variable/VariableController.h +++ b/core/include/Variable/VariableController.h @@ -30,14 +30,13 @@ public: void setTimeController(TimeController *timeController) noexcept; - /// Request the data loading of the variable whithin dateTime - void requestDataLoading(std::shared_ptr variable, const SqpDateTime &dateTime); - signals: /// Signal emitted when a variable has been created void variableCreated(std::shared_ptr variable); public slots: + /// Request the data loading of the variable whithin dateTime + void onRequestDataLoading(std::shared_ptr variable, const SqpDateTime &dateTime); /** * Creates a new variable and adds it to the model * @param name the name of the new variable diff --git a/core/src/Variable/Variable.cpp b/core/src/Variable/Variable.cpp index ff099c6..899ca31 100644 --- a/core/src/Variable/Variable.cpp +++ b/core/src/Variable/Variable.cpp @@ -67,7 +67,7 @@ void Variable::onAddDataSeries(std::shared_ptr dataSeries) noexcept if (impl->m_DataSeries) { impl->m_DataSeries->merge(dataSeries.get()); - emit dataCacheUpdated(); + emit updated(); } } diff --git a/core/src/Variable/VariableController.cpp b/core/src/Variable/VariableController.cpp index 90d1368..355cee0 100644 --- a/core/src/Variable/VariableController.cpp +++ b/core/src/Variable/VariableController.cpp @@ -9,7 +9,6 @@ #include