summaryrefslogtreecommitdiff
path: root/src/entry.h
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-07-23 20:37:48 -0400
committerLouie S <louie@example.com>2024-07-23 20:37:48 -0400
commitc34930425fadfc4083067b9306159cd8e8ecf6c6 (patch)
treed9c09709f1b9cf7e9bcf098d48c7036044098a7d /src/entry.h
parentf820f439910ef0243e6b9aded293190341b058ac (diff)
Rearrange source file locations
Diffstat (limited to 'src/entry.h')
-rw-r--r--src/entry.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/entry.h b/src/entry.h
deleted file mode 100644
index 294df7b..0000000
--- a/src/entry.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#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
- );
-
- static QList<Entry> entries;
-
- // function for sorting algorithm
- static bool compare(Entry a, Entry b);
-};
-
-#endif