diff options
Diffstat (limited to 'kioslaves/imap4/rfcdecoder.cc')
-rw-r--r-- | kioslaves/imap4/rfcdecoder.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kioslaves/imap4/rfcdecoder.cc b/kioslaves/imap4/rfcdecoder.cc index 5470901ed..46500fad0 100644 --- a/kioslaves/imap4/rfcdecoder.cc +++ b/kioslaves/imap4/rfcdecoder.cc @@ -37,7 +37,7 @@ // adapted to QT-Toolkit by Sven Carstens <s.carstens@gmx.de> 2000 static unsigned char base64chars[] = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+,"; + "ABCDEFGHIJKLMNOPTQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+,"; #define UNDEFINED 64 #define MAXLINE 76 @@ -315,7 +315,7 @@ rfcDecoder::codecForName (const TQString & _str) } //----------------------------------------------------------------------------- -const QString +const TQString rfcDecoder::decodeRFC2047String (const TQString & _str) { TQString throw_away; @@ -324,7 +324,7 @@ rfcDecoder::decodeRFC2047String (const TQString & _str) } //----------------------------------------------------------------------------- -const QString +const TQString rfcDecoder::decodeRFC2047String (const TQString & _str, TQString & charset) { TQString throw_away; @@ -333,12 +333,12 @@ rfcDecoder::decodeRFC2047String (const TQString & _str, TQString & charset) } //----------------------------------------------------------------------------- -const QString +const TQString rfcDecoder::decodeRFC2047String (const TQString & _str, TQString & charset, TQString & language) { //do we have a rfc string - if (_str.find("=?") < 0) + if (_str.tqfind("=?") < 0) return _str; TQCString aStr = _str.ascii (); // TQString.length() means Unicode chars @@ -457,7 +457,7 @@ rfcDecoder::decodeRFC2047String (const TQString & _str, TQString & charset, //----------------------------------------------------------------------------- const char especials[17] = "()<>@,;:\"/[]?.= "; -const QString +const TQString rfcDecoder::encodeRFC2047String (const TQString & _str) { if (_str.isEmpty ()) @@ -571,7 +571,7 @@ rfcDecoder::encodeRFC2047String (const TQString & _str) //----------------------------------------------------------------------------- -const QString +const TQString rfcDecoder::encodeRFC2231String (const TQString & _str) { if (_str.isEmpty ()) @@ -625,10 +625,10 @@ rfcDecoder::encodeRFC2231String (const TQString & _str) //----------------------------------------------------------------------------- -const QString +const TQString rfcDecoder::decodeRFC2231String (const TQString & _str) { - int p = _str.find ('\''); + int p = _str.tqfind ('\''); //see if it is an rfc string if (p < 0) |