summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qtranslator.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-08-16 23:57:02 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-20 10:23:27 +0200
commit8a16954661df231677f7ee2d03f91c161453e734 (patch)
treeb6706a00ed7f5289b542f18a4a797a2aae69915e /src/corelib/kernel/qtranslator.cpp
parentb534af36802eaff8721744c4a1d9e106d9da89ca (diff)
Fix more qdoc errors
Change-Id: Ieed340068327f37ea0f549d24ea49235994118f4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qtranslator.cpp')
-rw-r--r--src/corelib/kernel/qtranslator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/corelib/kernel/qtranslator.cpp b/src/corelib/kernel/qtranslator.cpp
index 045c79280c..34bc601bfc 100644
--- a/src/corelib/kernel/qtranslator.cpp
+++ b/src/corelib/kernel/qtranslator.cpp
@@ -337,7 +337,7 @@ public:
Translation files are created using \l{Qt Linguist}.
The most common use of QTranslator is to: load a translation
- file, install it using QApplication::installTranslator(), and use
+ file, install it using QCoreApplication::installTranslator(), and use
it via QObject::tr(). Here's the \c main() function from the
\l{linguist/hellotr}{Hello tr()} example:
@@ -353,7 +353,7 @@ public:
\section1 Looking up Translations
It is possible to look up a translation using translate() (as tr()
- and QApplication::translate() do). The translate() function takes
+ and QCoreApplication::translate() do). The translate() function takes
up to three parameters:
\list
@@ -391,12 +391,12 @@ public:
This mechanism makes it possible for a specific translation to be
"selected" or given priority over the others; simply uninstall the
translator from the application by passing it to the
- QApplication::removeTranslator() function and reinstall it with
- QApplication::installTranslator(). It will then be the first
+ QCoreApplication::removeTranslator() function and reinstall it with
+ QCoreApplication::installTranslator(). It will then be the first
translation to be searched for matching strings.
- \sa QApplication::installTranslator(), QApplication::removeTranslator(),
- QObject::tr(), QApplication::translate(), {I18N Example},
+ \sa QCoreApplication::installTranslator(), QCoreApplication::removeTranslator(),
+ QObject::tr(), QCoreApplication::translate(), {I18N Example},
{Hello tr() Example}, {Arrow Pad Example}, {Troll Print Example}
*/