diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:18:14 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:18:14 -0600 |
commit | b97ee238f88e9578da228388210cd8cab5360778 (patch) | |
tree | 8bf3ab88929af70826ebe3b84434c3403dc71c7d /knotes/knote.cpp | |
parent | 656055dae6f13ee65d66fabf9041b288d81710af (diff) | |
download | tdepim-b97ee238f88e9578da228388210cd8cab5360778.tar.gz tdepim-b97ee238f88e9578da228388210cd8cab5360778.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'knotes/knote.cpp')
-rw-r--r-- | knotes/knote.cpp | 12 |
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 |