summaryrefslogtreecommitdiff
path: root/src/entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entry.h')
-rw-r--r--src/entry.h48
1 files changed, 23 insertions, 25 deletions
diff --git a/src/entry.h b/src/entry.h
index 32cfd1a..8f632f3 100644
--- a/src/entry.h
+++ b/src/entry.h
@@ -2,35 +2,33 @@
#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;
+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
- );
+ 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