Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockManager.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 134
c2dd2bf92ece
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Helpviewer.AdBlock.AdBlockManager</h1> 23 <h1>eric5.Helpviewer.AdBlock.AdBlockManager</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#109;&#97;&#110;&#97;&#103;&#101;&#114;. 25 Module implementing the AdBlock manager.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#AdBlockManager">AdBlockManager</a></td> 34 <td><a href="#AdBlockManager">AdBlockManager</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#109;&#97;&#110;&#97;&#103;&#101;&#114;.</td> 35 <td>Class implementing the AdBlock manager.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="AdBlockManager" ID="AdBlockManager"></a> 43 <a NAME="AdBlockManager" ID="AdBlockManager"></a>
44 <h2>AdBlockManager</h2> 44 <h2>AdBlockManager</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#109;&#97;&#110;&#97;&#103;&#101;&#114;. 46 Class implementing the AdBlock manager.
47 </p><h4>Signals</h4> 47 </p><h4>Signals</h4>
48 <dl> 48 <dl>
49 <dt>rulesChanged()</dt> 49 <dt>rulesChanged()</dt>
50 <dd> 50 <dd>
51 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#115;&#111;&#109;&#101; &#114;&#117;&#108;&#101; &#104;&#97;&#115; &#99;&#104;&#97;&#110;&#103;&#101;&#100; 51 emitted after some rule has changed
52 </dd> 52 </dd>
53 </dl> 53 </dl>
54 <h3>Derived from</h3> 54 <h3>Derived from</h3>
55 QObject 55 QObject
56 <h3>Class Attributes</h3> 56 <h3>Class Attributes</h3>
59 </table> 59 </table>
60 <h3>Methods</h3> 60 <h3>Methods</h3>
61 <table> 61 <table>
62 <tr> 62 <tr>
63 <td><a href="#AdBlockManager.__init__">AdBlockManager</a></td> 63 <td><a href="#AdBlockManager.__init__">AdBlockManager</a></td>
64 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 64 <td>Constructor</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#AdBlockManager.__customSubscriptionLocation">__customSubscriptionLocation</a></td> 66 <td><a href="#AdBlockManager.__customSubscriptionLocation">__customSubscriptionLocation</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#116;&#104;&#101; &#112;&#97;&#116;&#104; &#102;&#111;&#114; &#99;&#117;&#115;&#116;&#111;&#109; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115;.</td> 67 <td>Private method to generate the path for custom subscriptions.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#AdBlockManager.__customSubscriptionUrl">__customSubscriptionUrl</a></td> 69 <td><a href="#AdBlockManager.__customSubscriptionUrl">__customSubscriptionUrl</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#116;&#104;&#101; &#85;&#82;&#76; &#102;&#111;&#114; &#99;&#117;&#115;&#116;&#111;&#109; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115;.</td> 70 <td>Private method to generate the URL for custom subscriptions.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#AdBlockManager.addSubscription">addSubscription</a></td> 72 <td><a href="#AdBlockManager.addSubscription">addSubscription</a></td>
73 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97;&#110; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;.</td> 73 <td>Public method to add an AdBlock subscription.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#AdBlockManager.close">close</a></td> 75 <td><a href="#AdBlockManager.close">close</a></td>
76 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#111;&#112;&#101;&#110; &#115;&#101;&#97;&#114;&#99;&#104; &#101;&#110;&#103;&#105;&#110;&#101;&#115; &#109;&#97;&#110;&#97;&#103;&#101;&#114;.</td> 76 <td>Public method to close the open search engines manager.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#AdBlockManager.customRules">customRules</a></td> 78 <td><a href="#AdBlockManager.customRules">customRules</a></td>
79 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#99;&#117;&#115;&#116;&#111;&#109; &#114;&#117;&#108;&#101;&#115;.</td> 79 <td>Public method to get a subscription for custom rules.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#AdBlockManager.isEnabled">isEnabled</a></td> 81 <td><a href="#AdBlockManager.isEnabled">isEnabled</a></td>
82 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#98;&#108;&#111;&#99;&#107;&#105;&#110;&#103; &#97;&#100;&#115; &#105;&#115; &#101;&#110;&#97;&#98;&#108;&#101;&#100;.</td> 82 <td>Public method to check, if blocking ads is enabled.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#AdBlockManager.load">load</a></td> 84 <td><a href="#AdBlockManager.load">load</a></td>
85 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#108;&#111;&#97;&#100; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115;.</td> 85 <td>Public method to load the AdBlock subscriptions.</td>
86 </tr><tr> 86 </tr><tr>
87 <td><a href="#AdBlockManager.network">network</a></td> 87 <td><a href="#AdBlockManager.network">network</a></td>
88 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;&#116;w&#111;&#114;&#107; &#98;&#108;&#111;&#99;&#107; &#111;&#98;&#106;&#101;&#99;&#116;.</td> 88 <td>Public method to get a reference to the network block object.</td>
89 </tr><tr> 89 </tr><tr>
90 <td><a href="#AdBlockManager.page">page</a></td> 90 <td><a href="#AdBlockManager.page">page</a></td>
91 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#103;&#101; &#98;&#108;&#111;&#99;&#107; &#111;&#98;&#106;&#101;&#99;&#116;.</td> 91 <td>Public method to get a reference to the page block object.</td>
92 </tr><tr> 92 </tr><tr>
93 <td><a href="#AdBlockManager.removeSubscription">removeSubscription</a></td> 93 <td><a href="#AdBlockManager.removeSubscription">removeSubscription</a></td>
94 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97;&#110; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;.</td> 94 <td>Public method to remove an AdBlock subscription.</td>
95 </tr><tr> 95 </tr><tr>
96 <td><a href="#AdBlockManager.save">save</a></td> 96 <td><a href="#AdBlockManager.save">save</a></td>
97 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115;.</td> 97 <td>Public method to save the AdBlock subscriptions.</td>
98 </tr><tr> 98 </tr><tr>
99 <td><a href="#AdBlockManager.setEnabled">setEnabled</a></td> 99 <td><a href="#AdBlockManager.setEnabled">setEnabled</a></td>
100 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#101;.</td> 100 <td>Public slot to set the enabled state.</td>
101 </tr><tr> 101 </tr><tr>
102 <td><a href="#AdBlockManager.showDialog">showDialog</a></td> 102 <td><a href="#AdBlockManager.showDialog">showDialog</a></td>
103 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#109;&#97;&#110;&#97;&#103;&#101;&#109;&#101;&#110;&#116; &#100;&#105;&#97;&#108;&#111;&#103;.</td> 103 <td>Public slot to show the AdBlock subscription management dialog.</td>
104 </tr><tr> 104 </tr><tr>
105 <td><a href="#AdBlockManager.subscriptions">subscriptions</a></td> 105 <td><a href="#AdBlockManager.subscriptions">subscriptions</a></td>
106 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97;&#108;&#108; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115;.</td> 106 <td>Public method to get all subscriptions.</td>
107 </tr> 107 </tr>
108 </table> 108 </table>
109 <a NAME="AdBlockManager.__init__" ID="AdBlockManager.__init__"></a> 109 <a NAME="AdBlockManager.__init__" ID="AdBlockManager.__init__"></a>
110 <h4>AdBlockManager (Constructor)</h4> 110 <h4>AdBlockManager (Constructor)</h4>
111 <b>AdBlockManager</b>(<i>parent = None</i>) 111 <b>AdBlockManager</b>(<i>parent = None</i>)
112 <p> 112 <p>
113 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 113 Constructor
114 </p><dl> 114 </p><dl>
115 <dt><i>parent</i></dt> 115 <dt><i>parent</i></dt>
116 <dd> 116 <dd>
117 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;) 117 reference to the parent object (QObject)
118 </dd> 118 </dd>
119 </dl><a NAME="AdBlockManager.__customSubscriptionLocation" ID="AdBlockManager.__customSubscriptionLocation"></a> 119 </dl><a NAME="AdBlockManager.__customSubscriptionLocation" ID="AdBlockManager.__customSubscriptionLocation"></a>
120 <h4>AdBlockManager.__customSubscriptionLocation</h4> 120 <h4>AdBlockManager.__customSubscriptionLocation</h4>
121 <b>__customSubscriptionLocation</b>(<i></i>) 121 <b>__customSubscriptionLocation</b>(<i></i>)
122 <p> 122 <p>
123 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#116;&#104;&#101; &#112;&#97;&#116;&#104; &#102;&#111;&#114; &#99;&#117;&#115;&#116;&#111;&#109; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115;. 123 Private method to generate the path for custom subscriptions.
124 </p><dl> 124 </p><dl>
125 <dt>Returns:</dt> 125 <dt>Returns:</dt>
126 <dd> 126 <dd>
127 &#85;&#82;&#76; &#102;&#111;&#114; &#99;&#117;&#115;&#116;&#111;&#109; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115; (&#81;&#85;&#114;&#108;) 127 URL for custom subscriptions (QUrl)
128 </dd> 128 </dd>
129 </dl><a NAME="AdBlockManager.__customSubscriptionUrl" ID="AdBlockManager.__customSubscriptionUrl"></a> 129 </dl><a NAME="AdBlockManager.__customSubscriptionUrl" ID="AdBlockManager.__customSubscriptionUrl"></a>
130 <h4>AdBlockManager.__customSubscriptionUrl</h4> 130 <h4>AdBlockManager.__customSubscriptionUrl</h4>
131 <b>__customSubscriptionUrl</b>(<i></i>) 131 <b>__customSubscriptionUrl</b>(<i></i>)
132 <p> 132 <p>
133 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#116;&#104;&#101; &#85;&#82;&#76; &#102;&#111;&#114; &#99;&#117;&#115;&#116;&#111;&#109; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115;. 133 Private method to generate the URL for custom subscriptions.
134 </p><dl> 134 </p><dl>
135 <dt>Returns:</dt> 135 <dt>Returns:</dt>
136 <dd> 136 <dd>
137 &#85;&#82;&#76; &#102;&#111;&#114; &#99;&#117;&#115;&#116;&#111;&#109; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115; (&#81;&#85;&#114;&#108;) 137 URL for custom subscriptions (QUrl)
138 </dd> 138 </dd>
139 </dl><a NAME="AdBlockManager.addSubscription" ID="AdBlockManager.addSubscription"></a> 139 </dl><a NAME="AdBlockManager.addSubscription" ID="AdBlockManager.addSubscription"></a>
140 <h4>AdBlockManager.addSubscription</h4> 140 <h4>AdBlockManager.addSubscription</h4>
141 <b>addSubscription</b>(<i>subscription</i>) 141 <b>addSubscription</b>(<i>subscription</i>)
142 <p> 142 <p>
143 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97;&#110; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;. 143 Public method to add an AdBlock subscription.
144 </p><dl> 144 </p><dl>
145 <dt><i>subscription</i></dt> 145 <dt><i>subscription</i></dt>
146 <dd> 146 <dd>
147 &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#116;&#111; &#98;&#101; &#97;&#100;&#100;&#101;&#100; (&#65;&#100;&#66;&#108;&#111;&#99;&#107;&#83;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;) 147 AdBlock subscription to be added (AdBlockSubscription)
148 </dd> 148 </dd>
149 </dl><a NAME="AdBlockManager.close" ID="AdBlockManager.close"></a> 149 </dl><a NAME="AdBlockManager.close" ID="AdBlockManager.close"></a>
150 <h4>AdBlockManager.close</h4> 150 <h4>AdBlockManager.close</h4>
151 <b>close</b>(<i></i>) 151 <b>close</b>(<i></i>)
152 <p> 152 <p>
153 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#111;&#112;&#101;&#110; &#115;&#101;&#97;&#114;&#99;&#104; &#101;&#110;&#103;&#105;&#110;&#101;&#115; &#109;&#97;&#110;&#97;&#103;&#101;&#114;. 153 Public method to close the open search engines manager.
154 </p><a NAME="AdBlockManager.customRules" ID="AdBlockManager.customRules"></a> 154 </p><a NAME="AdBlockManager.customRules" ID="AdBlockManager.customRules"></a>
155 <h4>AdBlockManager.customRules</h4> 155 <h4>AdBlockManager.customRules</h4>
156 <b>customRules</b>(<i></i>) 156 <b>customRules</b>(<i></i>)
157 <p> 157 <p>
158 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#99;&#117;&#115;&#116;&#111;&#109; &#114;&#117;&#108;&#101;&#115;. 158 Public method to get a subscription for custom rules.
159 </p><dl> 159 </p><dl>
160 <dt>Returns:</dt> 160 <dt>Returns:</dt>
161 <dd> 161 <dd>
162 &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#111;&#98;&#106;&#101;&#99;&#116; &#102;&#111;&#114; &#99;&#117;&#115;&#116;&#111;&#109; &#114;&#117;&#108;&#101;&#115; (&#65;&#100;&#66;&#108;&#111;&#99;&#107;&#83;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;) 162 subscription object for custom rules (AdBlockSubscription)
163 </dd> 163 </dd>
164 </dl><a NAME="AdBlockManager.isEnabled" ID="AdBlockManager.isEnabled"></a> 164 </dl><a NAME="AdBlockManager.isEnabled" ID="AdBlockManager.isEnabled"></a>
165 <h4>AdBlockManager.isEnabled</h4> 165 <h4>AdBlockManager.isEnabled</h4>
166 <b>isEnabled</b>(<i></i>) 166 <b>isEnabled</b>(<i></i>)
167 <p> 167 <p>
168 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#98;&#108;&#111;&#99;&#107;&#105;&#110;&#103; &#97;&#100;&#115; &#105;&#115; &#101;&#110;&#97;&#98;&#108;&#101;&#100;. 168 Public method to check, if blocking ads is enabled.
169 </p><dl> 169 </p><dl>
170 <dt>Returns:</dt> 170 <dt>Returns:</dt>
171 <dd> 171 <dd>
172 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 172 flag indicating the enabled state (boolean)
173 </dd> 173 </dd>
174 </dl><a NAME="AdBlockManager.load" ID="AdBlockManager.load"></a> 174 </dl><a NAME="AdBlockManager.load" ID="AdBlockManager.load"></a>
175 <h4>AdBlockManager.load</h4> 175 <h4>AdBlockManager.load</h4>
176 <b>load</b>(<i></i>) 176 <b>load</b>(<i></i>)
177 <p> 177 <p>
178 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#108;&#111;&#97;&#100; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115;. 178 Public method to load the AdBlock subscriptions.
179 </p><a NAME="AdBlockManager.network" ID="AdBlockManager.network"></a> 179 </p><a NAME="AdBlockManager.network" ID="AdBlockManager.network"></a>
180 <h4>AdBlockManager.network</h4> 180 <h4>AdBlockManager.network</h4>
181 <b>network</b>(<i></i>) 181 <b>network</b>(<i></i>)
182 <p> 182 <p>
183 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;&#116;w&#111;&#114;&#107; &#98;&#108;&#111;&#99;&#107; &#111;&#98;&#106;&#101;&#99;&#116;. 183 Public method to get a reference to the network block object.
184 </p><dl> 184 </p><dl>
185 <dt>Returns:</dt> 185 <dt>Returns:</dt>
186 <dd> 186 <dd>
187 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;&#116;w&#111;&#114;&#107; &#98;&#108;&#111;&#99;&#107; &#111;&#98;&#106;&#101;&#99;&#116; (&#65;&#100;&#66;&#108;&#111;&#99;&#107;&#78;&#101;&#116;w&#111;&#114;&#107;) 187 reference to the network block object (AdBlockNetwork)
188 </dd> 188 </dd>
189 </dl><a NAME="AdBlockManager.page" ID="AdBlockManager.page"></a> 189 </dl><a NAME="AdBlockManager.page" ID="AdBlockManager.page"></a>
190 <h4>AdBlockManager.page</h4> 190 <h4>AdBlockManager.page</h4>
191 <b>page</b>(<i></i>) 191 <b>page</b>(<i></i>)
192 <p> 192 <p>
193 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#103;&#101; &#98;&#108;&#111;&#99;&#107; &#111;&#98;&#106;&#101;&#99;&#116;. 193 Public method to get a reference to the page block object.
194 </p><dl> 194 </p><dl>
195 <dt>Returns:</dt> 195 <dt>Returns:</dt>
196 <dd> 196 <dd>
197 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#103;&#101; &#98;&#108;&#111;&#99;&#107; &#111;&#98;&#106;&#101;&#99;&#116; (&#65;&#100;&#66;&#108;&#111;&#99;&#107;&#80;&#97;&#103;&#101;) 197 reference to the page block object (AdBlockPage)
198 </dd> 198 </dd>
199 </dl><a NAME="AdBlockManager.removeSubscription" ID="AdBlockManager.removeSubscription"></a> 199 </dl><a NAME="AdBlockManager.removeSubscription" ID="AdBlockManager.removeSubscription"></a>
200 <h4>AdBlockManager.removeSubscription</h4> 200 <h4>AdBlockManager.removeSubscription</h4>
201 <b>removeSubscription</b>(<i>subscription</i>) 201 <b>removeSubscription</b>(<i>subscription</i>)
202 <p> 202 <p>
203 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97;&#110; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;. 203 Public method to remove an AdBlock subscription.
204 </p><dl> 204 </p><dl>
205 <dt><i>subscription</i></dt> 205 <dt><i>subscription</i></dt>
206 <dd> 206 <dd>
207 &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#116;&#111; &#98;&#101; &#114;&#101;&#109;&#111;v&#101;&#100; (&#65;&#100;&#66;&#108;&#111;&#99;&#107;&#83;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;) 207 AdBlock subscription to be removed (AdBlockSubscription)
208 </dd> 208 </dd>
209 </dl><a NAME="AdBlockManager.save" ID="AdBlockManager.save"></a> 209 </dl><a NAME="AdBlockManager.save" ID="AdBlockManager.save"></a>
210 <h4>AdBlockManager.save</h4> 210 <h4>AdBlockManager.save</h4>
211 <b>save</b>(<i></i>) 211 <b>save</b>(<i></i>)
212 <p> 212 <p>
213 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115;. 213 Public method to save the AdBlock subscriptions.
214 </p><a NAME="AdBlockManager.setEnabled" ID="AdBlockManager.setEnabled"></a> 214 </p><a NAME="AdBlockManager.setEnabled" ID="AdBlockManager.setEnabled"></a>
215 <h4>AdBlockManager.setEnabled</h4> 215 <h4>AdBlockManager.setEnabled</h4>
216 <b>setEnabled</b>(<i>enabled</i>) 216 <b>setEnabled</b>(<i>enabled</i>)
217 <p> 217 <p>
218 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#101;. 218 Public slot to set the enabled state.
219 </p><dl> 219 </p><dl>
220 <dt><i>enabled</i></dt> 220 <dt><i>enabled</i></dt>
221 <dd> 221 <dd>
222 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 222 flag indicating the enabled state (boolean)
223 </dd> 223 </dd>
224 </dl><a NAME="AdBlockManager.showDialog" ID="AdBlockManager.showDialog"></a> 224 </dl><a NAME="AdBlockManager.showDialog" ID="AdBlockManager.showDialog"></a>
225 <h4>AdBlockManager.showDialog</h4> 225 <h4>AdBlockManager.showDialog</h4>
226 <b>showDialog</b>(<i></i>) 226 <b>showDialog</b>(<i></i>)
227 <p> 227 <p>
228 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#109;&#97;&#110;&#97;&#103;&#101;&#109;&#101;&#110;&#116; &#100;&#105;&#97;&#108;&#111;&#103;. 228 Public slot to show the AdBlock subscription management dialog.
229 </p><a NAME="AdBlockManager.subscriptions" ID="AdBlockManager.subscriptions"></a> 229 </p><a NAME="AdBlockManager.subscriptions" ID="AdBlockManager.subscriptions"></a>
230 <h4>AdBlockManager.subscriptions</h4> 230 <h4>AdBlockManager.subscriptions</h4>
231 <b>subscriptions</b>(<i></i>) 231 <b>subscriptions</b>(<i></i>)
232 <p> 232 <p>
233 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97;&#108;&#108; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115;. 233 Public method to get all subscriptions.
234 </p><dl> 234 </p><dl>
235 <dt>Returns:</dt> 235 <dt>Returns:</dt>
236 <dd> 236 <dd>
237 &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#65;&#100;&#66;&#108;&#111;&#99;&#107;&#83;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;) 237 list of subscriptions (list of AdBlockSubscription)
238 </dd> 238 </dd>
239 </dl> 239 </dl>
240 <div align="right"><a href="#top">Up</a></div> 240 <div align="right"><a href="#top">Up</a></div>
241 <hr /> 241 <hr />
242 </body></html> 242 </body></html>

eric ide

mercurial