From a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:24:30 -0600 Subject: Rename additional global TQt functions --- examples/opengl/texture/gltexobj.cpp | 4 ++-- examples/opengl/texture/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/opengl/texture') diff --git a/examples/opengl/texture/gltexobj.cpp b/examples/opengl/texture/gltexobj.cpp index 2fc05d6..10a1f0f 100644 --- a/examples/opengl/texture/gltexobj.cpp +++ b/examples/opengl/texture/gltexobj.cpp @@ -109,7 +109,7 @@ void GLTexobj::initializeGL() QImage tex1, tex2, buf; if ( !buf.load( "gllogo.bmp" ) ) { // Load first image from file - qWarning( "Could not read image file, using single-color instead." ); + tqWarning( "Could not read image file, using single-color instead." ); QImage dummy( 128, 128, 32 ); dummy.fill( Qt::green.rgb() ); buf = dummy; @@ -117,7 +117,7 @@ void GLTexobj::initializeGL() tex1 = QGLWidget::convertToGLFormat( buf ); // flipped 32bit RGBA if ( !buf.load( "qtlogo.bmp" ) ) { // Load first image from file - qWarning( "Could not read image file, using single-color instead." ); + tqWarning( "Could not read image file, using single-color instead." ); QImage dummy( 128, 128, 32 ); dummy.fill( Qt::red.rgb() ); buf = dummy; diff --git a/examples/opengl/texture/main.cpp b/examples/opengl/texture/main.cpp index 0470d00..043a057 100644 --- a/examples/opengl/texture/main.cpp +++ b/examples/opengl/texture/main.cpp @@ -28,7 +28,7 @@ int main( int argc, char **argv ) QApplication a(argc,argv); if ( !QGLFormat::hasOpenGL() ) { - qWarning( "This system has no OpenGL support. Exiting." ); + tqWarning( "This system has no OpenGL support. Exiting." ); return -1; } -- cgit v1.2.3