summaryrefslogtreecommitdiffstats
path: root/src/commandobutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commandobutton.cpp')
-rw-r--r--src/commandobutton.cpp14
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);