diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-31 19:56:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-31 19:56:49 +0900 |
commit | 39f8a475b4ec5c87a11a7e9300a30ef1c5b4a7e1 (patch) | |
tree | c38058d08754b389bd058a6d63f75086b49a22b1 /doc/i18n.doc | |
parent | e42ec295c2134770a1eb07032f5f22ca4ba1daa6 (diff) | |
download | tqt-39f8a475.tar.gz tqt-39f8a475.zip |
Rename remaining ntq[i-l]* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/i18n.doc')
-rw-r--r-- | doc/i18n.doc | 4 |
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 |