From bd0f3345a938b35ce6a12f6150373b0955b8dd12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 15:24:15 -0500 Subject: Add Qt3 development HEAD version --- doc/html/chart-main-cpp.html | 63 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 doc/html/chart-main-cpp.html (limited to 'doc/html/chart-main-cpp.html') diff --git a/doc/html/chart-main-cpp.html b/doc/html/chart-main-cpp.html new file mode 100644 index 0000000..ec816b4 --- /dev/null +++ b/doc/html/chart-main-cpp.html @@ -0,0 +1,63 @@ + + + + + +chart/main.cpp Example File + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

chart/main.cpp Example File

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


+ +
Copyright © 2007 +TrolltechTrademarks +
Qt 3.3.8
+
+ -- cgit v1.2.3