diff options
author | Timothy Pearson <[email protected]> | 2012-02-28 22:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-28 22:31:39 -0600 |
commit | 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch) | |
tree | 6d4d5407c000add30aa78630e009c0e5d633e440 /examples/opengl/texture | |
parent | 1740cd279522c060e738bbbffacab83355d2b794 (diff) | |
download | tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip |
Automated conversion from qt3
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 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; } |