CalcState: Add setStatus()/getStatus()

This commit is contained in:
Gerhard Hoffmann 2024-04-08 13:52:53 +02:00
parent fcbc8dcdc3
commit a5b95d71b8

View File

@ -175,6 +175,8 @@ struct CALCULATE_LIBRARY_API CalcState {
}
CalcState &set(State s) { m_status = s; return *this; }
CalcState &setStatus(State s) { return set(s); }
State getStatus() const { return m_status; }
CalcState &setDesc(QString s) { m_desc = s; return *this; }
void setAllowedTimeRange(QTime const &from, QTime const &until) {