From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/html/chart-main-cpp.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 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 6cf36f99c..2c8de6504 100644 --- a/doc/html/chart-main-cpp.html +++ b/doc/html/chart-main-cpp.html @@ -32,26 +32,26 @@ body { background: #ffffff; color: black; }

chart/main.cpp Example File

-
#include <qapplication.h>
+
#include <ntqapplication.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 ( !filename.endsWith( ".cht" ) )
+    TQString filename;
+    if ( app.argc() > 1 ) {
+        filename = app.argv()[1];
+        if ( !filename.endsWith( ".cht" ) )
             filename = TQString::null;
     }
 
     ChartForm *cf = new ChartForm( filename );
-    app.setMainWidget( cf );
-    cf->show();
+    app.setMainWidget( cf );
+    cf->show();
 
-    return app.exec();
+    return app.exec();
 }
 


-- cgit v1.2.1