summaryrefslogtreecommitdiffstats
path: root/tools/linguist/book/linguist-programmer.leaf
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-07-24 19:37:05 +0900
committerMichele Calgaro <[email protected]>2024-07-24 19:37:05 +0900
commit0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (patch)
treebe5eda50c23980aa4b44de1e8b2e209c6c02d2d1 /tools/linguist/book/linguist-programmer.leaf
parent1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (diff)
downloadtqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.tar.gz
tqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.zip
Rename text class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tools/linguist/book/linguist-programmer.leaf')
-rw-r--r--tools/linguist/book/linguist-programmer.leaf6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/linguist/book/linguist-programmer.leaf b/tools/linguist/book/linguist-programmer.leaf
index 95e9be5fc..8e2f77732 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.