summaryrefslogtreecommitdiffstats
path: root/knode
diff options
context:
space:
mode:
Diffstat (limited to 'knode')
-rw-r--r--knode/CMakeLists.txt2
-rw-r--r--knode/articlewidget.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/knode/CMakeLists.txt b/knode/CMakeLists.txt
index a21deffb5..ae3c46c93 100644
--- a/knode/CMakeLists.txt
+++ b/knode/CMakeLists.txt
@@ -84,7 +84,7 @@ tde_add_library( knodecommon SHARED AUTOMOC
kncollectionview.cpp articlewidget.cpp csshelper.cpp
smtpaccountwidget_base.ui
VERSION 3.0.0
- LINK emailfunctions-static tdepim-shared kpgp-shared tdehtml-shared
+ LINK tdecore-shared tdepim-shared kpgp-shared tdehtml-shared
DESTINATION ${LIB_INSTALL_DIR}
)
diff --git a/knode/articlewidget.cpp b/knode/articlewidget.cpp
index faf4b4e8b..9e91d090f 100644
--- a/knode/articlewidget.cpp
+++ b/knode/articlewidget.cpp
@@ -43,9 +43,9 @@
#include <kstandarddirs.h>
#include <tdetempfile.h>
#include <kurl.h>
+#include <tdeglobal.h>
#include <libemailfunctions/email.h>
-#include <libemailfunctions/kasciistringtools.h>
#include <libkpgp/kpgp.h>
#include <libkpgp/kpgpblock.h>
@@ -881,7 +881,7 @@ void ArticleWidget::displayAttachment( KMime::Content *att, int partNum )
}
} else { // icon
TQCString mimetype = ct->mimeType();
- KPIM::kAsciiToLower( mimetype.data() );
+ kasciitolower( mimetype.data() );
TQString iconName = KMimeType::mimeType( mimetype )->icon( TQString(), false );
TQString iconFile = TDEGlobal::instance()->iconLoader()->iconPath( iconName, TDEIcon::Desktop );
html += "<div><a href=\"" + href + "\"><img src=\"" +