From fef846914f8db6dc117e206ef913d519bf6bb33e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 29 Jul 2024 12:43:23 +0900 Subject: Rename basic widget nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tutorial1-01.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/tutorial1-01.html') diff --git a/doc/html/tutorial1-01.html b/doc/html/tutorial1-01.html index 9542b18e5..8edf315ca 100644 --- a/doc/html/tutorial1-01.html +++ b/doc/html/tutorial1-01.html @@ -43,14 +43,14 @@ The picture above is a snapshot of this program. ****************************************************************/ #include <ntqapplication.h> -#include <ntqpushbutton.h> +#include <tqpushbutton.h> int main( int argc, char **argv ) { TQApplication a( argc, argv ); - TQPushButton hello( "Hello world!", 0 ); + TQPushButton hello( "Hello world!", 0 ); hello.resize( 100, 30 ); a.setMainWidget( &hello ); @@ -69,9 +69,9 @@ int main( int argc, char **argv ) exactly one TQApplication object in every application that uses TQt. TQApplication manages various application-wide resources, such as the default font and cursor. -

    #include <ntqpushbutton.h>
+

    #include <tqpushbutton.h>
 
-

This line includes the TQPushButton class definition. The +

This line includes the TQPushButton class definition. The reference documentation for each class mentions at the top which file needs to be included to use that class.

TQPushButton is a classical GUI push button that the user can press @@ -99,7 +99,7 @@ Note that all command-line arguments recognized by TQt are removed from argv (and argc is decremented accordingly). See the TQApplication::argv() documentation for details.

Note: It is essential that the TQApplication object be created before any window-system parts of TQt are used. -

        TQPushButton hello( "Hello world!", 0 );
+

        TQPushButton hello( "Hello world!", 0 );
 

Here, after the TQApplication, comes the first window-system code: A push button is created. -- cgit v1.2.3