From 7665c8d3f798aaf287ff14a35af74d9c303cb20c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 22 Jul 2023 23:33:11 +0900 Subject: Raw Qt->TQt conversion using tde/scripts/conversions/qt3-tqt3/convert_existing_qt3_app_to_tq Signed-off-by: Michele Calgaro --- src/menu.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/menu.cpp') diff --git a/src/menu.cpp b/src/menu.cpp index e0acc2d..66a3db6 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -24,8 +24,8 @@ #include "commandobutton.h" #include "configuration.h" -Menu::Menu(Menu* parentMenu, const QString& appName) - : QButtonGroup(),mParentMenu(parentMenu),mSelectedButtonNum(BUTTON_DESELECT),mAppName(appName) +Menu::Menu(Menu* parentMenu, const TQString& appName) + : TQButtonGroup(),mParentMenu(parentMenu),mSelectedButtonNum(BUTTON_DESELECT),mAppName(appName) { children.setAutoDelete(true); } @@ -34,7 +34,7 @@ Menu::~Menu() { for(int i=0;i(button); connect(rButton, SIGNAL(mouseIn(RoundButton*)),this,SLOT(slotMouseIn(RoundButton*))); @@ -114,16 +114,16 @@ int Menu::insert( QButton * button, int id ) children.append(static_cast(rButton)->subMenu()); } - return QButtonGroup::insert(button,id); + return TQButtonGroup::insert(button,id); } -int Menu::insertNoChild( QButton * 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())); - return QButtonGroup::insert(button,id); + return TQButtonGroup::insert(button,id); } void Menu::slotMouseIn(RoundButton* emitter) @@ -146,7 +146,7 @@ Menu * Menu::execute( ) return 0; //Well, we shouldn't actually reach this place, as execute is only called if it is sure that a button was selected } -void Menu::selectButton( QButton * button ) +void Menu::selectButton( TQButton * button ) { selectButton(id(button)); } -- cgit v1.2.1