diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/chart-main-cpp.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/chart-main-cpp.html')
-rw-r--r-- | doc/html/chart-main-cpp.html | 18 |
1 files changed, 9 insertions, 9 deletions
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; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>chart/main.cpp Example File</h1> -<pre>#include <<a href="qapplication-h.html">qapplication.h</a>> +<pre>#include <<a href="qapplication-h.html">ntqapplication.h</a>> #include "chartform.h" int main( int argc, char *argv[] ) { - <a href="qapplication.html">TQApplication</a> app( argc, argv ); + <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); - <a href="qstring.html">TQString</a> filename; -<a name="x2900"></a> if ( app.<a href="qapplication.html#argc">argc</a>() > 1 ) { -<a name="x2901"></a> filename = app.<a href="qapplication.html#argv">argv</a>()[1]; -<a name="x2904"></a> if ( !filename.<a href="qstring.html#endsWith">endsWith</a>( ".cht" ) ) + <a href="ntqstring.html">TQString</a> filename; +<a name="x2900"></a> if ( app.<a href="ntqapplication.html#argc">argc</a>() > 1 ) { +<a name="x2901"></a> filename = app.<a href="ntqapplication.html#argv">argv</a>()[1]; +<a name="x2904"></a> if ( !filename.<a href="ntqstring.html#endsWith">endsWith</a>( ".cht" ) ) filename = TQString::null; } ChartForm *cf = new ChartForm( filename ); - app.<a href="qapplication.html#setMainWidget">setMainWidget</a>( cf ); - cf-><a href="qwidget.html#show">show</a>(); + app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( cf ); + cf-><a href="ntqwidget.html#show">show</a>(); - return app.<a href="qapplication.html#exec">exec</a>(); + return app.<a href="ntqapplication.html#exec">exec</a>(); } </pre><!-- eof --> <p><address><hr><div align=center> |