92 <td>Public slot used to check the project files for code style.</td> |
92 <td>Public slot used to check the project files for code style.</td> |
93 </tr><tr> |
93 </tr><tr> |
94 <td><a href="#CodeStyleCheckerPlugin.__projectShowMenu">__projectShowMenu</a></td> |
94 <td><a href="#CodeStyleCheckerPlugin.__projectShowMenu">__projectShowMenu</a></td> |
95 <td>Private slot called, when the the project menu or a submenu is about to be shown.</td> |
95 <td>Private slot called, when the the project menu or a submenu is about to be shown.</td> |
96 </tr><tr> |
96 </tr><tr> |
|
97 <td><a href="#CodeStyleCheckerPlugin.__serviceError">__serviceError</a></td> |
|
98 <td>Private slot handling service errors.</td> |
|
99 </tr><tr> |
97 <td><a href="#CodeStyleCheckerPlugin.__translateStyleCheck">__translateStyleCheck</a></td> |
100 <td><a href="#CodeStyleCheckerPlugin.__translateStyleCheck">__translateStyleCheck</a></td> |
98 <td>Privat slot called after perfoming a style check on one file.</td> |
101 <td>Privat slot called after perfoming a style check on one file.</td> |
99 </tr><tr> |
102 </tr><tr> |
100 <td><a href="#CodeStyleCheckerPlugin.activate">activate</a></td> |
103 <td><a href="#CodeStyleCheckerPlugin.activate">activate</a></td> |
101 <td>Public method to activate this plugin.</td> |
104 <td>Public method to activate this plugin.</td> |
102 </tr><tr> |
105 </tr><tr> |
103 <td><a href="#CodeStyleCheckerPlugin.deactivate">deactivate</a></td> |
106 <td><a href="#CodeStyleCheckerPlugin.deactivate">deactivate</a></td> |
104 <td>Public method to deactivate this plugin.</td> |
107 <td>Public method to deactivate this plugin.</td> |
|
108 </tr><tr> |
|
109 <td><a href="#CodeStyleCheckerPlugin.serviceErrorPy2">serviceErrorPy2</a></td> |
|
110 <td>Public method handling service errors for Python 2.</td> |
|
111 </tr><tr> |
|
112 <td><a href="#CodeStyleCheckerPlugin.serviceErrorPy3">serviceErrorPy3</a></td> |
|
113 <td>Public method handling service errors for Python 2.</td> |
105 </tr><tr> |
114 </tr><tr> |
106 <td><a href="#CodeStyleCheckerPlugin.styleCheck">styleCheck</a></td> |
115 <td><a href="#CodeStyleCheckerPlugin.styleCheck">styleCheck</a></td> |
107 <td>Method to prepare a style check on one Python source file in another task.</td> |
116 <td>Method to prepare a style check on one Python source file in another task.</td> |
108 </tr> |
117 </tr> |
109 </table> |
118 </table> |
206 name of the menu to be shown (string) |
215 name of the menu to be shown (string) |
207 </dd><dt><i>menu</i></dt> |
216 </dd><dt><i>menu</i></dt> |
208 <dd> |
217 <dd> |
209 reference to the menu (QMenu) |
218 reference to the menu (QMenu) |
210 </dd> |
219 </dd> |
|
220 </dl><a NAME="CodeStyleCheckerPlugin.__serviceError" ID="CodeStyleCheckerPlugin.__serviceError"></a> |
|
221 <h4>CodeStyleCheckerPlugin.__serviceError</h4> |
|
222 <b>__serviceError</b>(<i>fn, msg</i>) |
|
223 <p> |
|
224 Private slot handling service errors. |
|
225 </p><dl> |
|
226 <dt><i>fn</i></dt> |
|
227 <dd> |
|
228 file name (string) |
|
229 </dd><dt><i>msg</i></dt> |
|
230 <dd> |
|
231 message text (string) |
|
232 </dd> |
211 </dl><a NAME="CodeStyleCheckerPlugin.__translateStyleCheck" ID="CodeStyleCheckerPlugin.__translateStyleCheck"></a> |
233 </dl><a NAME="CodeStyleCheckerPlugin.__translateStyleCheck" ID="CodeStyleCheckerPlugin.__translateStyleCheck"></a> |
212 <h4>CodeStyleCheckerPlugin.__translateStyleCheck</h4> |
234 <h4>CodeStyleCheckerPlugin.__translateStyleCheck</h4> |
213 <b>__translateStyleCheck</b>(<i>fn, codeStyleCheckerStats, results</i>) |
235 <b>__translateStyleCheck</b>(<i>fn, codeStyleCheckerStats, results</i>) |
214 <p> |
236 <p> |
215 Privat slot called after perfoming a style check on one file. |
237 Privat slot called after perfoming a style check on one file. |
239 </dl><a NAME="CodeStyleCheckerPlugin.deactivate" ID="CodeStyleCheckerPlugin.deactivate"></a> |
261 </dl><a NAME="CodeStyleCheckerPlugin.deactivate" ID="CodeStyleCheckerPlugin.deactivate"></a> |
240 <h4>CodeStyleCheckerPlugin.deactivate</h4> |
262 <h4>CodeStyleCheckerPlugin.deactivate</h4> |
241 <b>deactivate</b>(<i></i>) |
263 <b>deactivate</b>(<i></i>) |
242 <p> |
264 <p> |
243 Public method to deactivate this plugin. |
265 Public method to deactivate this plugin. |
244 </p><a NAME="CodeStyleCheckerPlugin.styleCheck" ID="CodeStyleCheckerPlugin.styleCheck"></a> |
266 </p><a NAME="CodeStyleCheckerPlugin.serviceErrorPy2" ID="CodeStyleCheckerPlugin.serviceErrorPy2"></a> |
|
267 <h4>CodeStyleCheckerPlugin.serviceErrorPy2</h4> |
|
268 <b>serviceErrorPy2</b>(<i>fx, lang, fn, msg</i>) |
|
269 <p> |
|
270 Public method handling service errors for Python 2. |
|
271 </p><dl> |
|
272 <dt><i>fx</i></dt> |
|
273 <dd> |
|
274 service name (string) |
|
275 </dd><dt><i>lang</i></dt> |
|
276 <dd> |
|
277 language (string) |
|
278 </dd><dt><i>fn</i></dt> |
|
279 <dd> |
|
280 file name (string) |
|
281 </dd><dt><i>msg</i></dt> |
|
282 <dd> |
|
283 message text (string) |
|
284 </dd> |
|
285 </dl><a NAME="CodeStyleCheckerPlugin.serviceErrorPy3" ID="CodeStyleCheckerPlugin.serviceErrorPy3"></a> |
|
286 <h4>CodeStyleCheckerPlugin.serviceErrorPy3</h4> |
|
287 <b>serviceErrorPy3</b>(<i>fx, lang, fn, msg</i>) |
|
288 <p> |
|
289 Public method handling service errors for Python 2. |
|
290 </p><dl> |
|
291 <dt><i>fx</i></dt> |
|
292 <dd> |
|
293 service name (string) |
|
294 </dd><dt><i>lang</i></dt> |
|
295 <dd> |
|
296 language (string) |
|
297 </dd><dt><i>fn</i></dt> |
|
298 <dd> |
|
299 file name (string) |
|
300 </dd><dt><i>msg</i></dt> |
|
301 <dd> |
|
302 message text (string) |
|
303 </dd> |
|
304 </dl><a NAME="CodeStyleCheckerPlugin.styleCheck" ID="CodeStyleCheckerPlugin.styleCheck"></a> |
245 <h4>CodeStyleCheckerPlugin.styleCheck</h4> |
305 <h4>CodeStyleCheckerPlugin.styleCheck</h4> |
246 <b>styleCheck</b>(<i>lang, filename, source, args</i>) |
306 <b>styleCheck</b>(<i>lang, filename, source, args</i>) |
247 <p> |
307 <p> |
248 Method to prepare a style check on one Python source file in another |
308 Method to prepare a style check on one Python source file in another |
249 task. |
309 task. |