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/qaxserver-example-opengl.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc/html/qaxserver-example-opengl.html') 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}" ) -The implementation of main initializes the TQApplication object, +The implementation of main initializes the TQApplication object, and uses TQAxFactory::isServer() to determine whether or not it is appropriate to create and show the application interface.
    /*
@@ -65,22 +65,22 @@ appropriate to create and show the application interface.
 
     int main( int argc, char **argv )
     {
-        TQApplication::setColorSpec( TQApplication::CustomColor );
-        TQApplication a(argc,argv);
+        TQApplication::setColorSpec( TQApplication::CustomColor );
+        TQApplication a(argc,argv);
 
         if ( !TQGLFormat::hasOpenGL() ) {
-            qWarning( "This system has no OpenGL support. Exiting." );
+            qWarning( "This system has no OpenGL support. Exiting." );
             return -1;
         }
 
         if ( !TQAxFactory::isServer() ) {
             GLObjectWindow w;
-            w.resize( 400, 350 );
-            a.setMainWidget( &w );
-            w.show();
-            return a.exec();
+            w.resize( 400, 350 );
+            a.setMainWidget( &w );
+            w.show();
+            return a.exec();
         }
-        return a.exec();
+        return a.exec();
     }
 

@@ -97,7 +97,7 @@ to render OpenGL, and from TQAxBindable. to return the pointer to a TQAxAggregated object.

    public:
 
-        GLBox( TQWidget* parent, const char* name );
+        GLBox( TQWidget* parent, const char* name );
         ~GLBox();
 
         TQAxAggregated *createAggregate();
@@ -123,7 +123,7 @@ interface.
 function to support the IObjectSafety interface.
 
        ObjectSafetyImpl() {}
 
-        long queryInterface( const TQUuid &iid, void **iface )
+        long queryInterface( const TQUuid &iid, void **iface )
         {
             *iface = 0;
             if ( iid == IID_IObjectSafety )
-- 
cgit v1.2.1