From a966514dd8398a2dd1a49820f336f997da1f628c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 7 Jan 2024 19:47:24 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/menu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/menu.cpp') diff --git a/src/menu.cpp b/src/menu.cpp index 66a3db6..e961f69 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -107,8 +107,8 @@ TQButton * Menu::selectedButton( ) int Menu::insert( TQButton * button, int id ) { RoundButton* rButton = static_cast(button); - connect(rButton, SIGNAL(mouseIn(RoundButton*)),this,SLOT(slotMouseIn(RoundButton*))); - connect(rButton, SIGNAL(mouseOut(RoundButton*)),this,SLOT(slotMouseOut())); + connect(rButton, TQ_SIGNAL(mouseIn(RoundButton*)),this,TQ_SLOT(slotMouseIn(RoundButton*))); + connect(rButton, TQ_SIGNAL(mouseOut(RoundButton*)),this,TQ_SLOT(slotMouseOut())); if(rButton->type() == RoundButton::Submenu){ children.append(static_cast(rButton)->subMenu()); @@ -120,8 +120,8 @@ int Menu::insert( TQButton * button, int id ) int Menu::insertNoChild( TQButton * button, int id ) { RoundButton* rButton = static_cast(button); - connect(rButton, SIGNAL(mouseIn(RoundButton*)),this,SLOT(slotMouseIn(RoundButton*))); - connect(rButton, SIGNAL(mouseOut(RoundButton*)),this,SLOT(slotMouseOut())); + connect(rButton, TQ_SIGNAL(mouseIn(RoundButton*)),this,TQ_SLOT(slotMouseIn(RoundButton*))); + connect(rButton, TQ_SIGNAL(mouseOut(RoundButton*)),this,TQ_SLOT(slotMouseOut())); return TQButtonGroup::insert(button,id); } -- cgit v1.2.3