diff options
Diffstat (limited to 'src/entry.h')
-rw-r--r-- | src/entry.h | 39 |
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 |