aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/blockerrule.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webengine/blockerrule.h')
-rw-r--r--src/webengine/blockerrule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webengine/blockerrule.h b/src/webengine/blockerrule.h
index 9d73004..ddbd1c9 100644
--- a/src/webengine/blockerrule.h
+++ b/src/webengine/blockerrule.h
@@ -12,12 +12,16 @@ public:
explicit BlockerRule(QString rule, QObject *parent = 0);
bool match(const QUrl &url);
+ bool isValid();
+ bool isException();
signals:
public slots:
private:
+ bool m_valid;
+ bool m_exception;
QRegularExpression ruleExpression;
};