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-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /examples/demo/frame.cpp
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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;
}