diff options
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 95e9be5f..8e2f7773 100644 --- a/tools/linguist/book/linguist-programmer.leaf +++ b/tools/linguist/book/linguist-programmer.leaf @@ -246,13 +246,13 @@ QApplication::translate() function directly: \code void some_global_function( LoginWidget *logwid ) { - QLabel *label = new QLabel( + TQLabel *label = new TQLabel( LoginWidget::tr("Password:"), logwid ); } void same_global_function( LoginWidget *logwid ) { - QLabel *label = new QLabel( + TQLabel *label = new TQLabel( tqApp->translate("LoginWidget", "Password:"), logwid ); } @@ -1059,7 +1059,7 @@ We'll now prepare release 1.1 of Troll Print. Start your favorite text editor and follow these steps: \list -\i Uncomment the two lines that create a \l QLabel with the text +\i Uncomment the two lines that create a \l TQLabel with the text "\<b\>TROLL PRINT\</b\>" in \c printpanel.cpp. \i Word-tidying: Replace "2-sided" by "Two-sided" in \c printpanel.cpp. \i Replace "1.0" with "1.1" everywhere it occurs in \c mainwindow.cpp. |