diff options
Diffstat (limited to 'doc/html/tqtranslator.html')
-rw-r--r-- | doc/html/tqtranslator.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tqtranslator.html b/doc/html/tqtranslator.html index 28fedbab6..1a3f06ce7 100644 --- a/doc/html/tqtranslator.html +++ b/doc/html/tqtranslator.html @@ -72,22 +72,22 @@ look up translations, add new ones, remove them, load and save them, etc. <p> The most common use of TQTranslator is to: load a translator file created with <a href="linguist-manual.html">TQt Linguist</a>, -install it using <a href="ntqapplication.html#installTranslator">TQApplication::installTranslator</a>(), and use it via +install it using <a href="tqapplication.html#installTranslator">TQApplication::installTranslator</a>(), and use it via <a href="tqobject.html#tr">TQObject::tr</a>(). For example: <p> <pre> int main( int argc, char ** argv ) { - <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); + <a href="tqapplication.html">TQApplication</a> app( argc, argv ); TQTranslator translator( 0 ); translator.<a href="#load">load</a>( "french.qm", "." ); - app.<a href="ntqapplication.html#installTranslator">installTranslator</a>( &translator ); + app.<a href="tqapplication.html#installTranslator">installTranslator</a>( &translator ); MyWidget m; - app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &m ); + app.<a href="tqapplication.html#setMainWidget">setMainWidget</a>( &m ); m.show(); - return app.<a href="ntqapplication.html#exec">exec</a>(); + return app.<a href="tqapplication.html#exec">exec</a>(); } </pre> @@ -99,7 +99,7 @@ applications that work on translator files. <p> We call a translation a "messsage". For this reason, translation files are sometimes referred to as "message files". <p> It is possible to lookup a translation using <a href="#findMessage">findMessage</a>() (as -<a href="tqobject.html#tr">tr</a>() and <a href="ntqapplication.html#translate">TQApplication::translate</a>() do) and <a href="#contains">contains</a>(), to insert a +<a href="tqobject.html#tr">tr</a>() and <a href="tqapplication.html#translate">TQApplication::translate</a>() do) and <a href="#contains">contains</a>(), to insert a new translation messsage using <a href="#insert">insert</a>(), and to remove one using <a href="#remove">remove</a>(). <p> Translation tools often need more information than the bare source @@ -147,7 +147,7 @@ translations. <p> Note that when TQTranslator loads a stripped file, most functions do not work. The functions that do work with stripped files are explicitly documented as such. -<p> <p>See also <a href="tqtranslatormessage.html">TQTranslatorMessage</a>, <a href="ntqapplication.html#installTranslator">TQApplication::installTranslator</a>(), <a href="ntqapplication.html#removeTranslator">TQApplication::removeTranslator</a>(), <a href="tqobject.html#tr">TQObject::tr</a>(), <a href="ntqapplication.html#translate">TQApplication::translate</a>(), <a href="environment.html">Environment Classes</a>, and <a href="i18n.html">Internationalization with TQt</a>. +<p> <p>See also <a href="tqtranslatormessage.html">TQTranslatorMessage</a>, <a href="tqapplication.html#installTranslator">TQApplication::installTranslator</a>(), <a href="tqapplication.html#removeTranslator">TQApplication::removeTranslator</a>(), <a href="tqobject.html#tr">TQObject::tr</a>(), <a href="tqapplication.html#translate">TQApplication::translate</a>(), <a href="environment.html">Environment Classes</a>, and <a href="i18n.html">Internationalization with TQt</a>. <hr><h2>Member Type Documentation</h2> <h3 class=fn><a name="SaveMode-enum"></a>TQTranslator::SaveMode</h3> |