projects
/
badge
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
dialog search
[badge]
/
timetable.h
1
#ifndef TIMETABLE_H
2
#define TIMETABLE_H
3
4
#include <QDataStream>
5
#include <QDate>
6
#include <QTime>
7
8
9
class TimeTable
10
{
11
private:
12
bool isWrong;
13
public:
14
enum {WRONG, NO_WRONG};
15
QDate day;
16
QTime entrance;
17
QTime firstPause;
18
QTime endFirstPause;
19
QTime secondPause;
20
QTime endSecondPause;
21
QTime exit;
22
23
24
TimeTable() {isWrong = false;}
25
int wrong();
26
void setWrong(bool wrong);
27
28
};
29
30
QDataStream &operator<<(QDataStream &out, const TimeTable &timetable);
31
QDataStream &operator>>(QDataStream &in, TimeTable &timetable);
32
33
34
35
#endif // TIMETABLE_H