111 </dd> |
111 </dd> |
112 </dl><a NAME="APIsManager.__apiPreparationCancelled" ID="APIsManager.__apiPreparationCancelled"></a> |
112 </dl><a NAME="APIsManager.__apiPreparationCancelled" ID="APIsManager.__apiPreparationCancelled"></a> |
113 <h4>APIsManager.__apiPreparationCancelled</h4> |
113 <h4>APIsManager.__apiPreparationCancelled</h4> |
114 <b>__apiPreparationCancelled</b>(<i>language</i>) |
114 <b>__apiPreparationCancelled</b>(<i>language</i>) |
115 <p> |
115 <p> |
116 Private slot handling the preparation cancelled signal of an API object. |
116 Private slot handling the preparation cancelled signal of an API |
|
117 object. |
117 </p><dl> |
118 </p><dl> |
118 <dt><i>language</i></dt> |
119 <dt><i>language</i></dt> |
119 <dd> |
120 <dd> |
120 language of the API (string) |
121 language of the API (string) |
121 </dd> |
122 </dd> |
175 <b>getAPIs</b>(<i>language</i>) |
176 <b>getAPIs</b>(<i>language</i>) |
176 <p> |
177 <p> |
177 Public method to get an apis object for autocompletion/calltips. |
178 Public method to get an apis object for autocompletion/calltips. |
178 </p><p> |
179 </p><p> |
179 This method creates and loads an APIs object dynamically upon request. |
180 This method creates and loads an APIs object dynamically upon request. |
180 This saves memory for languages, that might not be needed at the moment. |
181 This saves memory for languages, that might not be needed at the |
|
182 moment. |
181 </p><dl> |
183 </p><dl> |
182 <dt><i>language</i></dt> |
184 <dt><i>language</i></dt> |
183 <dd> |
185 <dd> |
184 the language of the requested api object (string) |
186 the language of the requested api object (string) |
185 </dd> |
187 </dd> |
202 Class implementing an API storage entity. |
204 Class implementing an API storage entity. |
203 </p><h3>Signals</h3> |
205 </p><h3>Signals</h3> |
204 <dl> |
206 <dl> |
205 <dt>apiPreparationStatus(language, status, file)</dt> |
207 <dt>apiPreparationStatus(language, status, file)</dt> |
206 <dd> |
208 <dd> |
207 emitted to indicate the |
209 emitted to indicate |
208 API preparation status for a language |
210 the API preparation status for a language |
209 </dd> |
211 </dd> |
210 </dl> |
212 </dl> |
211 <h3>Derived from</h3> |
213 <h3>Derived from</h3> |
212 QObject |
214 QObject |
213 <h3>Class Attributes</h3> |
215 <h3>Class Attributes</h3> |
318 Private method to create an API database. |
320 Private method to create an API database. |
319 </p><a NAME="DbAPIs.__enoughCommas" ID="DbAPIs.__enoughCommas"></a> |
321 </p><a NAME="DbAPIs.__enoughCommas" ID="DbAPIs.__enoughCommas"></a> |
320 <h4>DbAPIs.__enoughCommas</h4> |
322 <h4>DbAPIs.__enoughCommas</h4> |
321 <b>__enoughCommas</b>(<i>s, commas</i>) |
323 <b>__enoughCommas</b>(<i>s, commas</i>) |
322 <p> |
324 <p> |
323 Private method to determine, if the given string contains enough commas. |
325 Private method to determine, if the given string contains enough |
|
326 commas. |
324 </p><dl> |
327 </p><dl> |
325 <dt><i>s</i></dt> |
328 <dt><i>s</i></dt> |
326 <dd> |
329 <dd> |
327 string to check (string) |
330 string to check (string) |
328 </dd><dt><i>commas</i></dt> |
331 </dd><dt><i>commas</i></dt> |
477 <dt><i>acWord</i></dt> |
481 <dt><i>acWord</i></dt> |
478 <dd> |
482 <dd> |
479 function to get calltips for (string) |
483 function to get calltips for (string) |
480 </dd><dt><i>commas</i></dt> |
484 </dd><dt><i>commas</i></dt> |
481 <dd> |
485 <dd> |
482 minimum number of commas contained in the calltip (integer) |
486 minimum number of commas contained in the calltip |
|
487 (integer) |
483 </dd><dt><i>context</i></dt> |
488 </dd><dt><i>context</i></dt> |
484 <dd> |
489 <dd> |
485 string giving the context (e.g. classname) (string) |
490 string giving the context (e.g. classname) (string) |
486 </dd><dt><i>fullContext</i></dt> |
491 </dd><dt><i>fullContext</i></dt> |
487 <dd> |
492 <dd> |
488 string giving the full context (string) |
493 string giving the full context (string) |
489 </dd><dt><i>showContext</i></dt> |
494 </dd><dt><i>showContext</i></dt> |
490 <dd> |
495 <dd> |
491 flag indicating to show the calltip context (boolean) |
496 flag indicating to show the calltip context |
|
497 (boolean) |
492 </dd><dt><i>followHierarchy=</i></dt> |
498 </dd><dt><i>followHierarchy=</i></dt> |
493 <dd> |
499 <dd> |
494 flag indicating to follow the hierarchy of |
500 flag indicating to follow the hierarchy of |
495 base classes (boolean) |
501 base classes (boolean) |
496 </dd> |
502 </dd> |
519 base classes (boolean) |
525 base classes (boolean) |
520 </dd> |
526 </dd> |
521 </dl><dl> |
527 </dl><dl> |
522 <dt>Returns:</dt> |
528 <dt>Returns:</dt> |
523 <dd> |
529 <dd> |
524 list of dictionaries with possible completions (key 'completion' |
530 list of dictionaries with possible completions |
525 contains the completion (string), key 'context' |
531 (key 'completion' contains the completion (string), |
526 contains the context (string) and key 'pictureId' |
532 key 'context' contains the context (string) and |
527 contains the ID of the icon to be shown (string)) |
533 key 'pictureId' contains the ID of the icon to be shown (string)) |
528 </dd> |
534 </dd> |
529 </dl><a NAME="DbAPIs.getLexer" ID="DbAPIs.getLexer"></a> |
535 </dl><a NAME="DbAPIs.getLexer" ID="DbAPIs.getLexer"></a> |
530 <h4>DbAPIs.getLexer</h4> |
536 <h4>DbAPIs.getLexer</h4> |
531 <b>getLexer</b>(<i></i>) |
537 <b>getLexer</b>(<i></i>) |
532 <p> |
538 <p> |
628 <dd> |
634 <dd> |
629 path of the project. Only needed, if the APIs |
635 path of the project. Only needed, if the APIs |
630 are extracted out of the sources of a project. (string) |
636 are extracted out of the sources of a project. (string) |
631 </dd><dt><i>refresh</i></dt> |
637 </dd><dt><i>refresh</i></dt> |
632 <dd> |
638 <dd> |
633 flag indicating a refresh of the APIs of one file (boolean) |
639 flag indicating a refresh of the APIs of one file |
|
640 (boolean) |
634 </dd> |
641 </dd> |
635 </dl><a NAME="DbAPIsWorker.__autoCompletionWordSeparators" ID="DbAPIsWorker.__autoCompletionWordSeparators"></a> |
642 </dl><a NAME="DbAPIsWorker.__autoCompletionWordSeparators" ID="DbAPIsWorker.__autoCompletionWordSeparators"></a> |
636 <h4>DbAPIsWorker.__autoCompletionWordSeparators</h4> |
643 <h4>DbAPIsWorker.__autoCompletionWordSeparators</h4> |
637 <b>__autoCompletionWordSeparators</b>(<i>language</i>) |
644 <b>__autoCompletionWordSeparators</b>(<i>language</i>) |
638 <p> |
645 <p> |
716 <h4>DbAPIsWorker.__storeFileInfoOnly</h4> |
723 <h4>DbAPIsWorker.__storeFileInfoOnly</h4> |
717 <b>__storeFileInfoOnly</b>(<i>apiFile</i>) |
724 <b>__storeFileInfoOnly</b>(<i>apiFile</i>) |
718 <p> |
725 <p> |
719 Private method to store file info only. |
726 Private method to store file info only. |
720 </p><p> |
727 </p><p> |
721 Doing this avoids rereading the file whenever the API is initialized in case |
728 Doing this avoids rereading the file whenever the API is initialized |
722 the given file doesn't contain API data. |
729 in case the given file doesn't contain API data. |
723 </p><a NAME="DbAPIsWorker.abort" ID="DbAPIsWorker.abort"></a> |
730 </p><dl> |
|
731 <dt><i>apiFile</i></dt> |
|
732 <dd> |
|
733 file name of the API file (string) |
|
734 </dd> |
|
735 </dl><a NAME="DbAPIsWorker.abort" ID="DbAPIsWorker.abort"></a> |
724 <h4>DbAPIsWorker.abort</h4> |
736 <h4>DbAPIsWorker.abort</h4> |
725 <b>abort</b>(<i></i>) |
737 <b>abort</b>(<i></i>) |
726 <p> |
738 <p> |
727 Public method to ask the thread to stop. |
739 Public method to ask the thread to stop. |
728 </p><a NAME="DbAPIsWorker.run" ID="DbAPIsWorker.run"></a> |
740 </p><a NAME="DbAPIsWorker.run" ID="DbAPIsWorker.run"></a> |