diff options
Diffstat (limited to 'lib/urlfilter/filterleaf.h')
-rw-r--r-- | lib/urlfilter/filterleaf.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/urlfilter/filterleaf.h b/lib/urlfilter/filterleaf.h index 2c552a6..a565f92 100644 --- a/lib/urlfilter/filterleaf.h +++ b/lib/urlfilter/filterleaf.h @@ -24,6 +24,16 @@ public: Redirect }; + enum UrlMatchType { + InvalidMatch, + RegularExpressionMatch, + StringContains, + StringStartsWith, + StringEndsWith, + StringEquals, + DomainMatch + }; + FilterLeaf(FilterLeaf &&other); FilterLeaf &operator=(FilterLeaf &&other); ~FilterLeaf() = default; @@ -35,16 +45,6 @@ public: const QString redirect() const; protected: - enum UrlMatchType { - InvalidMatch, - RegularExpressionMatch, - StringContains, - StringStartsWith, - StringEndsWith, - StringEquals, - DomainMatch - }; - explicit FilterLeaf() = default; // rule matching |