blob: 8f632f35dd78671ed9c061e3c2e9678940f94e7a (
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
|
#ifndef ENTRY_H
#define ENTRY_H
#include <QDateTime>
#include <QString>
#include <QUrl>
struct Entry {
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
|