diff options
Diffstat (limited to 'examples/opengl/glpixmap/globjwin.cpp')
-rw-r--r-- | examples/opengl/glpixmap/globjwin.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
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 |