From 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 24 Jul 2024 19:37:05 +0900 Subject: Rename text class nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tictac-example.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/tictac-example.html') diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html index 136d099bd..efd2b2f59 100644 --- a/doc/html/tictac-example.html +++ b/doc/html/tictac-example.html @@ -142,7 +142,7 @@ private: TQComboBox *whoStarts; TQPushButton *newGame; TQPushButton *quit; - TQLabel *message; + TQLabel *message; TicTacGameBoard *board; }; @@ -168,7 +168,7 @@ private: #include <ntqdrawutil.h> #include <ntqcombobox.h> #include <ntqcheckbox.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> #include <stdlib.h> // rand() function #include <tqdatetime.h> // seed for rand() @@ -447,9 +447,9 @@ void TicTacGameBoard::computerMove() // Create a message label - message = new TQLabel( this ); + message = new TQLabel( this ); message->setFrameStyle( TQFrame::WinPanel | TQFrame::Sunken ); - message->setAlignment( AlignCenter ); + message->setAlignment( AlignCenter ); l->addWidget( message ); // Create the game board and connect the signal finished() to this @@ -525,7 +525,7 @@ void 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->setText( msg[board->state()] ); + message->setText( msg[board->state()] ); return; } -- cgit v1.2.3