From 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 28 Feb 2012 22:31:39 -0600 Subject: Automated conversion from qt3 --- examples/opengl/sharedbox/glbox.cpp | 10 +++++----- examples/opengl/sharedbox/main.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'examples/opengl/sharedbox') diff --git a/examples/opengl/sharedbox/glbox.cpp b/examples/opengl/sharedbox/glbox.cpp index f3ded8888..76163a712 100644 --- a/examples/opengl/sharedbox/glbox.cpp +++ b/examples/opengl/sharedbox/glbox.cpp @@ -57,18 +57,18 @@ void GLBox::initializeGL() sharedDisplayList = makeObject(); // Make one object = sharedDisplayList; // Use it sharedListUsers++; // Keep reference count - qDebug( "GLBox %s created shared display list.", name() ); + tqDebug( "GLBox %s created shared display list.", name() ); } else { // There is a shared diplay list if ( isSharing() ) { // Can we access it? object = sharedDisplayList; // Yes, use it sharedListUsers++; // Keep reference count - qDebug( "GLBox %s uses shared display list.", name() ); + tqDebug( "GLBox %s uses shared display list.", name() ); } else { localDisplayList = makeObject(); // No, roll our own object = localDisplayList; // and use that - qDebug( "GLBox %s uses private display list.", name() ); + tqDebug( "GLBox %s uses private display list.", name() ); } } } @@ -84,14 +84,14 @@ GLBox::~GLBox() makeCurrent(); // We're going to do gl calls if ( localDisplayList != 0 ) { // Did we make our own? glDeleteLists( localDisplayList, 1 ); // Yes, delete it - qDebug( "GLBox %s deleted private display list.", name() ); + tqDebug( "GLBox %s deleted private display list.", name() ); } else { sharedListUsers--; // No, we used the shared one; keep refcount if ( sharedListUsers == 0 ) { // Any sharers left? glDeleteLists( sharedDisplayList, 1 ); // No, delete it sharedDisplayList = 0; - qDebug( "GLBox %s deleted shared display list.", name() ); + tqDebug( "GLBox %s deleted shared display list.", name() ); } } } diff --git a/examples/opengl/sharedbox/main.cpp b/examples/opengl/sharedbox/main.cpp index b8f735582..67d1c77d5 100644 --- a/examples/opengl/sharedbox/main.cpp +++ b/examples/opengl/sharedbox/main.cpp @@ -30,7 +30,7 @@ int main( int argc, char **argv ) TQApplication a(argc,argv); if ( !TQGLFormat::hasOpenGL() ) { - qWarning( "This system has no OpenGL support. Exiting." ); + tqWarning( "This system has no OpenGL support. Exiting." ); return -1; } -- cgit v1.2.1