103 <td>Public method to reload the API information.</td> |
103 <td>Public method to reload the API information.</td> |
104 </tr> |
104 </tr> |
105 </table> |
105 </table> |
106 <a NAME="APIs.__init__" ID="APIs.__init__"></a> |
106 <a NAME="APIs.__init__" ID="APIs.__init__"></a> |
107 <h4>APIs (Constructor)</h4> |
107 <h4>APIs (Constructor)</h4> |
108 <b>APIs</b>(<i>language, forPreparation = False, parent = None</i>) |
108 <b>APIs</b>(<i>language, forPreparation=False, parent=None</i>) |
109 <p> |
109 <p> |
110 Constructor |
110 Constructor |
111 </p><dl> |
111 </p><dl> |
112 <dt><i>language</i></dt> |
112 <dt><i>language</i></dt> |
113 <dd> |
113 <dd> |
175 <dd> |
175 <dd> |
176 list of installed API files (list of strings) |
176 list of installed API files (list of strings) |
177 </dd> |
177 </dd> |
178 </dl><a NAME="APIs.prepareAPIs" ID="APIs.prepareAPIs"></a> |
178 </dl><a NAME="APIs.prepareAPIs" ID="APIs.prepareAPIs"></a> |
179 <h4>APIs.prepareAPIs</h4> |
179 <h4>APIs.prepareAPIs</h4> |
180 <b>prepareAPIs</b>(<i>ondemand = False, rawList = None</i>) |
180 <b>prepareAPIs</b>(<i>ondemand=False, rawList=None</i>) |
181 <p> |
181 <p> |
182 Public method to prepare the APIs if necessary. |
182 Public method to prepare the APIs if necessary. |
183 </p><dl> |
183 </p><dl> |
184 <dt><i>ondemand=</i></dt> |
184 <dt><i>ondemand=</i></dt> |
185 <dd> |
185 <dd> |
221 <td>Public slot to reload the api information.</td> |
221 <td>Public slot to reload the api information.</td> |
222 </tr> |
222 </tr> |
223 </table> |
223 </table> |
224 <a NAME="APIsManager.__init__" ID="APIsManager.__init__"></a> |
224 <a NAME="APIsManager.__init__" ID="APIsManager.__init__"></a> |
225 <h4>APIsManager (Constructor)</h4> |
225 <h4>APIsManager (Constructor)</h4> |
226 <b>APIsManager</b>(<i>parent = None</i>) |
226 <b>APIsManager</b>(<i>parent=None</i>) |
227 <p> |
227 <p> |
228 Constructor |
228 Constructor |
229 </p><dl> |
229 </p><dl> |
230 <dt><i>parent</i></dt> |
230 <dt><i>parent</i></dt> |
231 <dd> |
231 <dd> |
232 reference to the parent object (QObject) |
232 reference to the parent object (QObject) |
233 </dd> |
233 </dd> |
234 </dl><a NAME="APIsManager.getAPIs" ID="APIsManager.getAPIs"></a> |
234 </dl><a NAME="APIsManager.getAPIs" ID="APIsManager.getAPIs"></a> |
235 <h4>APIsManager.getAPIs</h4> |
235 <h4>APIsManager.getAPIs</h4> |
236 <b>getAPIs</b>(<i>language, forPreparation = False</i>) |
236 <b>getAPIs</b>(<i>language, forPreparation=False</i>) |
237 <p> |
237 <p> |
238 Public method to get an apis object for autocompletion/calltips. |
238 Public method to get an apis object for autocompletion/calltips. |
239 </p><p> |
239 </p><p> |
240 This method creates and loads an APIs object dynamically upon request. |
240 This method creates and loads an APIs object dynamically upon request. |
241 This saves memory for languages, that might not be needed at the moment. |
241 This saves memory for languages, that might not be needed at the moment. |
242 </p><dl> |
242 </p><dl> |
243 <dt><i>language</i></dt> |
243 <dt><i>language</i></dt> |
244 <dd> |
244 <dd> |
245 the language of the requested api object (string) |
245 the language of the requested api object (string) |