diff options
Diffstat (limited to 'doc/man/man3/tqtranslator.3qt')
-rw-r--r-- | doc/man/man3/tqtranslator.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqtranslator.3qt b/doc/man/man3/tqtranslator.3qt index 6ccb0cb1f..18217c245 100644 --- a/doc/man/man3/tqtranslator.3qt +++ b/doc/man/man3/tqtranslator.3qt @@ -75,7 +75,7 @@ The TQTranslator class provides internationalization support for text output. .PP An object of this class contains a set of TQTranslatorMessage objects, each of which specifies a translation from a source language to a target language. TQTranslator provides functions to look up translations, add new ones, remove them, load and save them, etc. .PP -The most common use of TQTranslator is to: load a translator file created with TQt Linguist, install it using QApplication::installTranslator(), and use it via TQObject::tr(). For example: +The most common use of TQTranslator is to: load a translator file created with TQt Linguist, install it using TQApplication::installTranslator(), and use it via TQObject::tr(). For example: .PP .nf .br @@ -83,7 +83,7 @@ The most common use of TQTranslator is to: load a translator file created with T .br { .br - QApplication app( argc, argv ); + TQApplication app( argc, argv ); .br .br TQTranslator translator( 0 ); @@ -111,7 +111,7 @@ Most applications will never need to do anything else with this class. The other .PP We call a translation a "messsage". For this reason, translation files are sometimes referred to as "message files". .PP -It is possible to lookup a translation using findMessage() (as tr() and QApplication::translate() do) and contains(), to insert a new translation messsage using insert(), and to remove one using remove(). +It is possible to lookup a translation using findMessage() (as tr() and TQApplication::translate() do) and contains(), to insert a new translation messsage using insert(), and to remove one using remove(). .PP Translation tools often need more information than the bare source text and translation, for example, context information to help the translator. But end-user programs that are using translations usually only need lookup. To cater for these different needs, TQTranslator can use stripped translator files that use the minimum of memory and which support little more functionality than findMessage(). .PP @@ -137,7 +137,7 @@ But it's not always so simple. The Spanish version of a printer dialog with sett .PP 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. .PP -See also TQTranslatorMessage, QApplication::installTranslator(), QApplication::removeTranslator(), TQObject::tr(), QApplication::translate(), Environment Classes, and Internationalization with Qt. +See also TQTranslatorMessage, TQApplication::installTranslator(), TQApplication::removeTranslator(), TQObject::tr(), TQApplication::translate(), Environment Classes, and Internationalization with Qt. .SS "Member Type Documentation" .SH "TQTranslator::SaveMode" This enum type defines how TQTranslator writes translation files. There are two modes: |