summaryrefslogtreecommitdiffstats
path: root/doc/tutorial.doc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-24 19:37:05 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-24 19:37:05 +0900
commit0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (patch)
treebe5eda50c23980aa4b44de1e8b2e209c6c02d2d1 /doc/tutorial.doc
parent1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (diff)
downloadtqt-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.tar.gz
tqt-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.zip
Rename text class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/tutorial.doc')
-rw-r--r--doc/tutorial.doc20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/tutorial.doc b/doc/tutorial.doc
index 43a2068f3..6528e00e8 100644
--- a/doc/tutorial.doc
+++ b/doc/tutorial.doc
@@ -1741,10 +1741,10 @@ The LCDRange now has a text label.
\quotefile t12/lcdrange.h
-\skipto QLabel
-\printline QLabel
+\skipto TQLabel
+\printline TQLabel
-We name declare QLabel because we want to use a pointer to it in the class
+We name declare TQLabel because we want to use a pointer to it in the class
definition.
\skipto class
@@ -1771,10 +1771,10 @@ This slot sets the label text.
Because we now have two constructors, we have chosen to put the common
initialization in the private init() function.
-\skipto QLabel
+\skipto TQLabel
\printline label
-We also have a new private variable: a QLabel. QLabel is one of Qt's
+We also have a new private variable: a TQLabel. TQLabel is one of Qt's
standard widgets and can show a text or a pixmap with or without a
frame.
@@ -1783,10 +1783,10 @@ frame.
\quotefile t12/lcdrange.cpp
-\skipto qlabel
+\skipto tqlabel
\printline include
-Here we include the QLabel class definition.
+Here we include the TQLabel class definition.
\skipto ::LCDRange
\printuntil }
@@ -1803,7 +1803,7 @@ This constructor first calls init() and then sets the label text.
\printuntil }
The setup of \c lcd and \c slider is the same as in the previous
-chapter. Next we create a QLabel and tell it to align the contents
+chapter. Next we create a TQLabel and tell it to align the contents
centered (both vertically and horizontally). The connect() statements
have also been taken from the previous chapter.
@@ -2281,10 +2281,10 @@ with the other buttons. Clicking this button will activate the
newGame() slot in this widget.
\printuntil shotsLeftL
-\printline QLabel
+\printline TQLabel
We create four new widgets. Note that we don't bother to keep the
-pointers to the QLabel widgets in the GameBoard class because there's
+pointers to the TQLabel widgets in the GameBoard class because there's
nothing much we want to do with them. TQt will delete them when the
GameBoard widget is destroyed, and the layout classes will resize them
appropriately.