54 Class implementing the AdBlock rule. |
54 Class implementing the AdBlock rule. |
55 """ |
55 """ |
56 def __init__(self, filter="", subscription=None): |
56 def __init__(self, filter="", subscription=None): |
57 """ |
57 """ |
58 Constructor |
58 Constructor |
|
59 |
|
60 @param filter filter string of the rule (string) |
|
61 @param subscription reference to the subscription object |
|
62 (AdBlockSubscription) |
59 """ |
63 """ |
60 self.__subscription = subscription |
64 self.__subscription = subscription |
61 |
65 |
62 self.__regExp = QRegExp() |
66 self.__regExp = QRegExp() |
63 self.__options = [] |
67 self.__options = [] |