summaryrefslogtreecommitdiffstats
path: root/examples/opengl/overlay_x11/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/overlay_x11/main.cpp')
-rw-r--r--examples/opengl/overlay_x11/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/opengl/overlay_x11/main.cpp b/examples/opengl/overlay_x11/main.cpp
index bb1dfe1..10ff6fc 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
- tqDebug( "Default Visual ID: 0x%x", (int)XVisualIDFromVisual(appVisual) );
+ qDebug( "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 );
}
- tqWarning( "Default visual is not in overlay plane" );
+ qWarning( "Default visual is not in overlay plane" );
return invalidColor;
#else // defined(Q_WS_X11)
- tqWarning( "Wrong window system - Only X11 has overlay support." );
+ qWarning( "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() ) {
- tqWarning( "This system has no OpenGL support. Exiting." );
+ qWarning( "This system has no OpenGL support. Exiting." );
return -1;
}
QColor transparentColor = findOverlayTransparentColor();
if ( !transparentColor.isValid() ) {
- tqWarning( "Failed to get transparent color for overlay. Exiting." );
+ qWarning( "Failed to get transparent color for overlay. Exiting." );
return -1;
}