summaryrefslogtreecommitdiffstats
path: root/examples/demo
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo')
-rw-r--r--examples/demo/opengl/glinfo_x11.cpp2
-rw-r--r--examples/demo/opengl/gltexobj.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/demo/opengl/glinfo_x11.cpp b/examples/demo/opengl/glinfo_x11.cpp
index 1137ef9..58d5144 100644
--- a/examples/demo/opengl/glinfo_x11.cpp
+++ b/examples/demo/opengl/glinfo_x11.cpp
@@ -236,7 +236,7 @@ GLInfo::GLInfo()
dpy = gl.x11Display();
if ( !dpy ) {
- qWarning( "Error: unable to open display %s\n", displayName );
+ tqWarning( "Error: unable to open display %s\n", displayName );
}
numScreens = ScreenCount( dpy );
diff --git a/examples/demo/opengl/gltexobj.cpp b/examples/demo/opengl/gltexobj.cpp
index 60627da..2844462 100644
--- a/examples/demo/opengl/gltexobj.cpp
+++ b/examples/demo/opengl/gltexobj.cpp
@@ -100,7 +100,7 @@ void GLTexobj::initializeGL()
QImage tex1, tex2, buf;
if ( !buf.load( "opengl/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;
@@ -108,7 +108,7 @@ void GLTexobj::initializeGL()
tex1 = QGLWidget::convertToGLFormat( buf ); // flipped 32bit RGBA
if ( !buf.load( "opengl/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;