diff options
Diffstat (limited to 'src/tastytooltip.cpp')
-rw-r--r-- | src/tastytooltip.cpp | 10 |
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); } |