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 6cc7d8879..3c38b5d42 100644
--- a/doc/i18n.doc
+++ b/doc/i18n.doc
@@ -262,7 +262,7 @@ TQObject::tr(), as tr() depends on the
QApplication::defaultCodec(), which makes it more fragile than
TQObject::trUtf8().
-\section2 Use QKeySequence() for Accelerator Values
+\section2 Use TQKeySequence() for Accelerator Values
Accelerator values such as Ctrl+Q or Alt+F need to be
translated too. If you hardcode \c CTRL+Key_Q for "Quit" in
@@ -272,7 +272,7 @@ it. The correct idiom is
\code
TQPopupMenu *file = new TQPopupMenu( this );
file->insertItem( tr("&Quit"), this, TQ_SLOT(quit()),
- QKeySequence(tr("Ctrl+Q", "File|Quit")) );
+ TQKeySequence(tr("Ctrl+Q", "File|Quit")) );
\endcode
\section2 Use TQString::arg() for Dynamic Text