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/qaxserver-example-opengl.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/qaxserver-example-opengl.html')
-rw-r--r-- | doc/html/qaxserver-example-opengl.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/qaxserver-example-opengl.html b/doc/html/qaxserver-example-opengl.html index 82c694580..1a44d4392 100644 --- a/doc/html/qaxserver-example-opengl.html +++ b/doc/html/qaxserver-example-opengl.html @@ -56,7 +56,7 @@ control. "{2c3c183a-eeda-41a4-896e-3d9c12c3577d}", "{83e16271-6480-45d5-aaf1-3f40b7661ae4}" ) -</pre>The implementation of <tt>main</tt> initializes the <a href="qapplication.html">TQApplication</a> object, +</pre>The implementation of <tt>main</tt> initializes the <a href="ntqapplication.html">TQApplication</a> object, and uses <a href="qaxfactory.html#isServer">TQAxFactory::isServer</a>() to determine whether or not it is appropriate to create and show the application interface. <pre> /* @@ -65,22 +65,22 @@ appropriate to create and show the application interface. int main( int argc, char **argv ) { - <a name="x2732"></a> TQApplication::<a href="qapplication.html#setColorSpec">setColorSpec</a>( TQApplication::CustomColor ); - <a href="qapplication.html">TQApplication</a> a(argc,argv); + <a name="x2732"></a> TQApplication::<a href="ntqapplication.html#setColorSpec">setColorSpec</a>( TQApplication::CustomColor ); + <a href="ntqapplication.html">TQApplication</a> a(argc,argv); if ( !TQGLFormat::hasOpenGL() ) { - <a href="qapplication.html#qWarning">qWarning</a>( "This system has no OpenGL support. Exiting." ); + <a href="ntqapplication.html#qWarning">qWarning</a>( "This system has no OpenGL support. Exiting." ); return -1; } if ( !TQAxFactory::isServer() ) { GLObjectWindow w; - w.<a href="qwidget.html#resize">resize</a>( 400, 350 ); - <a name="x2733"></a> a.<a href="qapplication.html#setMainWidget">setMainWidget</a>( &w ); - w.<a href="qwidget.html#show">show</a>(); - return a.<a href="qapplication.html#exec">exec</a>(); + w.<a href="ntqwidget.html#resize">resize</a>( 400, 350 ); + <a name="x2733"></a> a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &w ); + w.<a href="ntqwidget.html#show">show</a>(); + return a.<a href="ntqapplication.html#exec">exec</a>(); } - <a name="x2731"></a> return a.<a href="qapplication.html#exec">exec</a>(); + <a name="x2731"></a> return a.<a href="ntqapplication.html#exec">exec</a>(); } </pre> <p> @@ -97,7 +97,7 @@ to render OpenGL, and from <a href="qaxbindable.html">TQAxBindable</a>. to return the pointer to a <a href="qaxaggregated.html">TQAxAggregated</a> object. <pre> public: - GLBox( <a href="qwidget.html">TQWidget</a>* parent, const char* name ); + GLBox( <a href="ntqwidget.html">TQWidget</a>* parent, const char* name ); ~GLBox(); <a href="qaxaggregated.html">TQAxAggregated</a> *createAggregate(); @@ -123,7 +123,7 @@ interface. function to support the IObjectSafety interface. <pre> ObjectSafetyImpl() {} - long queryInterface( const <a href="quuid.html">TQUuid</a> &iid, void **iface ) + long queryInterface( const <a href="ntquuid.html">TQUuid</a> &iid, void **iface ) { *iface = 0; if ( iid == IID_IObjectSafety ) |