From 82ecd83484c9fa1ede059986ab771e74e33e68ef Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 16 Aug 2024 19:11:00 +0900 Subject: Rename layout nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tutorial1-03.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/tutorial1-03.html') diff --git a/doc/html/tutorial1-03.html b/doc/html/tutorial1-03.html index 714fce724..16a6bbc30 100644 --- a/doc/html/tutorial1-03.html +++ b/doc/html/tutorial1-03.html @@ -44,13 +44,13 @@ body { background: #ffffff; color: black; } #include <ntqapplication.h> #include <tqpushbutton.h> #include <tqfont.h> -#include <ntqvbox.h> +#include <tqvbox.h> int main( int argc, char **argv ) { TQApplication a( argc, argv ); - TQVBox box; + TQVBox box; box.resize( 200, 120 ); TQPushButton quit( "Quit", &box ); @@ -69,12 +69,12 @@ int main( int argc, char **argv )

Line-by-line Walkthrough

-

    #include <ntqvbox.h>
+

    #include <tqvbox.h>
 
-

We add an include of ntqvbox.h to get the layout class we'll use. -

        TQVBox box;
+

We add an include of tqvbox.h to get the layout class we'll use. +

        TQVBox box;
 
-

Here we simply create a vertical box container. The TQVBox arranges +

Here we simply create a vertical box container. The TQVBox arranges its child widgets in a vertical row, one above the other, handing out space according to each child's TQWidget::sizePolicy().

        box.resize( 200, 120 );
-- 
cgit v1.2.3