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 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/opengl/sharedbox/glbox.cpp') 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() ); } } } -- cgit v1.2.3