diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kioslaves/imap4/rfcdecoder.cc | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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) |