summaryrefslogtreecommitdiffstats
path: root/examples/opengl/glpixmap
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/glpixmap')
-rw-r--r--examples/opengl/glpixmap/globjwin.cpp2
-rw-r--r--examples/opengl/glpixmap/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/opengl/glpixmap/globjwin.cpp b/examples/opengl/glpixmap/globjwin.cpp
index 7a50153..1b3269b 100644
--- a/examples/opengl/glpixmap/globjwin.cpp
+++ b/examples/opengl/glpixmap/globjwin.cpp
@@ -180,7 +180,7 @@ void GLObjectWindow::drawOnPixmap( QPixmap* pm )
// Draw some text on the pixmap to differentiate it from the GL window
if ( pm->isNull() ) {
- tqWarning("Cannot draw on null pixmap");
+ qWarning("Cannot draw on null pixmap");
return;
}
else {
diff --git a/examples/opengl/glpixmap/main.cpp b/examples/opengl/glpixmap/main.cpp
index b4af120..25ee5b4 100644
--- a/examples/opengl/glpixmap/main.cpp
+++ b/examples/opengl/glpixmap/main.cpp
@@ -30,7 +30,7 @@ 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;
}