summaryrefslogtreecommitdiffstats
path: root/knotes/knote.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knote.cpp')
-rw-r--r--knotes/knote.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp
index c19b1ec10..07ab136fd 100644
--- a/knotes/knote.cpp
+++ b/knotes/knote.cpp
@@ -359,9 +359,9 @@ KNote::KNote( TQDomDocument buildDoc, Journal *j, TQWidget *parent, const char *
slotUpdateKeepAboveBelow();
// HACK: update the icon color - again after showing the note, to make kicker aware of the new colors
- KIconEffect effect;
- TQPixmap icon = effect.apply( kapp->icon(), KIconEffect::Colorize, 1, m_config->bgColor(), false );
- TQPixmap miniIcon = effect.apply( kapp->miniIcon(), KIconEffect::Colorize, 1, m_config->bgColor(), false );
+ TDEIconEffect effect;
+ TQPixmap icon = effect.apply( kapp->icon(), TDEIconEffect::Colorize, 1, m_config->bgColor(), false );
+ TQPixmap miniIcon = effect.apply( kapp->miniIcon(), TDEIconEffect::Colorize, 1, m_config->bgColor(), false );
KWin::setIcons( winId(), icon, miniIcon );
}
@@ -552,9 +552,9 @@ void KNote::setColor( const TQColor& fg, const TQColor& bg )
m_button->setPalette( darker );
// update the icon color
- KIconEffect effect;
- TQPixmap icon = effect.apply( kapp->icon(), KIconEffect::Colorize, 1, bg, false );
- TQPixmap miniIcon = effect.apply( kapp->miniIcon(), KIconEffect::Colorize, 1, bg, false );
+ TDEIconEffect effect;
+ TQPixmap icon = effect.apply( kapp->icon(), TDEIconEffect::Colorize, 1, bg, false );
+ TQPixmap miniIcon = effect.apply( kapp->miniIcon(), TDEIconEffect::Colorize, 1, bg, false );
KWin::setIcons( winId(), icon, miniIcon );
// set the color for the selection used to highlight the find stuff