diff options
Diffstat (limited to 'tools/linguist/book/linguist-programmer.leaf')
-rw-r--r-- | tools/linguist/book/linguist-programmer.leaf | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tools/linguist/book/linguist-programmer.leaf b/tools/linguist/book/linguist-programmer.leaf index 8e2f77732..663f5fc40 100644 --- a/tools/linguist/book/linguist-programmer.leaf +++ b/tools/linguist/book/linguist-programmer.leaf @@ -85,8 +85,8 @@ See the \link lupdate "lupdate" \endlink and \link lrelease This is how a simple \c main() function of a TQt application begins. -\index QTranslator!load() -\index load()!QTranslator +\index TQTranslator!load() +\index load()!TQTranslator \index QApplication!installTranslator() \index installTranslator()!QApplication @@ -299,7 +299,7 @@ Example of TQT_TRANSLATE_NOOP(): \section1 Tutorials Three tutorials are presented. The first demonstrates the creation of -a \l QTranslator object. It also shows the simplest use of the \c +a \l TQTranslator object. It also shows the simplest use of the \c tr() function to mark user-visible source text for translation. The second tutorial explains how to make the application load the translation file applicable to the current locale. It also shows the @@ -332,18 +332,18 @@ English version}, above, shows the English version. \quotefile tt1/main.cpp -\skipto qtranslator -\printline qtranslator +\skipto tqtranslator +\printline tqtranslator -\index QTranslator +\index TQTranslator -This line includes the definition of the \l QTranslator class. +This line includes the definition of the \l TQTranslator class. Objects of this class provide translations for user-visible text. -\skipto QTranslator +\skipto TQTranslator \printuntil tor -Creates a \l QTranslator object without a parent. +Creates a \l TQTranslator object without a parent. \printline load @@ -665,8 +665,8 @@ describing the function that the accelerator performs. Our \c main() function is defined in \c main.cpp as usual. \quotefile tt2/main.cpp -\skipto QTranslator -\printline QTranslator +\skipto TQTranslator +\printline TQTranslator \printuntil install \index TQTextCodec!locale() @@ -913,7 +913,7 @@ the second argument is the only clue the translator has to indicate what function that accelerator will perform. \quotefile tt3/main.cpp -\skipto QTranslator +\skipto TQTranslator \printuntil installTranslator \index main() |