diff --git a/examples/qtapp/myqt.cpp b/examples/qtapp/myqt.cpp index 9cd4b80..d13302f 100644 --- a/examples/qtapp/myqt.cpp +++ b/examples/qtapp/myqt.cpp @@ -25,7 +25,7 @@ QPixmap MyQT::loadImage() if(!lib.isLoaded()) { qWarning("Can't load BMP library."); - qApp->quit(); + tqApp->quit(); } int i = 0; @@ -40,7 +40,7 @@ QPixmap MyQT::loadImage() { qWarning("Library corrupted."); lib.unload(); - qApp->quit(); + tqApp->quit(); } const char *s = "../w3.bmp"; @@ -49,7 +49,7 @@ QPixmap MyQT::loadImage() { qWarning("Can't find example image."); lib.unload(); - qApp->quit(); + tqApp->quit(); } codeK = codec_create(); diff --git a/examples/qtgl/myqgl.cpp b/examples/qtgl/myqgl.cpp index 42fe1da..b401bd1 100644 --- a/examples/qtgl/myqgl.cpp +++ b/examples/qtgl/myqgl.cpp @@ -69,7 +69,7 @@ void MyQGL::loadImage() if(!lib.isLoaded()) { qWarning("Can't load BMP library."); - qApp->quit(); + tqApp->quit(); } int i = 0; @@ -86,7 +86,7 @@ void MyQGL::loadImage() { qWarning("Library corrupted."); lib.unload(); - qApp->quit(); + tqApp->quit(); } const char *s = "../w3.bmp"; @@ -96,7 +96,7 @@ void MyQGL::loadImage() { qWarning("Can't find example image."); lib.unload(); - qApp->quit(); + tqApp->quit(); } // OK, create decoder