summaryrefslogtreecommitdiffstats
path: root/examples/opengl/overlay_x11
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /examples/opengl/overlay_x11
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
Diffstat (limited to 'examples/opengl/overlay_x11')
-rw-r--r--examples/opengl/overlay_x11/gearwidget.cpp4
-rw-r--r--examples/opengl/overlay_x11/main.cpp10
2 files changed, 7 insertions, 7 deletions
diff --git a/examples/opengl/overlay_x11/gearwidget.cpp b/examples/opengl/overlay_x11/gearwidget.cpp
index 4d717f27e..e9a00c0ae 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 TQt!
XWindowAttributes a;
XGetWindowAttributes( x11Display(), winId(), &a );
- qDebug( "TQGLWidget: using Visual ID: 0x%x.",
+ tqDebug( "TQGLWidget: 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 45d3a0ea4..c8a5dfba5 100644
--- a/examples/opengl/overlay_x11/main.cpp
+++ b/examples/opengl/overlay_x11/main.cpp
@@ -36,7 +36,7 @@ TQColor findOverlayTransparentColor()
appVisual = (Visual*)TQPaintDevice::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 @@ TQColor findOverlayTransparentColor()
return TQColor( tqRgb( 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 )
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;
}
TQColor 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;
}