diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:47:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:47:24 +0900 |
commit | a966514dd8398a2dd1a49820f336f997da1f628c (patch) | |
tree | d08e82c31a6404018267824ae95bf64852fcc39f /src/menu.cpp | |
parent | 283e2da098ca935d119fded0464989fcde5fff66 (diff) | |
download | kommando-a966514dd8398a2dd1a49820f336f997da1f628c.tar.gz kommando-a966514dd8398a2dd1a49820f336f997da1f628c.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/menu.cpp')
-rw-r--r-- | src/menu.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<RoundButton*>(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<SubmenuButton*>(rButton)->subMenu()); @@ -120,8 +120,8 @@ int Menu::insert( TQButton * button, int id ) int Menu::insertNoChild( TQButton * button, int id ) { RoundButton* rButton = static_cast<RoundButton*>(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); } |