Documentation/Source/eric6.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.TranslationEngine.html

changeset 6412
d71b094845e7
parent 6411
7fd9b7ecbcfe
equal deleted inserted replaced
6411:7fd9b7ecbcfe 6412:d71b094845e7
42 <a NAME="TranslationEngine" ID="TranslationEngine"></a> 42 <a NAME="TranslationEngine" ID="TranslationEngine"></a>
43 <h2>TranslationEngine</h2> 43 <h2>TranslationEngine</h2>
44 <p> 44 <p>
45 Class implementing the translation engine base class containing 45 Class implementing the translation engine base class containing
46 default methods. 46 default methods.
47 </p> 47 </p><h3>Signals</h3>
48 <dl>
49 <dt>availableTranslationsLoaded()</dt>
50 <dd>
51 emitted to indicate the availability
52 of the list of supported translation languages
53 </dd>
54 </dl>
48 <h3>Derived from</h3> 55 <h3>Derived from</h3>
49 QObject 56 QObject
50 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
51 <table> 58 <table>
52 <tr><td>None</td></tr> 59 <tr><td>None</td></tr>
180 <h4>TranslationEngine.supportedTargetLanguages</h4> 187 <h4>TranslationEngine.supportedTargetLanguages</h4>
181 <b>supportedTargetLanguages</b>(<i>original</i>) 188 <b>supportedTargetLanguages</b>(<i>original</i>)
182 <p> 189 <p>
183 Public method to get a list of supported target languages for an 190 Public method to get a list of supported target languages for an
184 original language. 191 original language.
192 </p><p>
193 Note: The default implementation return the list of supported languages
194 (i.e. the same as those for the source) with the given original
195 removed.
185 </p><dl> 196 </p><dl>
186 <dt><i>original</i> (str)</dt> 197 <dt><i>original</i> (str)</dt>
187 <dd> 198 <dd>
188 original language 199 original language
189 </dd> 200 </dd>
193 list of supported target languages for the given original 204 list of supported target languages for the given original
194 </dd> 205 </dd>
195 </dl><dl> 206 </dl><dl>
196 <dt>Return Type:</dt> 207 <dt>Return Type:</dt>
197 <dd> 208 <dd>
198 None, if function is not supported; list of str otherwise 209 list of str
199 </dd> 210 </dd>
200 </dl> 211 </dl>
201 <div align="right"><a href="#top">Up</a></div> 212 <div align="right"><a href="#top">Up</a></div>
202 <hr /> 213 <hr />
203 </body></html> 214 </body></html>

eric ide

mercurial