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-09 10:54:28 +0900 |
| commit | 3bf0b6d5ee3682be7fd1225496ae0df601d60ecb (patch) | |
| tree | ede40d235408a2be3154eeba513ccfebe2a7efe9 /src/menu.cpp | |
| parent | 9066230a322fb0cd17a05c6ddd9e12f290f3547a (diff) | |
| download | kommando-3bf0b6d5.tar.gz kommando-3bf0b6d5.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a966514dd8398a2dd1a49820f336f997da1f628c)
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); } |
