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 7716d771f..33227c9af 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 8a2a8c102..117917e38 100644
--- a/examples/demo/opengl/gltexobj.cpp
+++ b/examples/demo/opengl/gltexobj.cpp
@@ -100,7 +100,7 @@ void GLTexobj::initializeGL()
TQImage 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." );
TQImage dummy( 128, 128, 32 );
dummy.fill( TQt::green.rgb() );
buf = dummy;
@@ -108,7 +108,7 @@ void GLTexobj::initializeGL()
tex1 = TQGLWidget::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." );
TQImage dummy( 128, 128, 32 );
dummy.fill( TQt::red.rgb() );
buf = dummy;