summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-01 13:26:25 -0600
committerTimothy Pearson <[email protected]>2012-03-01 13:26:25 -0600
commitf3a56fc35a9f787bb97b5cba0a901fcd6d959488 (patch)
treeac9f1ddcb20faa583b6eb4bfd91d199779f553f7 /examples
parent40ec27a2027ed46fcc58a053d58b937b12eb1d44 (diff)
downloadlibksquirrel-f3a56fc35a9f787bb97b5cba0a901fcd6d959488.tar.gz
libksquirrel-f3a56fc35a9f787bb97b5cba0a901fcd6d959488.zip
Rename additional global TQt functions
Diffstat (limited to 'examples')
-rw-r--r--examples/qtapp/myqt.cpp6
-rw-r--r--examples/qtgl/main.cpp2
-rw-r--r--examples/qtgl/myqgl.cpp6
3 files changed, 7 insertions, 7 deletions
diff --git a/examples/qtapp/myqt.cpp b/examples/qtapp/myqt.cpp
index d13302f..01e01f9 100644
--- a/examples/qtapp/myqt.cpp
+++ b/examples/qtapp/myqt.cpp
@@ -24,7 +24,7 @@ QPixmap MyQT::loadImage()
if(!lib.isLoaded())
{
- qWarning("Can't load BMP library.");
+ tqWarning("Can't load BMP library.");
tqApp->quit();
}
@@ -38,7 +38,7 @@ QPixmap MyQT::loadImage()
if(!codec_create || !codec_destroy)
{
- qWarning("Library corrupted.");
+ tqWarning("Library corrupted.");
lib.unload();
tqApp->quit();
}
@@ -47,7 +47,7 @@ QPixmap MyQT::loadImage()
if(!QFile::exists(s))
{
- qWarning("Can't find example image.");
+ tqWarning("Can't find example image.");
lib.unload();
tqApp->quit();
}
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();
}