summaryrefslogtreecommitdiffstats
path: root/kicker-applets
diff options
context:
space:
mode:
Diffstat (limited to 'kicker-applets')
-rw-r--r--kicker-applets/kolourpicker/simplebutton.cpp10
-rw-r--r--kicker-applets/mediacontrol/simplebutton.cpp10
2 files changed, 10 insertions, 10 deletions
diff --git a/kicker-applets/kolourpicker/simplebutton.cpp b/kicker-applets/kolourpicker/simplebutton.cpp
index 1a2631e..616715c 100644
--- a/kicker-applets/kolourpicker/simplebutton.cpp
+++ b/kicker-applets/kolourpicker/simplebutton.cpp
@@ -131,11 +131,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();
}
@@ -161,7 +161,7 @@ void SimpleButton::slotSettingsChanged(int category)
void SimpleButton::slotIconChanged( int group )
{
- if (group != KIcon::Panel)
+ if (group != TDEIcon::Panel)
{
return;
}
diff --git a/kicker-applets/mediacontrol/simplebutton.cpp b/kicker-applets/mediacontrol/simplebutton.cpp
index 1a2631e..616715c 100644
--- a/kicker-applets/mediacontrol/simplebutton.cpp
+++ b/kicker-applets/mediacontrol/simplebutton.cpp
@@ -131,11 +131,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();
}
@@ -161,7 +161,7 @@ void SimpleButton::slotSettingsChanged(int category)
void SimpleButton::slotIconChanged( int group )
{
- if (group != KIcon::Panel)
+ if (group != TDEIcon::Panel)
{
return;
}