summaryrefslogtreecommitdiffstats
path: root/doc/tutorial.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial.doc')
-rw-r--r--doc/tutorial.doc18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/tutorial.doc b/doc/tutorial.doc
index 8a9f90599..53b6029ec 100644
--- a/doc/tutorial.doc
+++ b/doc/tutorial.doc
@@ -1543,7 +1543,7 @@ Calling this slot will make the cannon shoot if a shot is not in the air.
\printline moveShot
This private slot is used to move the shot while it is in the air,
-using a \l QTimer.
+using a \l TQTimer.
\skipto private
\printline private
@@ -1581,7 +1581,7 @@ We include the math library because we need the sin() and cos() functions.
\printuntil }
We initialize our new private variables and connect the \l
-QTimer::timeout() signal to our moveShot() slot. We'll move the
+TQTimer::timeout() signal to our moveShot() slot. We'll move the
shot every time the timer times out.
\skipto ::shoot
@@ -1597,7 +1597,7 @@ cannon angle and force. Finally, we start the timer.
\printline }
moveShot() is the slot that moves the shot, called every 50
-milliseconds when the QTimer fires.
+milliseconds when the TQTimer fires.
Its tasks are to compute the new position, repaint the screen with the
shot in the new position, and if necessary, stop the timer.
@@ -1858,10 +1858,10 @@ This private variable contains the center point of the target.
\quotefile t12/cannon.cpp
-\skipto qdatetime
-\printline qdatetime
+\skipto tqdatetime
+\printline tqdatetime
-We include the QDate, QTime, and QDateTime class definitions.
+We include the TQDate, TQTime, and TQDateTime class definitions.
\skipto stdlib
\printline stdlib
@@ -1898,10 +1898,10 @@ this one is guaranteed to keep its value between calls to the function.
The \c if test will succeed only the first time this function is called
because we set \c first_time to FALSE inside the \c if block.
-Then we create the QTime object \c midnight, which represents the time
+Then we create the TQTime object \c midnight, which represents the time
00:00:00. Next we fetch the number of seconds from midnight until
-now and use it as a random seed. See the documentation for \l QDate,
-\l QTime, and \l QDateTime for more information.
+now and use it as a random seed. See the documentation for \l TQDate,
+\l TQTime, and \l TQDateTime for more information.
Finally we calculate the target's center point. We keep it within
the rectangle (x=200, y=35, width=190, height=255), (i.e., the