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/commandobutton.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/commandobutton.cpp') diff --git a/src/commandobutton.cpp b/src/commandobutton.cpp index 37930fc..61faa86 100644 --- a/src/commandobutton.cpp +++ b/src/commandobutton.cpp @@ -24,7 +24,7 @@ /* * Implementation CommandoButton */ -CommandoButton::CommandoButton(QWidget* parent, unsigned short rad) +CommandoButton::CommandoButton(TQWidget* parent, unsigned short rad) : RoundButton(parent,rad) { } @@ -44,23 +44,23 @@ Menu * SubmenuButton::execute( ) return subMenu(); } -SubmenuButton::SubmenuButton( QWidget * parent,unsigned short rad) +SubmenuButton::SubmenuButton( TQWidget * parent,unsigned short rad) :RoundButton(parent,rad) { } -SubmenuButton::SubmenuButton( QWidget * parent, Menu * submenu, unsigned short rad) +SubmenuButton::SubmenuButton( TQWidget * parent, Menu * submenu, unsigned short rad) :RoundButton(parent,rad),mSubMenu(submenu) { } -/*void SubmenuButton::setIcon( QString path ) +/*void SubmenuButton::setIcon( TQString path ) { mIconPath=path; icon=MainBarIcon(path,radius*2); //This line sometimes prints: "*** attempt to put segment in horiz list twice" - QPixmap overlay = MainBarIcon("kommando_overlay",radius*2); - QImage temp1(icon.convertToImage()); - QImage temp2(overlay.convertToImage()); + TQPixmap overlay = MainBarIcon("kommando_overlay",radius*2); + TQImage temp1(icon.convertToImage()); + TQImage temp2(overlay.convertToImage()); KIconEffect::overlay(temp1,temp2); icon.convertFromImage(temp1); setPixmap(icon); -- cgit v1.2.1