diff options
author | Michele Calgaro <[email protected]> | 2023-09-06 12:45:31 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-07 16:28:40 +0900 |
commit | 440483234fd5d8f29517d9c84b4227db80a90361 (patch) | |
tree | e7c53fdaebe221c11ef73428c02cd4fcb23e740e /doc/html/i18n.html | |
parent | 0c8091f80e1c2bd853e8850f2e6300c055471382 (diff) | |
download | tqt3-440483234fd5d8f29517d9c84b4227db80a90361.tar.gz tqt3-440483234fd5d8f29517d9c84b4227db80a90361.zip |
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 926102a455014e6ab308aaced19e32eed7ed4414)
Diffstat (limited to 'doc/html/i18n.html')
-rw-r--r-- | doc/html/i18n.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/i18n.html b/doc/html/i18n.html index 9f74d1154..9cd85c5bb 100644 --- a/doc/html/i18n.html +++ b/doc/html/i18n.html @@ -210,27 +210,27 @@ directly: </pre> <p> If you need to have translatable text completely -outside a function, there are two macros to help: QT_TR_NOOP() -and QT_TRANSLATE_NOOP(). They merely mark the text for +outside a function, there are two macros to help: TQT_TR_NOOP() +and TQT_TRANSLATE_NOOP(). They merely mark the text for extraction by the <em>lupdate</em> utility described below. The macros expand to just the text (without the context). -<p> Example of QT_TR_NOOP(): +<p> Example of TQT_TR_NOOP(): <pre> TQString FriendlyConversation::greeting( int greet_type ) { static const char* greeting_strings[] = { - QT_TR_NOOP( "Hello" ), - QT_TR_NOOP( "Goodbye" ) + TQT_TR_NOOP( "Hello" ), + TQT_TR_NOOP( "Goodbye" ) }; return tr( greeting_strings[greet_type] ); } </pre> -<p> Example of QT_TRANSLATE_NOOP(): +<p> Example of TQT_TRANSLATE_NOOP(): <pre> static const char* greeting_strings[] = { - QT_TRANSLATE_NOOP( "FriendlyConversation", "Hello" ), - QT_TRANSLATE_NOOP( "FriendlyConversation", "Goodbye" ) + TQT_TRANSLATE_NOOP( "FriendlyConversation", "Hello" ), + TQT_TRANSLATE_NOOP( "FriendlyConversation", "Goodbye" ) }; TQString FriendlyConversation::greeting( int greet_type ) |