summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-11-02 16:34:41 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-11-02 16:34:41 (GMT)
commit803fb60b1e98beddf4ebb8ea1a9224889c392e4e (patch)
tree109d93bd47f2973156710be741d7fc3e875f243e /doc
parentc4ce16e1eaa4504787f4cc739f3af7d1fdea8351 (diff)
downloadQt-803fb60b1e98beddf4ebb8ea1a9224889c392e4e.zip
Qt-803fb60b1e98beddf4ebb8ea1a9224889c392e4e.tar.gz
Qt-803fb60b1e98beddf4ebb8ea1a9224889c392e4e.tar.bz2
Doc: Added a note about QApplication::installTranslator().
Reviewed-by: Alessandro Portale
Diffstat (limited to 'doc')
-rw-r--r--doc/src/internationalization/i18n.qdoc10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/src/internationalization/i18n.qdoc b/doc/src/internationalization/i18n.qdoc
index 1a2839d..2d1b8cc 100644
--- a/doc/src/internationalization/i18n.qdoc
+++ b/doc/src/internationalization/i18n.qdoc
@@ -439,9 +439,13 @@
application language.
The default event handler for QWidget subclasses responds to the
- QEvent::LanguageChange event, and will call this function when necessary;
- other application components can also force widgets to update themselves
- by posting the \l{QEvent::LanguageChange}{LanguageChange} event to them.
+ QEvent::LanguageChange event, and will call this function when necessary.
+
+ \l{QEvent::LanguageChange}{LanguageChange} events are posted when a new
+ translation is installed using the QCoreApplication::installTranslator()
+ function. Additionally, other application components can also force
+ widgets to update themselves by posting LanguageChange events to them.
+
\section1 Translating Non-Qt Classes