summaryrefslogtreecommitdiffstats
path: root/examples/demo/frame.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/demo/frame.cpp
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz
tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/demo/frame.cpp')
-rw-r--r--examples/demo/frame.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/demo/frame.cpp b/examples/demo/frame.cpp
index 0cd5006a3..a263b8b1a 100644
--- a/examples/demo/frame.cpp
+++ b/examples/demo/frame.cpp
@@ -34,7 +34,7 @@ Frame::Frame( TQWidget *parent, const char *name )
{
TQMenuBar *mainMenu = menuBar();
TQPopupMenu *fileMenu = new TQPopupMenu( this, "file" );
- fileMenu->insertItem( tr( "&Exit" ), this, SLOT( close() ),
+ fileMenu->insertItem( tr( "&Exit" ), this, TQ_SLOT( close() ),
TQAccel::stringToKey( tr( "Ctrl+Q" ) ) );
TQPopupMenu *styleMenu = new TQPopupMenu( this, "style" );
@@ -42,8 +42,8 @@ Frame::Frame( TQWidget *parent, const char *name )
TQActionGroup *ag = new TQActionGroup( this, 0 );
ag->setExclusive( TRUE );
TQSignalMapper *styleMapper = new TQSignalMapper( this );
- connect( styleMapper, SIGNAL( mapped( const TQString& ) ),
- this, SLOT( setStyle( const TQString& ) ) );
+ connect( styleMapper, TQ_SIGNAL( mapped( const TQString& ) ),
+ this, TQ_SLOT( setStyle( const TQString& ) ) );
TQStringList list = TQStyleFactory::keys();
list.sort();
@@ -65,7 +65,7 @@ Frame::Frame( TQWidget *parent, const char *name )
}
TQAction *a = new TQAction( style, TQIconSet(),
styleAccel, 0, ag, 0, ag->isExclusive() );
- connect( a, SIGNAL( activated() ), styleMapper, SLOT(map()) );
+ connect( a, TQ_SIGNAL( activated() ), styleMapper, TQ_SLOT(map()) );
styleMapper->setMapping( a, a->text() );
}
ag->addTo( styleMenu );
@@ -117,7 +117,7 @@ TQWidget *Frame::createCategoryPage( CategoryInterface *c )
b->setTextPosition( TQToolButton::Right );
b->setUsesTextLabel( TRUE );
g->insert( b, i + c->categoryOffset() );
- connect( g, SIGNAL( clicked( int ) ), c, SLOT( setCurrentCategory( int ) ) );
+ connect( g, TQ_SIGNAL( clicked( int ) ), c, TQ_SLOT( setCurrentCategory( int ) ) );
}
return g;
}