diff -r 892c1787d666 -r edde1fe80b3e Documentation/Source/eric5.QScintilla.APIsManager.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.QScintilla.APIsManager.html Sat Jan 02 18:19:35 2010 +0000 @@ -0,0 +1,252 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.QScintilla.APIsManager</title> +<style> +b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.QScintilla.APIsManager</h1> +<p> +Module implementing the APIsManager. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#APIs">APIs</a></td> +<td>Class implementing an API storage entity.</td> +</tr><tr> +<td><a href="#APIsManager">APIsManager</a></td> +<td>Class implementing the APIsManager class, which is the central store for API information used by autocompletion and calltips.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="APIs" ID="APIs"></a> +<h2>APIs</h2> +<p> + Class implementing an API storage entity. +</p><h4>Signals</h4> +<dl> +<dt>apiPreparationCancelled()</dt> +<dd> +emitted after the API preparation has been cancelled +</dd><dt>apiPreparationFinished()</dt> +<dd> +emitted after the API preparation has finished +</dd><dt>apiPreparationStarted()</dt> +<dd> +emitted after the API preparation has started +</dd> +</dl> +<h3>Derived from</h3> +QObject +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#APIs.__init__">APIs</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#APIs.__apiPreparationCancelled">__apiPreparationCancelled</a></td> +<td>Private method called, after the API preparation process has been cancelled.</td> +</tr><tr> +<td><a href="#APIs.__apiPreparationFinished">__apiPreparationFinished</a></td> +<td>Private method called to save an API, after it has been prepared.</td> +</tr><tr> +<td><a href="#APIs.__apiPreparationStarted">__apiPreparationStarted</a></td> +<td>Private method called, when the API preparation process started.</td> +</tr><tr> +<td><a href="#APIs.__defaultPreparedName">__defaultPreparedName</a></td> +<td>Private method returning the default name of a prepared API file.</td> +</tr><tr> +<td><a href="#APIs.__loadAPIs">__loadAPIs</a></td> +<td>Private method to load the APIs.</td> +</tr><tr> +<td><a href="#APIs.cancelPreparation">cancelPreparation</a></td> +<td>Public slot to cancel the APIs preparation.</td> +</tr><tr> +<td><a href="#APIs.getQsciAPIs">getQsciAPIs</a></td> +<td>Public method to get a reference to QsciAPIs object.</td> +</tr><tr> +<td><a href="#APIs.installedAPIFiles">installedAPIFiles</a></td> +<td>Public method to get a list of installed API files.</td> +</tr><tr> +<td><a href="#APIs.prepareAPIs">prepareAPIs</a></td> +<td>Public method to prepare the APIs if necessary.</td> +</tr><tr> +<td><a href="#APIs.reloadAPIs">reloadAPIs</a></td> +<td>Public method to reload the API information.</td> +</tr> +</table> +<a NAME="APIs.__init__" ID="APIs.__init__"></a> +<h4>APIs (Constructor)</h4> +<b>APIs</b>(<i>language, forPreparation = False, parent = None</i>) +<p> + Constructor +</p><dl> +<dt><i>language</i></dt> +<dd> +language of the APIs object (string) +</dd><dt><i>forPreparation</i></dt> +<dd> +flag indicating this object is just needed + for a preparation process (boolean) +</dd><dt><i>parent</i></dt> +<dd> +reference to the parent object (QObject) +</dd> +</dl><a NAME="APIs.__apiPreparationCancelled" ID="APIs.__apiPreparationCancelled"></a> +<h4>APIs.__apiPreparationCancelled</h4> +<b>__apiPreparationCancelled</b>(<i></i>) +<p> + Private method called, after the API preparation process has been cancelled. +</p><a NAME="APIs.__apiPreparationFinished" ID="APIs.__apiPreparationFinished"></a> +<h4>APIs.__apiPreparationFinished</h4> +<b>__apiPreparationFinished</b>(<i></i>) +<p> + Private method called to save an API, after it has been prepared. +</p><a NAME="APIs.__apiPreparationStarted" ID="APIs.__apiPreparationStarted"></a> +<h4>APIs.__apiPreparationStarted</h4> +<b>__apiPreparationStarted</b>(<i></i>) +<p> + Private method called, when the API preparation process started. +</p><a NAME="APIs.__defaultPreparedName" ID="APIs.__defaultPreparedName"></a> +<h4>APIs.__defaultPreparedName</h4> +<b>__defaultPreparedName</b>(<i></i>) +<p> + Private method returning the default name of a prepared API file. +</p><dl> +<dt>Returns:</dt> +<dd> +complete filename for the Prepared APIs file (string) +</dd> +</dl><a NAME="APIs.__loadAPIs" ID="APIs.__loadAPIs"></a> +<h4>APIs.__loadAPIs</h4> +<b>__loadAPIs</b>(<i></i>) +<p> + Private method to load the APIs. +</p><a NAME="APIs.cancelPreparation" ID="APIs.cancelPreparation"></a> +<h4>APIs.cancelPreparation</h4> +<b>cancelPreparation</b>(<i></i>) +<p> + Public slot to cancel the APIs preparation. +</p><a NAME="APIs.getQsciAPIs" ID="APIs.getQsciAPIs"></a> +<h4>APIs.getQsciAPIs</h4> +<b>getQsciAPIs</b>(<i></i>) +<p> + Public method to get a reference to QsciAPIs object. +</p><dl> +<dt>Returns:</dt> +<dd> +reference to the QsciAPIs object (QsciAPIs) +</dd> +</dl><a NAME="APIs.installedAPIFiles" ID="APIs.installedAPIFiles"></a> +<h4>APIs.installedAPIFiles</h4> +<b>installedAPIFiles</b>(<i></i>) +<p> + Public method to get a list of installed API files. +</p><dl> +<dt>Returns:</dt> +<dd> +list of installed API files (list of strings) +</dd> +</dl><a NAME="APIs.prepareAPIs" ID="APIs.prepareAPIs"></a> +<h4>APIs.prepareAPIs</h4> +<b>prepareAPIs</b>(<i>ondemand = False, rawList = None</i>) +<p> + Public method to prepare the APIs if necessary. +</p><dl> +<dt><i>ondemand=</i></dt> +<dd> +flag indicating a requested preparation (boolean) +</dd><dt><i>rawList=</i></dt> +<dd> +list of raw API files (list of strings) +</dd> +</dl><a NAME="APIs.reloadAPIs" ID="APIs.reloadAPIs"></a> +<h4>APIs.reloadAPIs</h4> +<b>reloadAPIs</b>(<i></i>) +<p> + Public method to reload the API information. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="APIsManager" ID="APIsManager"></a> +<h2>APIsManager</h2> +<p> + Class implementing the APIsManager class, which is the central store for + API information used by autocompletion and calltips. +</p> +<h3>Derived from</h3> +QObject +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#APIsManager.__init__">APIsManager</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#APIsManager.getAPIs">getAPIs</a></td> +<td>Public method to get an apis object for autocompletion/calltips.</td> +</tr><tr> +<td><a href="#APIsManager.reloadAPIs">reloadAPIs</a></td> +<td>Public slot to reload the api information.</td> +</tr> +</table> +<a NAME="APIsManager.__init__" ID="APIsManager.__init__"></a> +<h4>APIsManager (Constructor)</h4> +<b>APIsManager</b>(<i>parent = None</i>) +<p> + Constructor +</p><dl> +<dt><i>parent</i></dt> +<dd> +reference to the parent object (QObject) +</dd> +</dl><a NAME="APIsManager.getAPIs" ID="APIsManager.getAPIs"></a> +<h4>APIsManager.getAPIs</h4> +<b>getAPIs</b>(<i>language, forPreparation = False</i>) +<p> + Public method to get an apis object for autocompletion/calltips. +</p><p> + This method creates and loads an APIs object dynamically upon request. + This saves memory for languages, that might not be needed at the moment. +</p><dl> +<dt><i>language</i></dt> +<dd> +the language of the requested api object (string) +</dd><dt><i>forPreparation</i></dt> +<dd> +flag indicating the requested api object is just needed + for a preparation process (boolean) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +the apis object (APIs) +</dd> +</dl><a NAME="APIsManager.reloadAPIs" ID="APIsManager.reloadAPIs"></a> +<h4>APIsManager.reloadAPIs</h4> +<b>reloadAPIs</b>(<i></i>) +<p> + Public slot to reload the api information. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file