diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-22 23:33:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-22 23:33:11 +0900 |
commit | 7665c8d3f798aaf287ff14a35af74d9c303cb20c (patch) | |
tree | 00fd812583eed65f80d269255e8b662c90d1ddc7 /src/commandobutton.cpp | |
parent | 100a40e71a3f796a93675f9940c42ebe6429740e (diff) | |
download | kommando-7665c8d3f798aaf287ff14a35af74d9c303cb20c.tar.gz kommando-7665c8d3f798aaf287ff14a35af74d9c303cb20c.zip |
Raw Qt->TQt conversion using tde/scripts/conversions/qt3-tqt3/convert_existing_qt3_app_to_tq
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/commandobutton.cpp')
-rw-r--r-- | src/commandobutton.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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); |