summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/qtapp/myqt.cpp6
-rw-r--r--examples/qtgl/myqgl.cpp6
2 files changed, 6 insertions, 6 deletions
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