summaryrefslogtreecommitdiffstats
path: root/examples/opengl
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
parentb82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff)
downloadtqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz
tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip
Automated update from qt3
Diffstat (limited to 'examples/opengl')
-rw-r--r--examples/opengl/box/globjwin.cpp2
-rw-r--r--examples/opengl/glpixmap/globjwin.cpp2
-rw-r--r--examples/opengl/overlay/globjwin.cpp4
-rw-r--r--examples/opengl/overlay/main.cpp2
-rw-r--r--examples/opengl/overlay_x11/main.cpp2
-rw-r--r--examples/opengl/sharedbox/globjwin.cpp2
-rw-r--r--examples/opengl/texture/globjwin.cpp2
7 files changed, 8 insertions, 8 deletions
diff --git a/examples/opengl/box/globjwin.cpp b/examples/opengl/box/globjwin.cpp
index ed40f9ec0..9176fe4bd 100644
--- a/examples/opengl/box/globjwin.cpp
+++ b/examples/opengl/box/globjwin.cpp
@@ -25,7 +25,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 );
diff --git a/examples/opengl/glpixmap/globjwin.cpp b/examples/opengl/glpixmap/globjwin.cpp
index 1309207b0..59b6c244c 100644
--- a/examples/opengl/glpixmap/globjwin.cpp
+++ b/examples/opengl/glpixmap/globjwin.cpp
@@ -46,7 +46,7 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name )
insertMenuItemId = file->insertItem( "Insert Pixmap Here", this,
SLOT(makePixmapForMenu()) );
file->insertSeparator();
- 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 );
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;
diff --git a/examples/opengl/overlay_x11/main.cpp b/examples/opengl/overlay_x11/main.cpp
index c96e3d9b0..45d3a0ea4 100644
--- a/examples/opengl/overlay_x11/main.cpp
+++ b/examples/opengl/overlay_x11/main.cpp
@@ -77,7 +77,7 @@ TQColor findOverlayTransparentColor()
for ( uint i = 0; i < nItems/4; i++ ) {
if ( (VisualID)overlayProp[i].visual == XVisualIDFromVisual(appVisual)
&& overlayProp[i].type == 1 )
- return TQColor( qRgb( 1, 2, 3 ), overlayProp[i].value );
+ return TQColor( tqRgb( 1, 2, 3 ), overlayProp[i].value );
}
qWarning( "Default visual is not in overlay plane" );
diff --git a/examples/opengl/sharedbox/globjwin.cpp b/examples/opengl/sharedbox/globjwin.cpp
index a50573bb8..d95482ff2 100644
--- a/examples/opengl/sharedbox/globjwin.cpp
+++ b/examples/opengl/sharedbox/globjwin.cpp
@@ -26,7 +26,7 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name )
TQPopupMenu *file = new TQPopupMenu( this );
file->insertItem( "Delete Left TQGLWidget", this,
SLOT(deleteFirstWidget()) );
- 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 );
diff --git a/examples/opengl/texture/globjwin.cpp b/examples/opengl/texture/globjwin.cpp
index a6a2e6c04..b02d0d171 100644
--- a/examples/opengl/texture/globjwin.cpp
+++ b/examples/opengl/texture/globjwin.cpp
@@ -36,7 +36,7 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name )
file->insertItem( "Toggle Animation", c, SLOT(toggleAnimation()),
CTRL+Key_A );
file->insertSeparator();
- 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 );