Minor: add constructor taking some parameters..
This commit is contained in:
parent
43b8a8d3bf
commit
52ad1c3ba8
@ -16,6 +16,12 @@ public:
|
|||||||
: m_time_from(QTime())
|
: m_time_from(QTime())
|
||||||
, m_time_until(QTime()) {}
|
, m_time_until(QTime()) {}
|
||||||
|
|
||||||
|
TariffTimeRange(QTime const& from, QTime const &until)
|
||||||
|
: m_time_from(from)
|
||||||
|
, m_time_until(until) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void setTimeRange(QTime const& from, QTime const &until) {
|
void setTimeRange(QTime const& from, QTime const &until) {
|
||||||
m_time_from = from;
|
m_time_from = from;
|
||||||
m_time_until = until;
|
m_time_until = until;
|
||||||
|
Loading…
Reference in New Issue
Block a user