summaryrefslogtreecommitdiff
path: root/src/entry.h
blob: 32cfd1a6b87c3fc98b084cff68969369f11fbb5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef ENTRY_H
#define ENTRY_H

#include <QDateTime>
#include <QHBoxLayout>
#include <QString>
#include <QUrl>

class Entry : public QHBoxLayout {
	public:
		int id;
		int parent_id;
		QString desc;
		QDateTime due;
		QString due_alt;
		QUrl link;
		QString color; // consider making this a QColor instead
		QString highlight; // see color comment
		bool done;
		bool hidden;

		Entry(
				int id,
				int parent_id,
				QString desc,
				QDateTime due = QDateTime(),
				QString due_alt = "",
				QUrl link = QUrl(),
				QString color = "",
				QString highlight = "",
				bool done = false,
				bool hidden = false
			 );
};

#endif