Starting working on non working days

This commit is contained in:
Aurélie Delhaie
2022-10-16 14:49:10 +02:00
parent 63d1ca329f
commit 6a44c4afd9
6 changed files with 83 additions and 125 deletions

View File

@@ -21,6 +21,7 @@ private:
QTime end;
QVector<BreakPoint*> breaks;
bool validate;
bool notWorking;
public:
Day();
@@ -30,12 +31,14 @@ public:
void set_start(QTime value);
void set_end(QTime value);
void set_validate(bool);
void set_working(bool);
void setBreaks(QVector<BreakPoint*>);
QTime get_start();
QTime get_end();
QVector<BreakPoint*> getBreaks();
bool get_validate();
bool not_working();
float get_time_break();
void update(Day *);
QJsonObject to_json();