summaryrefslogtreecommitdiffstats
path: root/kmail/kmmessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmmessage.cpp')
-rw-r--r--kmail/kmmessage.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/kmail/kmmessage.cpp b/kmail/kmmessage.cpp
index f9a7f3888..b12ae65cd 100644
--- a/kmail/kmmessage.cpp
+++ b/kmail/kmmessage.cpp
@@ -28,19 +28,17 @@ using KMail::HeaderStrategy;
#include <libkpimidentities/identitymanager.h>
#include <libemailfunctions/email.h>
-#include <kasciistringtools.h>
-
#include <kpgpblock.h>
#include <kaddrbook.h>
#include <tdeapplication.h>
+#include <tdeglobal.h>
#include <tdeglobalsettings.h>
#include <kdebug.h>
#include <tdeconfig.h>
#include <tdehtml_part.h>
#include <kuser.h>
#include <kidna.h>
-#include <kasciistricmp.h>
#include <tqcursor.h>
#include <tqtextcodec.h>
@@ -4083,7 +4081,7 @@ TQCString KMMessage::defaultCharset()
if (retval.isEmpty() || (retval == "locale")) {
retval = TQCString(kmkernel->networkCodec()->mimeName());
- KPIM::kAsciiToLower( retval.data() );
+ kasciitolower( retval.data() );
}
if (retval == "jisx0208.1983-0") retval = "iso-2022-jp";
@@ -4145,7 +4143,7 @@ void KMMessage::setCharset( const TQCString &charset, DwEntity *entity )
mType.SetModified();
TQCString lowerCharset = charset;
- KPIM::kAsciiToLower( lowerCharset.data() );
+ kasciitolower( lowerCharset.data() );
param->SetValue( DwString( lowerCharset ) );
mType.Assemble();
}