Documentation/Source/eric6.QScintilla.APIsManager.html

changeset 3673
e26d7d0c1088
child 4134
c04c703d1ca4
diff -r f0cb7579c0b4 -r e26d7d0c1088 Documentation/Source/eric6.QScintilla.APIsManager.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric6.QScintilla.APIsManager.html	Sat Jul 05 12:29:15 2014 +0200
@@ -0,0 +1,284 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric6.QScintilla.APIsManager</title>
+<meta charset="UTF-8">
+<style>
+body {
+    background: #EDECE6;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #85774A; }
+h2 { color: white; background: #85774A; }
+h3 { color: white; background: #9D936E; }
+h4 { color: white; background: #9D936E; }
+    
+a { color: #BA6D36; }
+
+</style>
+</head>
+<body><a NAME="top" ID="top"></a>
+<h1>eric6.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><h3>Signals</h3>
+<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>Class Methods</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>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</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>Class Methods</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>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</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

eric ide

mercurial