|
|
@ -107,8 +107,8 @@ TQButton * Menu::selectedButton( )
|
|
|
|
int Menu::insert( TQButton * button, int id )
|
|
|
|
int Menu::insert( TQButton * button, int id )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
RoundButton* rButton = static_cast<RoundButton*>(button);
|
|
|
|
RoundButton* rButton = static_cast<RoundButton*>(button);
|
|
|
|
connect(rButton, SIGNAL(mouseIn(RoundButton*)),this,SLOT(slotMouseIn(RoundButton*)));
|
|
|
|
connect(rButton, TQ_SIGNAL(mouseIn(RoundButton*)),this,TQ_SLOT(slotMouseIn(RoundButton*)));
|
|
|
|
connect(rButton, SIGNAL(mouseOut(RoundButton*)),this,SLOT(slotMouseOut()));
|
|
|
|
connect(rButton, TQ_SIGNAL(mouseOut(RoundButton*)),this,TQ_SLOT(slotMouseOut()));
|
|
|
|
|
|
|
|
|
|
|
|
if(rButton->type() == RoundButton::Submenu){
|
|
|
|
if(rButton->type() == RoundButton::Submenu){
|
|
|
|
children.append(static_cast<SubmenuButton*>(rButton)->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 )
|
|
|
|
int Menu::insertNoChild( TQButton * button, int id )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
RoundButton* rButton = static_cast<RoundButton*>(button);
|
|
|
|
RoundButton* rButton = static_cast<RoundButton*>(button);
|
|
|
|
connect(rButton, SIGNAL(mouseIn(RoundButton*)),this,SLOT(slotMouseIn(RoundButton*)));
|
|
|
|
connect(rButton, TQ_SIGNAL(mouseIn(RoundButton*)),this,TQ_SLOT(slotMouseIn(RoundButton*)));
|
|
|
|
connect(rButton, SIGNAL(mouseOut(RoundButton*)),this,SLOT(slotMouseOut()));
|
|
|
|
connect(rButton, TQ_SIGNAL(mouseOut(RoundButton*)),this,TQ_SLOT(slotMouseOut()));
|
|
|
|
|
|
|
|
|
|
|
|
return TQButtonGroup::insert(button,id);
|
|
|
|
return TQButtonGroup::insert(button,id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|