summaryrefslogtreecommitdiff
path: root/src/rule.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rule.h')
-rw-r--r--src/rule.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/rule.h b/src/rule.h
deleted file mode 100644
index cf9abfe..0000000
--- a/src/rule.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef RULE_H
-#define RULE_H
-
-#include <QDateTime>
-#include <QString>
-
-struct Rule {
- enum When { before, after };
- int id;
- int entry_id;
- When when;
- QDateTime date;
- QString color; // consider making this a QColor instead
- QString highlight; // see color comment
-
- Rule(
- int id,
- int entry_id,
- When when,
- QDateTime date = QDateTime::currentDateTime(),
- QString color = "",
- QString highlight = ""
- );
-
- static QList<Rule> rules;
-};
-
-#endif