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> |