Rename additional global TQt functions

r14.0.x
Timothy Pearson 12 years ago
parent 40ec27a202
commit f3a56fc35a

@ -24,7 +24,7 @@ QPixmap MyQT::loadImage()
if(!lib.isLoaded()) if(!lib.isLoaded())
{ {
qWarning("Can't load BMP library."); tqWarning("Can't load BMP library.");
tqApp->quit(); tqApp->quit();
} }
@ -38,7 +38,7 @@ QPixmap MyQT::loadImage()
if(!codec_create || !codec_destroy) if(!codec_create || !codec_destroy)
{ {
qWarning("Library corrupted."); tqWarning("Library corrupted.");
lib.unload(); lib.unload();
tqApp->quit(); tqApp->quit();
} }
@ -47,7 +47,7 @@ QPixmap MyQT::loadImage()
if(!QFile::exists(s)) if(!QFile::exists(s))
{ {
qWarning("Can't find example image."); tqWarning("Can't find example image.");
lib.unload(); lib.unload();
tqApp->quit(); tqApp->quit();
} }

@ -10,7 +10,7 @@ int main(int argc, char **argv)
if(!QGLFormat::hasOpenGL()) if(!QGLFormat::hasOpenGL())
{ {
qWarning( "This system has no OpenGL support. Exiting." ); tqWarning( "This system has no OpenGL support. Exiting." );
return -1; return -1;
} }

@ -68,7 +68,7 @@ void MyQGL::loadImage()
// no such library // no such library
if(!lib.isLoaded()) if(!lib.isLoaded())
{ {
qWarning("Can't load BMP library."); tqWarning("Can't load BMP library.");
tqApp->quit(); tqApp->quit();
} }
@ -84,7 +84,7 @@ void MyQGL::loadImage()
// library corrupted! // library corrupted!
if(!codec_create || !codec_destroy) if(!codec_create || !codec_destroy)
{ {
qWarning("Library corrupted."); tqWarning("Library corrupted.");
lib.unload(); lib.unload();
tqApp->quit(); tqApp->quit();
} }
@ -94,7 +94,7 @@ void MyQGL::loadImage()
// if the image doesn't exist // if the image doesn't exist
if(!QFile::exists(s)) if(!QFile::exists(s))
{ {
qWarning("Can't find example image."); tqWarning("Can't find example image.");
lib.unload(); lib.unload();
tqApp->quit(); tqApp->quit();
} }

Loading…
Cancel
Save