CalcState: Add setStatus()/getStatus()
This commit is contained in:
parent
fcbc8dcdc3
commit
a5b95d71b8
@ -175,6 +175,8 @@ struct CALCULATE_LIBRARY_API CalcState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CalcState &set(State s) { m_status = s; return *this; }
|
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; }
|
CalcState &setDesc(QString s) { m_desc = s; return *this; }
|
||||||
|
|
||||||
void setAllowedTimeRange(QTime const &from, QTime const &until) {
|
void setAllowedTimeRange(QTime const &from, QTime const &until) {
|
||||||
|
Loading…
Reference in New Issue
Block a user