diff options
Diffstat (limited to 'doc/html/tictac-example.html')
-rw-r--r-- | doc/html/tictac-example.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html index ae4812965..53bf4a19f 100644 --- a/doc/html/tictac-example.html +++ b/doc/html/tictac-example.html @@ -171,7 +171,7 @@ private: #include <<a href="qlabel-h.html">ntqlabel.h</a>> #include <<a href="qlayout-h.html">ntqlayout.h</a>> #include <stdlib.h> // rand() function -#include <<a href="qdatetime-h.html">ntqdatetime.h</a>> // seed for rand() +#include <<a href="tqdatetime-h.html">tqdatetime.h</a>> // seed for rand() //*************************************************************************** @@ -233,8 +233,8 @@ private: buttons->insert( i, ttb ); btArray->at(i) = TicTacButton::Blank; // initial button type } -<a name="x40"></a> <a href="qtime.html">TQTime</a> t = TQTime::<a href="qtime.html#currentTime">currentTime</a>(); // set random seed -<a name="x43"></a><a name="x42"></a><a name="x41"></a> srand( t.<a href="qtime.html#hour">hour</a>()*12+t.<a href="qtime.html#minute">minute</a>()*60+t.<a href="qtime.html#second">second</a>()*60 ); +<a name="x40"></a> <a href="tqtime.html">TQTime</a> t = TQTime::<a href="tqtime.html#currentTime">currentTime</a>(); // set random seed +<a name="x43"></a><a name="x42"></a><a name="x41"></a> srand( t.<a href="tqtime.html#hour">hour</a>()*12+t.<a href="tqtime.html#minute">minute</a>()*60+t.<a href="tqtime.html#second">second</a>()*60 ); } TicTacGameBoard::~TicTacGameBoard() |