summaryrefslogtreecommitdiffstats
path: root/examples/opengl/texture
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/texture')
-rw-r--r--examples/opengl/texture/gltexobj.cpp4
-rw-r--r--examples/opengl/texture/main.cpp2
2 files changed, 3 insertions, 3 deletions
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;
}