summaryrefslogtreecommitdiffstats
path: root/kicker/libkicker/simplebutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:14:55 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:14:55 -0600
commitde9b6c9ad15f9f51812daae17cce635d1050a9ba (patch)
tree6b26400ab1a616925443c5d365246eb86c9bad57 /kicker/libkicker/simplebutton.cpp
parent4f841fbbbc5d3399535ade061699cc76363c7a3f (diff)
downloadtdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.tar.gz
tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kicker/libkicker/simplebutton.cpp')
-rw-r--r--kicker/libkicker/simplebutton.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kicker/libkicker/simplebutton.cpp b/kicker/libkicker/simplebutton.cpp
index 87fd17200..a046ca266 100644
--- a/kicker/libkicker/simplebutton.cpp
+++ b/kicker/libkicker/simplebutton.cpp
@@ -154,11 +154,11 @@ void SimpleButton::generateIcons()
}
TQImage image = pixmap()->convertToImage();
- KIconEffect effect;
+ TDEIconEffect effect;
- m_normalIcon = effect.apply(image, KIcon::Panel, KIcon::DefaultState);
- m_activeIcon = effect.apply(image, KIcon::Panel, KIcon::ActiveState);
- m_disabledIcon = effect.apply(image, KIcon::Panel, KIcon::DisabledState);
+ m_normalIcon = effect.apply(image, TDEIcon::Panel, TDEIcon::DefaultState);
+ m_activeIcon = effect.apply(image, TDEIcon::Panel, TDEIcon::ActiveState);
+ m_disabledIcon = effect.apply(image, TDEIcon::Panel, TDEIcon::DisabledState);
updateGeometry();
}
@@ -188,7 +188,7 @@ void SimpleButton::slotSettingsChanged(int category)
void SimpleButton::slotIconChanged( int group )
{
- if (group != KIcon::Panel)
+ if (group != TDEIcon::Panel)
{
return;
}