summaryrefslogtreecommitdiffstats
path: root/doc/i18n.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/i18n.doc')
-rw-r--r--doc/i18n.doc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/i18n.doc b/doc/i18n.doc
index 02bb19544..d10a4f309 100644
--- a/doc/i18n.doc
+++ b/doc/i18n.doc
@@ -208,7 +208,7 @@ directly:
void same_global_function( LoginWidget *logwid )
{
QLabel *label = new QLabel(
- qApp->translate("LoginWidget", "Password:"),
+ tqApp->translate("LoginWidget", "Password:"),
logwid );
}
\endcode
@@ -245,7 +245,7 @@ Example of QT_TRANSLATE_NOOP():
QString global_greeting( int greet_type )
{
- return qApp->translate( "FriendlyConversation",
+ return tqApp->translate( "FriendlyConversation",
greeting_strings[greet_type] );
}
\endcode