summaryrefslogtreecommitdiff
path: root/src/rulesDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rulesDialog.h')
-rw-r--r--src/rulesDialog.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/rulesDialog.h b/src/rulesDialog.h
deleted file mode 100644
index 7e74dc2..0000000
--- a/src/rulesDialog.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef RULESDIALOG_H
-#define RULESDIALOG_H
-
-#include <QDialog>
-
-#include "entry.h"
-#include "rule.h"
-#include "ui_rulesDialog.h"
-
-// show the list of rules associated with an entry
-class RulesDialog : public QDialog {
- Q_OBJECT
-
- public:
- RulesDialog(const Entry &entry);
- void drawRules();
-
- private:
- Ui::rulesDialog ui;
- int entry_id;
- QList<Rule> rules;
- QList<Rule> deleted_rules;
-
- void updateRulesList();
-
- private slots:
- void addRule();
- void deleteRule(int i);
- void accept();
-};
-
-#endif