41 <hr /><hr /> |
41 <hr /><hr /> |
42 <a NAME="TabnannyPlugin" ID="TabnannyPlugin"></a> |
42 <a NAME="TabnannyPlugin" ID="TabnannyPlugin"></a> |
43 <h2>TabnannyPlugin</h2> |
43 <h2>TabnannyPlugin</h2> |
44 <p> |
44 <p> |
45 Class implementing the Tabnanny plugin. |
45 Class implementing the Tabnanny plugin. |
46 </p> |
46 </p><h3>Signals</h3> |
|
47 <dl> |
|
48 <dt>indentChecked(str, bool, str, str)</dt> |
|
49 <dd> |
|
50 emited when the indent |
|
51 check was done. |
|
52 </dd> |
|
53 </dl> |
47 <h3>Derived from</h3> |
54 <h3>Derived from</h3> |
48 QObject |
55 QObject |
49 <h3>Class Attributes</h3> |
56 <h3>Class Attributes</h3> |
50 <table> |
57 <table> |
51 <tr><td>None</td></tr> |
58 <tr><td>None</td></tr> |
90 <td><a href="#TabnannyPlugin.activate">activate</a></td> |
97 <td><a href="#TabnannyPlugin.activate">activate</a></td> |
91 <td>Public method to activate this plugin.</td> |
98 <td>Public method to activate this plugin.</td> |
92 </tr><tr> |
99 </tr><tr> |
93 <td><a href="#TabnannyPlugin.deactivate">deactivate</a></td> |
100 <td><a href="#TabnannyPlugin.deactivate">deactivate</a></td> |
94 <td>Public method to deactivate this plugin.</td> |
101 <td>Public method to deactivate this plugin.</td> |
|
102 </tr><tr> |
|
103 <td><a href="#TabnannyPlugin.indentCheck">indentCheck</a></td> |
|
104 <td>Method to prepare a style check on one Python source file in another task.</td> |
95 </tr> |
105 </tr> |
96 </table> |
106 </table> |
97 <h3>Static Methods</h3> |
107 <h3>Static Methods</h3> |
98 <table> |
108 <table> |
99 <tr><td>None</td></tr> |
109 <tr><td>None</td></tr> |
207 </dl><a NAME="TabnannyPlugin.deactivate" ID="TabnannyPlugin.deactivate"></a> |
217 </dl><a NAME="TabnannyPlugin.deactivate" ID="TabnannyPlugin.deactivate"></a> |
208 <h4>TabnannyPlugin.deactivate</h4> |
218 <h4>TabnannyPlugin.deactivate</h4> |
209 <b>deactivate</b>(<i></i>) |
219 <b>deactivate</b>(<i></i>) |
210 <p> |
220 <p> |
211 Public method to deactivate this plugin. |
221 Public method to deactivate this plugin. |
212 </p> |
222 </p><a NAME="TabnannyPlugin.indentCheck" ID="TabnannyPlugin.indentCheck"></a> |
|
223 <h4>TabnannyPlugin.indentCheck</h4> |
|
224 <b>indentCheck</b>(<i>lang, filename, source</i>) |
|
225 <p> |
|
226 Method to prepare a style check on one Python source file in another |
|
227 task. |
|
228 </p><dl> |
|
229 <dt><i>lang</i></dt> |
|
230 <dd> |
|
231 language of the file or None to determine by internal |
|
232 algorithm (str or None) |
|
233 </dd><dt><i>filename</i></dt> |
|
234 <dd> |
|
235 source filename (string) |
|
236 </dd><dt><i>source</i></dt> |
|
237 <dd> |
|
238 string containing the code to check (string) |
|
239 </dd> |
|
240 </dl> |
213 <div align="right"><a href="#top">Up</a></div> |
241 <div align="right"><a href="#top">Up</a></div> |
214 <hr /> |
242 <hr /> |
215 </body></html> |
243 </body></html> |