From 397b7afa8e3f32268c4454bf4783ac2a5a799658 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 15 Oct 2024 13:05:33 +0900 Subject: Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/canvas-chart-example.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/canvas-chart-example.html') diff --git a/doc/html/canvas-chart-example.html b/doc/html/canvas-chart-example.html index 9b8be423b..fb251c48f 100644 --- a/doc/html/canvas-chart-example.html +++ b/doc/html/canvas-chart-example.html @@ -249,7 +249,7 @@ private: #include "setdataform.h" #include <tqaction.h> -#include <ntqapplication.h> +#include <tqapplication.h> #include <tqcombobox.h> #include <tqfile.h> #include <tqfiledialog.h> @@ -613,7 +613,7 @@ void ChartForm::fileQuit() { if ( okToClear() ) { saveOptions(); - tqApp->exit( 0 ); + tqApp->exit( 0 ); } } @@ -778,26 +778,26 @@ void ChartForm::helpAboutTQt()


Main: -

#include <ntqapplication.h>
+

#include <tqapplication.h>
 #include "chartform.h"
 
 
 int main( int argc, char *argv[] )
 {
-    TQApplication app( argc, argv );
+    TQApplication app( argc, argv );
 
     TQString filename;
-    if ( app.argc() > 1 ) {
-        filename = app.argv()[1];
+    if ( app.argc() > 1 ) {
+        filename = app.argv()[1];
         if ( !filename.endsWith( ".cht" ) )
             filename = TQString::null;
     }
 
     ChartForm *cf = new ChartForm( filename );
-    app.setMainWidget( cf );
+    app.setMainWidget( cf );
     cf->show();
 
-    return app.exec();
+    return app.exec();
 }
 
-- cgit v1.2.3