diff options
Diffstat (limited to 'examples/opengl/overlay')
-rw-r--r-- | examples/opengl/overlay/globjwin.cpp | 4 | ||||
-rw-r--r-- | examples/opengl/overlay/main.cpp | 2 |
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; |