From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- examples/demo/opengl/glworkspace.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'examples/demo/opengl/glworkspace.cpp') diff --git a/examples/demo/opengl/glworkspace.cpp b/examples/demo/opengl/glworkspace.cpp index 3010d4105..8d7541fcb 100644 --- a/examples/demo/opengl/glworkspace.cpp +++ b/examples/demo/opengl/glworkspace.cpp @@ -50,13 +50,13 @@ void GLWorkspace::setupSceneActions() newGroup->setExclusive( FALSE ); newGroup->setIconSet( TQPixmap( "textdrawing/filenew.png" ) ); a = new TQAction( tr( "Wirebox" ), TQPixmap( "opengl/wirebox.xpm" ), tr( "&Wirebox" ), 0, newGroup ); - connect( a, SIGNAL( activated() ), this, SLOT( newWirebox() ) ); + connect( a, TQ_SIGNAL( activated() ), this, TQ_SLOT( newWirebox() ) ); a = new TQAction( tr( "Gear" ), TQPixmap( "opengl/gear.xpm" ), tr( "&Gears" ), 0, newGroup ); - connect( a, SIGNAL( activated() ), this, SLOT( newGear() ) ); + connect( a, TQ_SIGNAL( activated() ), this, TQ_SLOT( newGear() ) ); a = new TQAction( tr( "Texture" ), TQPixmap( "opengl/texture.xpm" ), tr( "&Texture" ), 0, newGroup ); - connect( a, SIGNAL( activated() ), this, SLOT( newTexture() ) ); + connect( a, TQ_SIGNAL( activated() ), this, TQ_SLOT( newTexture() ) ); /* a = new TQAction( tr( "Nurbs" ), TQPixmap( "opengl/nurbs.xpm" ), tr( "&Nurbs" ), 0, newGroup ); - connect( a, SIGNAL( activated() ), this, SLOT( newNurbs() ) );*/ + connect( a, TQ_SIGNAL( activated() ), this, TQ_SLOT( newNurbs() ) );*/ newGroup->addTo( tb ); newGroup->addTo( menu ); @@ -68,21 +68,21 @@ void GLWorkspace::setupSceneActions() printGroup->setExclusive( FALSE ); printGroup->setIconSet( TQPixmap( "textdrawing/print.png" ) ); TQAction *da = new TQAction( tr( "Window Size" ), TQPixmap( "textdrawing/print.png" ), tr( "&Window Size" ), CTRL + Key_P, printGroup ); - connect( da, SIGNAL( activated() ), this, SLOT( filePrintWindowRes() ) ); + connect( da, TQ_SIGNAL( activated() ), this, TQ_SLOT( filePrintWindowRes() ) ); a = new TQAction( tr( "Low Resolution" ), tr( "&Low Resolution" ), 0, printGroup ); - connect( a, SIGNAL( activated() ), this, SLOT( filePrintLowRes() ) ); + connect( a, TQ_SIGNAL( activated() ), this, TQ_SLOT( filePrintLowRes() ) ); a = new TQAction( tr( "Medium Resolution" ), tr( "&Medium Resolution" ), 0, printGroup ); - connect( a, SIGNAL( activated() ), this, SLOT( filePrintMedRes() ) ); + connect( a, TQ_SIGNAL( activated() ), this, TQ_SLOT( filePrintMedRes() ) ); a = new TQAction( tr( "High Resolution" ), tr( "&High Resolution" ), 0, printGroup ); - connect( a, SIGNAL( activated() ), this, SLOT( filePrintHighRes() ) ); + connect( a, TQ_SIGNAL( activated() ), this, TQ_SLOT( filePrintHighRes() ) ); printGroup->addSeparator(); a = new TQAction( tr( "Setup" ), tr( "&Setup..." ), 0, printGroup ); - connect( a, SIGNAL( activated() ), this, SLOT( filePrintSetup() ) ); + connect( a, TQ_SIGNAL( activated() ), this, TQ_SLOT( filePrintSetup() ) ); da->addTo( tb ); printGroup->addTo( menu ); a = new TQAction( tr( "Close" ), TQPixmap(), tr( "&Close" ), 0, this ); - connect( a, SIGNAL( activated() ), this, SLOT( fileClose() ) ); + connect( a, TQ_SIGNAL( activated() ), this, TQ_SLOT( fileClose() ) ); a->addTo( menu ); } -- cgit v1.2.3