102 <dd> |
102 <dd> |
103 reference to the parent widget |
103 reference to the parent widget |
104 </dd> |
104 </dd> |
105 </dl><a NAME="AdBlockIcon.__createMenu" ID="AdBlockIcon.__createMenu"></a> |
105 </dl><a NAME="AdBlockIcon.__createMenu" ID="AdBlockIcon.__createMenu"></a> |
106 <h4>AdBlockIcon.__createMenu</h4> |
106 <h4>AdBlockIcon.__createMenu</h4> |
107 <b>__createMenu</b>(<i>menu=None</i>) |
107 <b>__createMenu</b>(<i>menu</i>) |
108 <p> |
108 <p> |
109 Private slot to create the context menu. |
109 Private slot to create the context menu. |
110 </p><dl> |
110 </p><dl> |
111 <dt><i>menu</i> (QMenu)</dt> |
111 <dt><i>menu</i> (QMenu)</dt> |
112 <dd> |
112 <dd> |
113 parent menu |
113 parent menu |
114 </dd> |
114 </dd> |
115 </dl><a NAME="AdBlockIcon.__enableAdBlock" ID="AdBlockIcon.__enableAdBlock"></a> |
115 </dl><a NAME="AdBlockIcon.__enableAdBlock" ID="AdBlockIcon.__enableAdBlock"></a> |
116 <h4>AdBlockIcon.__enableAdBlock</h4> |
116 <h4>AdBlockIcon.__enableAdBlock</h4> |
117 <b>__enableAdBlock</b>(<i></i>) |
117 <b>__enableAdBlock</b>(<i>act</i>) |
118 <p> |
118 <p> |
119 Private slot to enable or disable AdBlock. |
119 Private slot to enable or disable AdBlock. |
120 </p><a NAME="AdBlockIcon.__isCurrentHostExcepted" ID="AdBlockIcon.__isCurrentHostExcepted"></a> |
120 </p><dl> |
|
121 <dt><i>act</i> (QAction)</dt> |
|
122 <dd> |
|
123 reference to the action |
|
124 </dd> |
|
125 </dl><a NAME="AdBlockIcon.__isCurrentHostExcepted" ID="AdBlockIcon.__isCurrentHostExcepted"></a> |
121 <h4>AdBlockIcon.__isCurrentHostExcepted</h4> |
126 <h4>AdBlockIcon.__isCurrentHostExcepted</h4> |
122 <b>__isCurrentHostExcepted</b>(<i></i>) |
127 <b>__isCurrentHostExcepted</b>(<i></i>) |
123 <p> |
128 <p> |
124 Private method to check, if the host of the current browser is |
129 Private method to check, if the host of the current browser is |
125 excepted. |
130 excepted. |
133 <dd> |
138 <dd> |
134 bool |
139 bool |
135 </dd> |
140 </dd> |
136 </dl><a NAME="AdBlockIcon.__setException" ID="AdBlockIcon.__setException"></a> |
141 </dl><a NAME="AdBlockIcon.__setException" ID="AdBlockIcon.__setException"></a> |
137 <h4>AdBlockIcon.__setException</h4> |
142 <h4>AdBlockIcon.__setException</h4> |
138 <b>__setException</b>(<i></i>) |
143 <b>__setException</b>(<i>act</i>) |
139 <p> |
144 <p> |
140 Private slot to add or remove the current host from the list of |
145 Private slot to add or remove the current host from the list of |
141 exceptions. |
146 exceptions. |
142 </p><a NAME="AdBlockIcon.__showMenu" ID="AdBlockIcon.__showMenu"></a> |
147 </p><dl> |
|
148 <dt><i>act</i> (QAction)</dt> |
|
149 <dd> |
|
150 referenced to the action |
|
151 </dd> |
|
152 </dl><a NAME="AdBlockIcon.__showMenu" ID="AdBlockIcon.__showMenu"></a> |
143 <h4>AdBlockIcon.__showMenu</h4> |
153 <h4>AdBlockIcon.__showMenu</h4> |
144 <b>__showMenu</b>(<i>pos</i>) |
154 <b>__showMenu</b>(<i>pos</i>) |
145 <p> |
155 <p> |
146 Private slot to show the context menu. |
156 Private slot to show the context menu. |
147 </p><dl> |
157 </p><dl> |