From a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:24:30 -0600 Subject: Rename additional global TQt functions --- examples/opengl/overlay_x11/gearwidget.cpp | 4 ++-- examples/opengl/overlay_x11/main.cpp | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'examples/opengl/overlay_x11') diff --git a/examples/opengl/overlay_x11/gearwidget.cpp b/examples/opengl/overlay_x11/gearwidget.cpp index e98938d..98fe110 100644 --- a/examples/opengl/overlay_x11/gearwidget.cpp +++ b/examples/opengl/overlay_x11/gearwidget.cpp @@ -250,7 +250,7 @@ void GearWidget::resizeGL( int width, int height ) void GearWidget::paintGL() { - qDebug( "GearWidget: Doing GL rendering." ); + tqDebug( "GearWidget: Doing GL rendering." ); #if defined (Q_GLX) static bool doneIt = FALSE; if ( !doneIt ) { @@ -259,7 +259,7 @@ void GearWidget::paintGL() // simpler in future versions of Qt! XWindowAttributes a; XGetWindowAttributes( x11Display(), winId(), &a ); - qDebug( "QGLWidget: using Visual ID: 0x%x.", + tqDebug( "QGLWidget: using Visual ID: 0x%x.", (int)XVisualIDFromVisual( a.visual ) ); } #endif diff --git a/examples/opengl/overlay_x11/main.cpp b/examples/opengl/overlay_x11/main.cpp index 10ff6fc..bb1dfe1 100644 --- a/examples/opengl/overlay_x11/main.cpp +++ b/examples/opengl/overlay_x11/main.cpp @@ -36,7 +36,7 @@ QColor findOverlayTransparentColor() appVisual = (Visual*)QPaintDevice::x11AppVisual(); #endif - qDebug( "Default Visual ID: 0x%x", (int)XVisualIDFromVisual(appVisual) ); + tqDebug( "Default Visual ID: 0x%x", (int)XVisualIDFromVisual(appVisual) ); typedef struct OverlayProp { long visual; @@ -80,11 +80,11 @@ QColor findOverlayTransparentColor() return QColor( qRgb( 1, 2, 3 ), overlayProp[i].value ); } - qWarning( "Default visual is not in overlay plane" ); + tqWarning( "Default visual is not in overlay plane" ); return invalidColor; #else // defined(Q_WS_X11) - qWarning( "Wrong window system - Only X11 has overlay support." ); + tqWarning( "Wrong window system - Only X11 has overlay support." ); return invalidColor; #endif } @@ -96,13 +96,13 @@ 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; } QColor transparentColor = findOverlayTransparentColor(); if ( !transparentColor.isValid() ) { - qWarning( "Failed to get transparent color for overlay. Exiting." ); + tqWarning( "Failed to get transparent color for overlay. Exiting." ); return -1; } -- cgit v1.2.1