##// END OF EJS Templates
Handles multi-selection when displaying the menu of the variable widget...
Handles multi-selection when displaying the menu of the variable widget Signal used will be changed to pass a list of variables

File last commit:

r190:c3e91a6962e0
r287:3a544b0581a5
Show More
TimeController.cpp
26 lines | 596 B | text/x-c | CppLexer
/ core / src / Time / TimeController.cpp
#include "Time/TimeController.h"
Q_LOGGING_CATEGORY(LOG_TimeController, "TimeController")
struct TimeController::TimeControllerPrivate {
SqpDateTime m_DateTime;
};
TimeController::TimeController(QObject *parent)
: QObject{parent}, impl{spimpl::make_unique_impl<TimeControllerPrivate>()}
{
qCDebug(LOG_TimeController()) << tr("TimeController construction");
}
SqpDateTime TimeController::dateTime() const noexcept
{
return impl->m_DateTime;
}
void TimeController::onTimeToUpdate(SqpDateTime dateTime)
{
impl->m_DateTime = dateTime;
emit timeUpdated(dateTime);
}