summaryrefslogtreecommitdiffstats
path: root/tools/linguist/book/linguist-programmer.leaf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/linguist/book/linguist-programmer.leaf')
-rw-r--r--tools/linguist/book/linguist-programmer.leaf18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/linguist/book/linguist-programmer.leaf b/tools/linguist/book/linguist-programmer.leaf
index 51bc028ee..1e5147cf5 100644
--- a/tools/linguist/book/linguist-programmer.leaf
+++ b/tools/linguist/book/linguist-programmer.leaf
@@ -79,7 +79,7 @@ See the \link lupdate "lupdate" \endlink and \link lrelease
\quotefile tt1/main.cpp
\skipto main(
\printline main(
-\printuntil QApplication
+\printuntil TQApplication
\index main()
@@ -87,8 +87,8 @@ This is how a simple \c main() function of a TQt application begins.
\index TQTranslator!load()
\index load()!TQTranslator
-\index QApplication!installTranslator()
-\index installTranslator()!QApplication
+\index TQApplication!installTranslator()
+\index installTranslator()!TQApplication
\quotefile tt1/main.cpp
\skipto main(
@@ -237,11 +237,11 @@ understood as meaning \c MyNamespace::MyClass::tr().
\section2 Translating Text that is Outside of a TQObject subclass
-\section3 Using QApplication::translate()
+\section3 Using TQApplication::translate()
If the quoted text is not in a member function of a TQObject subclass,
use either the tr() function of an appropriate class, or the
-QApplication::translate() function directly:
+TQApplication::translate() function directly:
\code
void some_global_function( LoginWidget *logwid )
@@ -353,8 +353,8 @@ Tries to load a file called \c tt1_la.qm (the \c .qm file extension is
implicit) that contains Latin translations for the source texts used in
the program. No error will occur if the file is not found.
-\index QApplication!installTranslator()
-\index installTranslator()!QApplication
+\index TQApplication!installTranslator()
+\index installTranslator()!TQApplication
\printline installTranslator
@@ -593,8 +593,8 @@ which the source text appears. Thus, in this example, "ArrowPad" is a
context: it is the context of the texts in the \c ArrowPad class.
The \c TQ_OBJECT macro defines \c tr(x) in \c ArrowPad like this
-\index QApplication!translate()
-\index translate()!QApplication
+\index TQApplication!translate()
+\index translate()!TQApplication
\code
tqApp->translate( "ArrowPad", x )