summaryrefslogtreecommitdiffstats
path: root/src/tastytooltip.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-04-10 10:42:13 +0200
committerSlávek Banko <[email protected]>2016-04-10 10:42:13 +0200
commitba407974cb68505e03dbf49a9d9cf3843873c8de (patch)
treec0302b1c937798efa89e1ff50e6a3fca2efc8b56 /src/tastytooltip.cpp
parent7fdc8b30e85418cca031b45ad02f723373b73433 (diff)
downloadtastymenu-ba407974cb68505e03dbf49a9d9cf3843873c8de.tar.gz
tastymenu-ba407974cb68505e03dbf49a9d9cf3843873c8de.zip
Initial TDE conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/tastytooltip.cpp')
-rw-r--r--src/tastytooltip.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tastytooltip.cpp b/src/tastytooltip.cpp
index 1d324cc..cacfd71 100644
--- a/src/tastytooltip.cpp
+++ b/src/tastytooltip.cpp
@@ -39,15 +39,15 @@ TastyToolTip::TastyToolTip( TQWidget * parent,const char * name, WFlags fl)
void TastyToolTip::loadIcon( TQString icon )
{
iconName = icon;
- KIconLoader *iconLoader = KGlobal::iconLoader();
- TQPixmap btnPixmap(iconLoader->loadIcon(icon, KIcon::Panel, KIcon::SizeHuge));
+ TDEIconLoader *iconLoader = TDEGlobal::iconLoader();
+ TQPixmap btnPixmap(iconLoader->loadIcon(icon, TDEIcon::Panel, TDEIcon::SizeHuge));
if( !btnPixmap.isNull() )
toolTipWidget->iconPixmap->setPixmap(btnPixmap);
else
{
kdDebug() << "Failed to load custom icon" << endl;
- toolTipWidget->iconPixmap->setPixmap(iconLoader->loadIcon("kmenu", KIcon::Panel, KIcon::SizeHuge));
+ toolTipWidget->iconPixmap->setPixmap(iconLoader->loadIcon("kmenu", TDEIcon::Panel, TDEIcon::SizeHuge));
}
}
@@ -83,11 +83,11 @@ void TastyToolTip::notify(const TQPoint & point )
void TastyToolTip::setMessage( TQString message )
{
- KIconLoader *iconLoader = KGlobal::iconLoader();
+ TDEIconLoader *iconLoader = TDEGlobal::iconLoader();
toolTipWidget->MessageLabel->setText(message);
if( message.length() > 0 )
- toolTipWidget->iconPixmap->setPixmap(iconLoader->loadIcon("messagebox_info", KIcon::Panel, KIcon::SizeHuge));
+ toolTipWidget->iconPixmap->setPixmap(iconLoader->loadIcon("messagebox_info", TDEIcon::Panel, TDEIcon::SizeHuge));
else
loadIcon(iconName);
}