summaryrefslogtreecommitdiffstats
path: root/knode
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:18:14 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:18:14 -0600
commitb97ee238f88e9578da228388210cd8cab5360778 (patch)
tree8bf3ab88929af70826ebe3b84434c3403dc71c7d /knode
parent656055dae6f13ee65d66fabf9041b288d81710af (diff)
downloadtdepim-b97ee238f88e9578da228388210cd8cab5360778.tar.gz
tdepim-b97ee238f88e9578da228388210cd8cab5360778.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'knode')
-rw-r--r--knode/articlewidget.cpp2
-rw-r--r--knode/knconfig.cpp8
-rw-r--r--knode/knconfigwidgets.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/knode/articlewidget.cpp b/knode/articlewidget.cpp
index dfe1a7cc5..8e8c10e85 100644
--- a/knode/articlewidget.cpp
+++ b/knode/articlewidget.cpp
@@ -883,7 +883,7 @@ void ArticleWidget::displayAttachment( KMime::Content *att, int partNum )
TQCString mimetype = ct->mimeType();
KPIM::kAsciiToLower( mimetype.data() );
TQString iconName = KMimeType::mimeType( mimetype )->icon( TQString(), false );
- TQString iconFile = TDEGlobal::instance()->iconLoader()->iconPath( iconName, KIcon::Desktop );
+ TQString iconFile = TDEGlobal::instance()->iconLoader()->iconPath( iconName, TDEIcon::Desktop );
html += "<div><a href=\"" + href + "\"><img src=\"" +
iconFile + "\" border=\"0\">" + label +
"</a></div><div>" + comment + "</div><br>";
diff --git a/knode/knconfig.cpp b/knode/knconfig.cpp
index 7214f2505..b0b909138 100644
--- a/knode/knconfig.cpp
+++ b/knode/knconfig.cpp
@@ -510,21 +510,21 @@ void KNConfig::Appearance::recreateLVIcons()
TQPixmap tempPix = UserIcon("greyball");
TQImage tempImg=tempPix.convertToImage();
- KIconEffect::colorize(tempImg, readArticleColor(), 1.0);
+ TDEIconEffect::colorize(tempImg, readArticleColor(), 1.0);
i_cons[greyBall].convertFromImage(tempImg);
tempImg=tempPix.convertToImage();
- KIconEffect::colorize(tempImg, unreadArticleColor(), 1.0);
+ TDEIconEffect::colorize(tempImg, unreadArticleColor(), 1.0);
i_cons[redBall].convertFromImage(tempImg);
tempPix = UserIcon("greyballchk");
tempImg=tempPix.convertToImage();
- KIconEffect::colorize(tempImg, readArticleColor(), 1.0);
+ TDEIconEffect::colorize(tempImg, readArticleColor(), 1.0);
i_cons[greyBallChkd].convertFromImage(tempImg);
tempImg=tempPix.convertToImage();
- KIconEffect::colorize(tempImg, unreadArticleColor(), 1.0);
+ TDEIconEffect::colorize(tempImg, unreadArticleColor(), 1.0);
i_cons[redBallChkd].convertFromImage(tempImg);
}
diff --git a/knode/knconfigwidgets.cpp b/knode/knconfigwidgets.cpp
index c8f849eaf..2ae1e1f01 100644
--- a/knode/knconfigwidgets.cpp
+++ b/knode/knconfigwidgets.cpp
@@ -1706,7 +1706,7 @@ KNConfig::FilterListWidget::FilterListWidget( TQWidget *p, const char *n ) :
topL->setRowStretch(11,1);
a_ctive = SmallIcon("filter",16);
- d_isabled = SmallIcon("filter",16,KIcon::DisabledState);
+ d_isabled = SmallIcon("filter",16,TDEIcon::DisabledState);
load();