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/tutorial1-13.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/tutorial1-13.html') diff --git a/doc/html/tutorial1-13.html b/doc/html/tutorial1-13.html index f8b304804..c2a54718f 100644 --- a/doc/html/tutorial1-13.html +++ b/doc/html/tutorial1-13.html @@ -288,12 +288,12 @@ with the other buttons. Clicking this button will activate the newGame() slot in this widget.

        hits = new TQLCDNumber( 2, this, "hits" );
         shotsLeft = new TQLCDNumber( 2, this, "shotsleft" );
-        TQLabel *hitsL = new TQLabel( "HITS", this, "hitsLabel" );
+        TQLabel *hitsL = new TQLabel( "HITS", this, "hitsLabel" );
         TQLabel *shotsLeftL
-            = new TQLabel( "SHOTS LEFT", this, "shotsleftLabel" );
+            = new TQLabel( "SHOTS LEFT", this, "shotsleftLabel" );
 

We create four new widgets. Note that we don't bother to keep the -pointers to the TQLabel 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. -- cgit v1.2.3