diff options
Diffstat (limited to 'examples/opengl/texture')
-rw-r--r-- | examples/opengl/texture/gltexobj.cpp | 4 | ||||
-rw-r--r-- | examples/opengl/texture/main.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/opengl/texture/gltexobj.cpp b/examples/opengl/texture/gltexobj.cpp index 10a1f0f..2fc05d6 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 - tqWarning( "Could not read image file, using single-color instead." ); + qWarning( "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 - tqWarning( "Could not read image file, using single-color instead." ); + qWarning( "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 043a057..0470d00 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() ) { - tqWarning( "This system has no OpenGL support. Exiting." ); + qWarning( "This system has no OpenGL support. Exiting." ); return -1; } |