diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-24 19:37:05 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-24 19:37:05 +0900 |
commit | 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (patch) | |
tree | be5eda50c23980aa4b44de1e8b2e209c6c02d2d1 /doc/html/tictac-example.html | |
parent | 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (diff) | |
download | tqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.tar.gz tqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.zip |
Rename text class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tictac-example.html')
-rw-r--r-- | doc/html/tictac-example.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html index 136d099b..efd2b2f5 100644 --- a/doc/html/tictac-example.html +++ b/doc/html/tictac-example.html @@ -142,7 +142,7 @@ private: <a href="ntqcombobox.html">TQComboBox</a> *whoStarts; <a href="ntqpushbutton.html">TQPushButton</a> *newGame; <a href="ntqpushbutton.html">TQPushButton</a> *quit; - <a href="ntqlabel.html">TQLabel</a> *message; + <a href="tqlabel.html">TQLabel</a> *message; TicTacGameBoard *board; }; @@ -168,7 +168,7 @@ private: #include <<a href="qdrawutil-h.html">ntqdrawutil.h</a>> #include <<a href="qcombobox-h.html">ntqcombobox.h</a>> #include <<a href="qcheckbox-h.html">ntqcheckbox.h</a>> -#include <<a href="qlabel-h.html">ntqlabel.h</a>> +#include <<a href="tqlabel-h.html">tqlabel.h</a>> #include <<a href="qlayout-h.html">ntqlayout.h</a>> #include <stdlib.h> // rand() function #include <<a href="tqdatetime-h.html">tqdatetime.h</a>> // seed for rand() @@ -447,9 +447,9 @@ void <a name="f195"></a>TicTacGameBoard::computerMove() // Create a message label - message = new <a href="ntqlabel.html">TQLabel</a>( this ); + message = new <a href="tqlabel.html">TQLabel</a>( this ); <a name="x24"></a> message-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::WinPanel | TQFrame::Sunken ); - message-><a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignCenter ); + message-><a href="tqlabel.html#setAlignment">setAlignment</a>( AlignCenter ); l-><a href="qboxlayout.html#addWidget">addWidget</a>( message ); // Create the game board and connect the signal finished() to this @@ -525,7 +525,7 @@ void <a name="f199"></a>TicTacToe::newState() static const char *msg[] = { // TicTacGameBoard::State texts "Click Play to start", "Make your move", "You won!", "Computer won!", "It's a draw" }; - message-><a href="ntqlabel.html#setText">setText</a>( msg[board->state()] ); + message-><a href="tqlabel.html#setText">setText</a>( msg[board->state()] ); return; } </pre> |