summaryrefslogtreecommitdiffstats
path: root/kicker/taskbar
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:14:55 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:14:55 -0600
commitde9b6c9ad15f9f51812daae17cce635d1050a9ba (patch)
tree6b26400ab1a616925443c5d365246eb86c9bad57 /kicker/taskbar
parent4f841fbbbc5d3399535ade061699cc76363c7a3f (diff)
downloadtdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.tar.gz
tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kicker/taskbar')
-rw-r--r--kicker/taskbar/taskbarcontainer.cpp4
-rw-r--r--kicker/taskbar/taskcontainer.cpp14
2 files changed, 9 insertions, 9 deletions
diff --git a/kicker/taskbar/taskbarcontainer.cpp b/kicker/taskbar/taskbarcontainer.cpp
index c35820e4b..7a96c5f42 100644
--- a/kicker/taskbar/taskbarcontainer.cpp
+++ b/kicker/taskbar/taskbarcontainer.cpp
@@ -154,7 +154,7 @@ void TaskBarContainer::configure()
}
windowListButton->setPixmap(kapp->iconLoader()->loadIcon(icon,
- KIcon::Panel,
+ TDEIcon::Panel,
16));
windowListButton->setMinimumSize(windowListButton->sizeHint());
layout->insertWidget(0, windowListButton);
@@ -258,7 +258,7 @@ void TaskBarContainer::popupDirectionChange(KPanelApplet::Direction d)
if (windowListButton)
{
windowListButton->setPixmap(kapp->iconLoader()->loadIcon(icon,
- KIcon::Panel,
+ TDEIcon::Panel,
16));
windowListButton->setMinimumSize(windowListButton->sizeHint());
}
diff --git a/kicker/taskbar/taskcontainer.cpp b/kicker/taskbar/taskcontainer.cpp
index dd5cfff4d..f0c12e0f3 100644
--- a/kicker/taskbar/taskcontainer.cpp
+++ b/kicker/taskbar/taskcontainer.cpp
@@ -698,7 +698,7 @@ void TaskContainer::drawButton(TQPainter *p)
// fade out the icon when minimized
if (iconified)
{
- KIconEffect::semiTransparent( pixmap );
+ TDEIconEffect::semiTransparent( pixmap );
}
// draw icon
@@ -731,7 +731,7 @@ void TaskContainer::drawButton(TQPainter *p)
if (iconified)
{
- KIconEffect::semiTransparent(modPixmap);
+ TDEIconEffect::semiTransparent(modPixmap);
}
p->drawPixmap(r, modPixmap);
@@ -1664,9 +1664,9 @@ void TaskContainer::updateKickerTip(KickerTip::Data& data)
data.duration = 4000;
data.subtext = i18n("Loading application ...");
data.icon = TDEGlobal::iconLoader()->loadIcon(m_startup->icon(),
- KIcon::Small,
- KIcon::SizeMedium,
- KIcon::DefaultState,
+ TDEIcon::Small,
+ TDEIcon::SizeMedium,
+ TDEIcon::DefaultState,
0, true);
return;
}
@@ -1689,8 +1689,8 @@ void TaskContainer::updateKickerTip(KickerTip::Data& data)
{
// try to load icon via net_wm
pixmap = KWin::icon(tasks.last()->window(),
- KIcon::SizeMedium,
- KIcon::SizeMedium,
+ TDEIcon::SizeMedium,
+ TDEIcon::SizeMedium,
true);
}