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/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 fc77eaa5a..973cd4d53 100644 --- a/examples/opengl/texture/gltexobj.cpp +++ b/examples/opengl/texture/gltexobj.cpp @@ -109,7 +109,7 @@ void GLTexobj::initializeGL() TQImage 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." ); TQImage dummy( 128, 128, 32 ); dummy.fill( TQt::green.rgb() ); buf = dummy; @@ -117,7 +117,7 @@ void GLTexobj::initializeGL() tex1 = TQGLWidget::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." ); TQImage dummy( 128, 128, 32 ); dummy.fill( TQt::red.rgb() ); buf = dummy; diff --git a/examples/opengl/texture/main.cpp b/examples/opengl/texture/main.cpp index 51c48ea7c..35b97f368 100644 --- a/examples/opengl/texture/main.cpp +++ b/examples/opengl/texture/main.cpp @@ -28,7 +28,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