diff options
author | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-31 22:16:03 +0900 |
commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/opengl/texture | |
parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
download | tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/opengl/texture')
-rw-r--r-- | examples/opengl/texture/globjwin.cpp | 10 | ||||
-rw-r--r-- | examples/opengl/texture/gltexobj.cpp | 2 |
2 files changed, 6 insertions, 6 deletions
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 ); } |