summaryrefslogtreecommitdiffstats
path: root/kweather/weatherbutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:49 -0600
commit8e026986e2974e9cacbf465ee4ae6a5889a6c1ba (patch)
treec2f00aab75802f207ced28158e7cb78cb6429770 /kweather/weatherbutton.cpp
parent6630d485e98adf6125ddcaec8a64c9c209e4977c (diff)
downloadtdetoys-8e026986e2974e9cacbf465ee4ae6a5889a6c1ba.tar.gz
tdetoys-8e026986e2974e9cacbf465ee4ae6a5889a6c1ba.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kweather/weatherbutton.cpp')
-rw-r--r--kweather/weatherbutton.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kweather/weatherbutton.cpp b/kweather/weatherbutton.cpp
index 355180f..1905a75 100644
--- a/kweather/weatherbutton.cpp
+++ b/kweather/weatherbutton.cpp
@@ -100,10 +100,10 @@ void WeatherButton::generateIcons()
TQImage image = pixmap()->convertToImage();
image = image.smoothScale( pixmapSize(), TQ_ScaleMin );
- KIconEffect effect;
+ TDEIconEffect effect;
- m_normalIcon = effect.apply( image, KIcon::Panel, KIcon::DefaultState );
- m_activeIcon = effect.apply( image, KIcon::Panel, KIcon::ActiveState );
+ m_normalIcon = effect.apply( image, TDEIcon::Panel, TDEIcon::DefaultState );
+ m_activeIcon = effect.apply( image, TDEIcon::Panel, TDEIcon::ActiveState );
}
void WeatherButton::slotSettingsChanged( int category )
@@ -120,7 +120,7 @@ void WeatherButton::slotSettingsChanged( int category )
void WeatherButton::slotIconChanged( int group )
{
- if ( group != KIcon::Panel )
+ if ( group != TDEIcon::Panel )
return;
generateIcons();