From f3a56fc35a9f787bb97b5cba0a901fcd6d959488 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:26:25 -0600 Subject: Rename additional global TQt functions --- examples/qtgl/main.cpp | 2 +- examples/qtgl/myqgl.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/qtgl') diff --git a/examples/qtgl/main.cpp b/examples/qtgl/main.cpp index a85d421..1c709dd 100644 --- a/examples/qtgl/main.cpp +++ b/examples/qtgl/main.cpp @@ -10,7 +10,7 @@ int main(int argc, char **argv) if(!QGLFormat::hasOpenGL()) { - qWarning( "This system has no OpenGL support. Exiting." ); + tqWarning( "This system has no OpenGL support. Exiting." ); return -1; } diff --git a/examples/qtgl/myqgl.cpp b/examples/qtgl/myqgl.cpp index b401bd1..2ae6e59 100644 --- a/examples/qtgl/myqgl.cpp +++ b/examples/qtgl/myqgl.cpp @@ -68,7 +68,7 @@ void MyQGL::loadImage() // no such library if(!lib.isLoaded()) { - qWarning("Can't load BMP library."); + tqWarning("Can't load BMP library."); tqApp->quit(); } @@ -84,7 +84,7 @@ void MyQGL::loadImage() // library corrupted! if(!codec_create || !codec_destroy) { - qWarning("Library corrupted."); + tqWarning("Library corrupted."); lib.unload(); tqApp->quit(); } @@ -94,7 +94,7 @@ void MyQGL::loadImage() // if the image doesn't exist if(!QFile::exists(s)) { - qWarning("Can't find example image."); + tqWarning("Can't find example image."); lib.unload(); tqApp->quit(); } -- cgit v1.2.1