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

changeset 1972
5341662d6cfb
parent 1963
9c5b3235abf9
child 2367
78f6c8193d37
equal deleted inserted replaced
1971:a68d78702c98 1972:5341662d6cfb
65 <td>Private slot to create the context menu.</td> 65 <td>Private slot to create the context menu.</td>
66 </tr><tr> 66 </tr><tr>
67 <td><a href="#AdBlockIcon.__enableAdBlock">__enableAdBlock</a></td> 67 <td><a href="#AdBlockIcon.__enableAdBlock">__enableAdBlock</a></td>
68 <td>Private slot to enable or disable AdBlock.</td> 68 <td>Private slot to enable or disable AdBlock.</td>
69 </tr><tr> 69 </tr><tr>
70 <td><a href="#AdBlockIcon.__isCurrentHostExcepted">__isCurrentHostExcepted</a></td>
71 <td>Private method to check, if the host of the current browser is excepted.</td>
72 </tr><tr>
73 <td><a href="#AdBlockIcon.__setException">__setException</a></td>
74 <td>Private slot to add or remove the current host from the list of exceptions.</td>
75 </tr><tr>
70 <td><a href="#AdBlockIcon.__showMenu">__showMenu</a></td> 76 <td><a href="#AdBlockIcon.__showMenu">__showMenu</a></td>
71 <td>Private slot to show the context menu.</td> 77 <td>Private slot to show the context menu.</td>
78 </tr><tr>
79 <td><a href="#AdBlockIcon.currentChanged">currentChanged</a></td>
80 <td>Public slot to handle a change of the current browser tab.</td>
72 </tr><tr> 81 </tr><tr>
73 <td><a href="#AdBlockIcon.menuAction">menuAction</a></td> 82 <td><a href="#AdBlockIcon.menuAction">menuAction</a></td>
74 <td>Public method to get a reference to the menu action.</td> 83 <td>Public method to get a reference to the menu action.</td>
75 </tr><tr> 84 </tr><tr>
76 <td><a href="#AdBlockIcon.setEnabled">setEnabled</a></td> 85 <td><a href="#AdBlockIcon.setEnabled">setEnabled</a></td>
77 <td>Public slot to set the enabled state.</td> 86 <td>Public slot to set the enabled state.</td>
87 </tr><tr>
88 <td><a href="#AdBlockIcon.sourceChanged">sourceChanged</a></td>
89 <td>Public slot to handle URL changes.</td>
78 </tr> 90 </tr>
79 </table> 91 </table>
80 <h3>Static Methods</h3> 92 <h3>Static Methods</h3>
81 <table> 93 <table>
82 <tr><td>None</td></tr> 94 <tr><td>None</td></tr>
104 </dl><a NAME="AdBlockIcon.__enableAdBlock" ID="AdBlockIcon.__enableAdBlock"></a> 116 </dl><a NAME="AdBlockIcon.__enableAdBlock" ID="AdBlockIcon.__enableAdBlock"></a>
105 <h4>AdBlockIcon.__enableAdBlock</h4> 117 <h4>AdBlockIcon.__enableAdBlock</h4>
106 <b>__enableAdBlock</b>(<i></i>) 118 <b>__enableAdBlock</b>(<i></i>)
107 <p> 119 <p>
108 Private slot to enable or disable AdBlock. 120 Private slot to enable or disable AdBlock.
121 </p><a NAME="AdBlockIcon.__isCurrentHostExcepted" ID="AdBlockIcon.__isCurrentHostExcepted"></a>
122 <h4>AdBlockIcon.__isCurrentHostExcepted</h4>
123 <b>__isCurrentHostExcepted</b>(<i></i>)
124 <p>
125 Private method to check, if the host of the current browser is excepted.
126 </p><dl>
127 <dt>Returns:</dt>
128 <dd>
129 flag indicating an exception (boolean)
130 </dd>
131 </dl><a NAME="AdBlockIcon.__setException" ID="AdBlockIcon.__setException"></a>
132 <h4>AdBlockIcon.__setException</h4>
133 <b>__setException</b>(<i></i>)
134 <p>
135 Private slot to add or remove the current host from the list of exceptions.
109 </p><a NAME="AdBlockIcon.__showMenu" ID="AdBlockIcon.__showMenu"></a> 136 </p><a NAME="AdBlockIcon.__showMenu" ID="AdBlockIcon.__showMenu"></a>
110 <h4>AdBlockIcon.__showMenu</h4> 137 <h4>AdBlockIcon.__showMenu</h4>
111 <b>__showMenu</b>(<i>pos</i>) 138 <b>__showMenu</b>(<i>pos</i>)
112 <p> 139 <p>
113 Private slot to show the context menu. 140 Private slot to show the context menu.
114 </p><dl> 141 </p><dl>
115 <dt><i>pos</i></dt> 142 <dt><i>pos</i></dt>
116 <dd> 143 <dd>
117 position the context menu should be shown (QPoint) 144 position the context menu should be shown (QPoint)
118 </dd> 145 </dd>
119 </dl><a NAME="AdBlockIcon.menuAction" ID="AdBlockIcon.menuAction"></a> 146 </dl><a NAME="AdBlockIcon.currentChanged" ID="AdBlockIcon.currentChanged"></a>
147 <h4>AdBlockIcon.currentChanged</h4>
148 <b>currentChanged</b>(<i></i>)
149 <p>
150 Public slot to handle a change of the current browser tab.
151 </p><a NAME="AdBlockIcon.menuAction" ID="AdBlockIcon.menuAction"></a>
120 <h4>AdBlockIcon.menuAction</h4> 152 <h4>AdBlockIcon.menuAction</h4>
121 <b>menuAction</b>(<i></i>) 153 <b>menuAction</b>(<i></i>)
122 <p> 154 <p>
123 Public method to get a reference to the menu action. 155 Public method to get a reference to the menu action.
124 </p><dl> 156 </p><dl>
134 </p><dl> 166 </p><dl>
135 <dt><i>enabled</i></dt> 167 <dt><i>enabled</i></dt>
136 <dd> 168 <dd>
137 enabled state (boolean) 169 enabled state (boolean)
138 </dd> 170 </dd>
171 </dl><a NAME="AdBlockIcon.sourceChanged" ID="AdBlockIcon.sourceChanged"></a>
172 <h4>AdBlockIcon.sourceChanged</h4>
173 <b>sourceChanged</b>(<i>browser, url</i>)
174 <p>
175 Public slot to handle URL changes.
176 </p><dl>
177 <dt><i>browser</i></dt>
178 <dd>
179 reference to the browser (HelpBrowser)
180 </dd><dt><i>url</i></dt>
181 <dd>
182 new URL (QUrl)
183 </dd>
139 </dl> 184 </dl>
140 <div align="right"><a href="#top">Up</a></div> 185 <div align="right"><a href="#top">Up</a></div>
141 <hr /> 186 <hr />
142 </body></html> 187 </body></html>

eric ide

mercurial