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/chart-main-cpp.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/chart-main-cpp.html') diff --git a/doc/html/chart-main-cpp.html b/doc/html/chart-main-cpp.html index c8bb01181..9b737743c 100644 --- a/doc/html/chart-main-cpp.html +++ b/doc/html/chart-main-cpp.html @@ -31,26 +31,26 @@ body { background: #ffffff; color: black; }

chart/main.cpp Example File

-
#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