summaryrefslogtreecommitdiffstats
path: root/examples/opengl/overlay
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:13:42 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:13:42 -0600
commit520c05ef06ce203ad32470730f68402bc7719157 (patch)
tree8d0bb18bbbecb4c837e232848905e5819db84b81 /examples/opengl/overlay
parentb82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff)
downloadtqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz
tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip
Automated update from qt3
Diffstat (limited to 'examples/opengl/overlay')
-rw-r--r--examples/opengl/overlay/globjwin.cpp4
-rw-r--r--examples/opengl/overlay/main.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/opengl/overlay/globjwin.cpp b/examples/opengl/overlay/globjwin.cpp
index 0c79cd6a9..2b3761b12 100644
--- a/examples/opengl/overlay/globjwin.cpp
+++ b/examples/opengl/overlay/globjwin.cpp
@@ -22,7 +22,7 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name )
{
// Create a menu
TQPopupMenu *file = new TQPopupMenu( this );
- file->insertItem( "Exit", qApp, SLOT(quit()), CTRL+Key_Q );
+ file->insertItem( "Exit", tqApp, SLOT(quit()), CTRL+Key_Q );
// Create a menu bar
TQMenuBar *m = new TQMenuBar( this );
@@ -39,7 +39,7 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name )
// Check if we obtained an overlay
if ( !c->format().hasOverlay() ) {
- TQMessageBox::warning( 0, qApp->argv()[0],
+ TQMessageBox::warning( 0, tqApp->argv()[0],
"Failed to get an OpenGL overlay",
"OK" );
}
diff --git a/examples/opengl/overlay/main.cpp b/examples/opengl/overlay/main.cpp
index ca1ec488c..22e367b4d 100644
--- a/examples/opengl/overlay/main.cpp
+++ b/examples/opengl/overlay/main.cpp
@@ -37,7 +37,7 @@ int main( int argc, char **argv )
// Check for existence of overlays
if ( !TQGLFormat::hasOpenGLOverlays() ) {
- TQMessageBox::critical( 0, qApp->argv()[0],
+ TQMessageBox::critical( 0, tqApp->argv()[0],
"This system does not support OpenGL overlays",
"Exit" );
return 1;