summaryrefslogtreecommitdiffstats
path: root/examples/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl')
-rw-r--r--examples/opengl/box/globjwin.cpp8
-rw-r--r--examples/opengl/glpixmap/globjwin.cpp18
-rw-r--r--examples/opengl/overlay/globjwin.cpp2
-rw-r--r--examples/opengl/sharedbox/globjwin.cpp16
-rw-r--r--examples/opengl/texture/globjwin.cpp10
-rw-r--r--examples/opengl/texture/gltexobj.cpp2
6 files changed, 28 insertions, 28 deletions
diff --git a/examples/opengl/box/globjwin.cpp b/examples/opengl/box/globjwin.cpp
index 9176fe4bd..d93c61af8 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", tqApp, SLOT(quit()), CTRL+Key_Q );
+ file->insertItem( "Exit", tqApp, TQ_SLOT(quit()), CTRL+Key_Q );
// Create a menu bar
TQMenuBar *m = new TQMenuBar( this );
@@ -43,15 +43,15 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name )
// Create the three sliders; one for each rotation axis
TQSlider* x = new TQSlider ( 0, 360, 60, 0, TQSlider::Vertical, this, "xsl" );
x->setTickmarks( TQSlider::Left );
- TQObject::connect( x, SIGNAL(valueChanged(int)),c,SLOT(setXRotation(int)) );
+ TQObject::connect( x, TQ_SIGNAL(valueChanged(int)),c,TQ_SLOT(setXRotation(int)) );
TQSlider* y = new TQSlider ( 0, 360, 60, 0, TQSlider::Vertical, this, "ysl" );
y->setTickmarks( TQSlider::Left );
- TQObject::connect( y, SIGNAL(valueChanged(int)),c,SLOT(setYRotation(int)) );
+ TQObject::connect( y, TQ_SIGNAL(valueChanged(int)),c,TQ_SLOT(setYRotation(int)) );
TQSlider* z = new TQSlider ( 0, 360, 60, 0, TQSlider::Vertical, this, "zsl" );
z->setTickmarks( TQSlider::Left );
- TQObject::connect( z, SIGNAL(valueChanged(int)),c,SLOT(setZRotation(int)) );
+ TQObject::connect( z, TQ_SIGNAL(valueChanged(int)),c,TQ_SLOT(setZRotation(int)) );
// Now that we have all the widgets, put them into a nice layout
diff --git a/examples/opengl/glpixmap/globjwin.cpp b/examples/opengl/glpixmap/globjwin.cpp
index 3f59ecd18..11cb675a6 100644
--- a/examples/opengl/glpixmap/globjwin.cpp
+++ b/examples/opengl/glpixmap/globjwin.cpp
@@ -36,17 +36,17 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name )
// Create a menu
file = new TQPopupMenu( this );
file->setCheckable( TRUE );
- file->insertItem( "Grab Frame Buffer", this, SLOT(grabFrameBuffer()) );
- file->insertItem( "Render Pixmap", this, SLOT(makePixmap()) );
- file->insertItem( "Render Pixmap Hidden", this, SLOT(makePixmapHidden()) );
+ file->insertItem( "Grab Frame Buffer", this, TQ_SLOT(grabFrameBuffer()) );
+ file->insertItem( "Render Pixmap", this, TQ_SLOT(makePixmap()) );
+ file->insertItem( "Render Pixmap Hidden", this, TQ_SLOT(makePixmapHidden()) );
file->insertSeparator();
fixMenuItemId = file->insertItem( "Use Fixed Pixmap Size", this,
- SLOT(useFixedPixmapSize()) );
+ TQ_SLOT(useFixedPixmapSize()) );
file->insertSeparator();
insertMenuItemId = file->insertItem( "Insert Pixmap Here", this,
- SLOT(makePixmapForMenu()) );
+ TQ_SLOT(makePixmapForMenu()) );
file->insertSeparator();
- file->insertItem( "Exit", tqApp, SLOT(quit()), CTRL+Key_Q );
+ file->insertItem( "Exit", tqApp, TQ_SLOT(quit()), CTRL+Key_Q );
// Create a menu bar
TQMenuBar *m = new TQMenuBar( this );
@@ -72,15 +72,15 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name )
// Create the three sliders; one for each rotation axis
TQSlider* x = new TQSlider ( 0, 360, 60, 0, TQSlider::Vertical, this, "xsl" );
x->setTickmarks( TQSlider::Left );
- connect( x, SIGNAL(valueChanged(int)), c1, SLOT(setXRotation(int)) );
+ connect( x, TQ_SIGNAL(valueChanged(int)), c1, TQ_SLOT(setXRotation(int)) );
TQSlider* y = new TQSlider ( 0, 360, 60, 0, TQSlider::Vertical, this, "ysl" );
y->setTickmarks( TQSlider::Left );
- connect( y, SIGNAL(valueChanged(int)), c1, SLOT(setYRotation(int)) );
+ connect( y, TQ_SIGNAL(valueChanged(int)), c1, TQ_SLOT(setYRotation(int)) );
TQSlider* z = new TQSlider ( 0, 360, 60, 0, TQSlider::Vertical, this, "zsl" );
z->setTickmarks( TQSlider::Left );
- connect( z, SIGNAL(valueChanged(int)), c1, SLOT(setZRotation(int)) );
+ connect( z, TQ_SIGNAL(valueChanged(int)), c1, TQ_SLOT(setZRotation(int)) );
// Now that we have all the widgets, put them into a nice layout
diff --git a/examples/opengl/overlay/globjwin.cpp b/examples/opengl/overlay/globjwin.cpp
index 2b3761b12..585994a7b 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", tqApp, SLOT(quit()), CTRL+Key_Q );
+ file->insertItem( "Exit", tqApp, TQ_SLOT(quit()), CTRL+Key_Q );
// Create a menu bar
TQMenuBar *m = new TQMenuBar( this );
diff --git a/examples/opengl/sharedbox/globjwin.cpp b/examples/opengl/sharedbox/globjwin.cpp
index d95482ff2..118783902 100644
--- a/examples/opengl/sharedbox/globjwin.cpp
+++ b/examples/opengl/sharedbox/globjwin.cpp
@@ -25,8 +25,8 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name )
// Create a menu
TQPopupMenu *file = new TQPopupMenu( this );
file->insertItem( "Delete Left TQGLWidget", this,
- SLOT(deleteFirstWidget()) );
- file->insertItem( "Exit", tqApp, SLOT(quit()), CTRL+Key_Q );
+ TQ_SLOT(deleteFirstWidget()) );
+ file->insertItem( "Exit", tqApp, TQ_SLOT(quit()), CTRL+Key_Q );
// Create a menu bar
TQMenuBar *m = new TQMenuBar( this );
@@ -51,18 +51,18 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name )
// Make them spin the boxes, but not in synch
TQSlider* x = new TQSlider ( 0, 360, 60, 0, TQSlider::Vertical, this, "xsl" );
x->setTickmarks( TQSlider::Left );
- connect( x, SIGNAL(valueChanged(int)), c1, SLOT(setXRotation(int)) );
- connect( x, SIGNAL(valueChanged(int)), c2, SLOT(setZRotation(int)) );
+ connect( x, TQ_SIGNAL(valueChanged(int)), c1, TQ_SLOT(setXRotation(int)) );
+ connect( x, TQ_SIGNAL(valueChanged(int)), c2, TQ_SLOT(setZRotation(int)) );
TQSlider* y = new TQSlider ( 0, 360, 60, 0, TQSlider::Vertical, this, "ysl" );
y->setTickmarks( TQSlider::Left );
- connect( y, SIGNAL(valueChanged(int)), c1, SLOT(setYRotation(int)) );
- connect( y, SIGNAL(valueChanged(int)), c2, SLOT(setXRotation(int)) );
+ connect( y, TQ_SIGNAL(valueChanged(int)), c1, TQ_SLOT(setYRotation(int)) );
+ connect( y, TQ_SIGNAL(valueChanged(int)), c2, TQ_SLOT(setXRotation(int)) );
TQSlider* z = new TQSlider ( 0, 360, 60, 0, TQSlider::Vertical, this, "zsl" );
z->setTickmarks( TQSlider::Left );
- connect( z, SIGNAL(valueChanged(int)), c1, SLOT(setZRotation(int)) );
- connect( z, SIGNAL(valueChanged(int)), c2, SLOT(setYRotation(int)) );
+ connect( z, TQ_SIGNAL(valueChanged(int)), c1, TQ_SLOT(setZRotation(int)) );
+ connect( z, TQ_SIGNAL(valueChanged(int)), c2, TQ_SLOT(setYRotation(int)) );
// Now that we have all the widgets, put them into a nice layout
diff --git a/examples/opengl/texture/globjwin.cpp b/examples/opengl/texture/globjwin.cpp
index b02d0d171..3a591c225 100644
--- a/examples/opengl/texture/globjwin.cpp
+++ b/examples/opengl/texture/globjwin.cpp
@@ -33,10 +33,10 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name )
// Create a menu
TQPopupMenu *file = new TQPopupMenu( this );
- file->insertItem( "Toggle Animation", c, SLOT(toggleAnimation()),
+ file->insertItem( "Toggle Animation", c, TQ_SLOT(toggleAnimation()),
CTRL+Key_A );
file->insertSeparator();
- file->insertItem( "Exit", tqApp, SLOT(quit()), CTRL+Key_Q );
+ file->insertItem( "Exit", tqApp, TQ_SLOT(quit()), CTRL+Key_Q );
// Create a menu bar
TQMenuBar *m = new TQMenuBar( this );
@@ -46,15 +46,15 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name )
// Create the three sliders; one for each rotation axis
TQSlider* x = new TQSlider ( 0, 360, 60, 0, TQSlider::Vertical, this, "xsl" );
x->setTickmarks( TQSlider::Left );
- connect( x, SIGNAL(valueChanged(int)), c, SLOT(setXRotation(int)) );
+ connect( x, TQ_SIGNAL(valueChanged(int)), c, TQ_SLOT(setXRotation(int)) );
TQSlider* y = new TQSlider ( 0, 360, 60, 0, TQSlider::Vertical, this, "ysl" );
y->setTickmarks( TQSlider::Left );
- connect( y, SIGNAL(valueChanged(int)), c, SLOT(setYRotation(int)) );
+ connect( y, TQ_SIGNAL(valueChanged(int)), c, TQ_SLOT(setYRotation(int)) );
TQSlider* z = new TQSlider ( 0, 360, 60, 0, TQSlider::Vertical, this, "zsl" );
z->setTickmarks( TQSlider::Left );
- connect( z, SIGNAL(valueChanged(int)), c, SLOT(setZRotation(int)) );
+ connect( z, TQ_SIGNAL(valueChanged(int)), c, TQ_SLOT(setZRotation(int)) );
// Now that we have all the widgets, put them into a nice layout
diff --git a/examples/opengl/texture/gltexobj.cpp b/examples/opengl/texture/gltexobj.cpp
index 973cd4d53..78b0fcefb 100644
--- a/examples/opengl/texture/gltexobj.cpp
+++ b/examples/opengl/texture/gltexobj.cpp
@@ -35,7 +35,7 @@ GLTexobj::GLTexobj( TQWidget* parent, const char* name )
object = 0;
animation = TRUE;
timer = new TQTimer( this );
- connect( timer, SIGNAL(timeout()), SLOT(update()) );
+ connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(update()) );
timer->start( redrawWait, TRUE );
}