diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
commit | 520c05ef06ce203ad32470730f68402bc7719157 (patch) | |
tree | 8d0bb18bbbecb4c837e232848905e5819db84b81 /tools/linguist/book/linguist-programmer.leaf | |
parent | b82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff) | |
download | tqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip |
Automated update from qt3
Diffstat (limited to 'tools/linguist/book/linguist-programmer.leaf')
-rw-r--r-- | tools/linguist/book/linguist-programmer.leaf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/linguist/book/linguist-programmer.leaf b/tools/linguist/book/linguist-programmer.leaf index 771fff592..7074d59ff 100644 --- a/tools/linguist/book/linguist-programmer.leaf +++ b/tools/linguist/book/linguist-programmer.leaf @@ -253,7 +253,7 @@ QApplication::translate() function directly: void same_global_function( LoginWidget *logwid ) { QLabel *label = new QLabel( - qApp->translate("LoginWidget", "Password:"), + tqApp->translate("LoginWidget", "Password:"), logwid ); } \endcode @@ -291,7 +291,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 @@ -597,7 +597,7 @@ The \c TQ_OBJECT macro defines \c tr(x) in \c ArrowPad like this \index translate()!QApplication \code - qApp->translate( "ArrowPad", x ) + tqApp->translate( "ArrowPad", x ) \endcode Knowing which class each source text appears in enables \e {Qt |