From a30f5359f03c3017fa19a6770fab32d25d22cb87 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 15 Jul 2024 19:08:22 +0900 Subject: Rename graphics class nt* related files to equivalent tq* (part 1) Signed-off-by: Michele Calgaro --- doc/html/tutorial1-12.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/tutorial1-12.html') diff --git a/doc/html/tutorial1-12.html b/doc/html/tutorial1-12.html index 5f7ee92e8..7aef83897 100644 --- a/doc/html/tutorial1-12.html +++ b/doc/html/tutorial1-12.html @@ -158,7 +158,7 @@ it contains a target. signal is emitted when the shot moves beyond the right or bottom edge of the widget (i.e., it is certain that it has not and will not hit the target). -

        void  paintTarget( TQPainter * );
+

        void  paintTarget( TQPainter * );
 

This private function paints the target.

        TQRect targetRect() const;
@@ -258,11 +258,11 @@ added:
             paintTarget( &p );
 

These two lines make sure that the target is also painted when necessary. -

    void CannonField::paintTarget( TQPainter *p )
+

    void CannonField::paintTarget( TQPainter *p )
     {
-        p->setBrush( red );
-        p->setPen( black );
-        p->drawRect( targetRect() );
+        p->setBrush( red );
+        p->setPen( black );
+        p->drawRect( targetRect() );
     }
 

This private function paints the target; a rectangle filled with red and -- cgit v1.2.3