diff options
Diffstat (limited to 'libkmime/kmime_content.cpp')
-rw-r--r-- | libkmime/kmime_content.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libkmime/kmime_content.cpp b/libkmime/kmime_content.cpp index 5dead52af..20862496d 100644 --- a/libkmime/kmime_content.cpp +++ b/libkmime/kmime_content.cpp @@ -416,7 +416,7 @@ void Content::decodedText(TQString &s, bool trimText, return; bool ok=true; - TQTextCodec *codec=KGlobal::charsets()->codecForName(contentType()->charset(),ok); + TQTextCodec *codec=TDEGlobal::charsets()->codecForName(contentType()->charset(),ok); s=codec->toUnicode(b_ody.data(), b_ody.length()); @@ -442,7 +442,7 @@ void Content::decodedText(TQStringList &l, bool trimText, TQString unicode; bool ok=true; - TQTextCodec *codec=KGlobal::charsets()->codecForName(contentType()->charset(),ok); + TQTextCodec *codec=TDEGlobal::charsets()->codecForName(contentType()->charset(),ok); unicode=codec->toUnicode(b_ody.data(), b_ody.length()); @@ -464,11 +464,11 @@ void Content::decodedText(TQStringList &l, bool trimText, void Content::fromUnicodeString(const TQString &s) { bool ok=true; - TQTextCodec *codec=KGlobal::charsets()->codecForName(contentType()->charset(),ok); + TQTextCodec *codec=TDEGlobal::charsets()->codecForName(contentType()->charset(),ok); if(!ok) { // no suitable codec found => try local settings and hope the best ;-) - codec=KGlobal::locale()->codecForEncoding(); - TQCString chset=KGlobal::locale()->encoding(); + codec=TDEGlobal::locale()->codecForEncoding(); + TQCString chset=TDEGlobal::locale()->encoding(); contentType()->setCharset(chset); } |