summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/rfcdecoder.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
commit1c93fca14d9ce37499bcfdf994c660186a0b6f17 (patch)
treef2defe163a805a9e34a2142dfde4cdb5e49241e7 /kioslaves/imap4/rfcdecoder.cc
parent67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (diff)
downloadtdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.tar.gz
tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.zip
Enable kdepim compilation under Qt4
This will likely break Qt3 compilation temporarily, which is an unintended side effect. A third and final kdepim commit will repair Qt3 compilation shortly. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslaves/imap4/rfcdecoder.cc')
-rw-r--r--kioslaves/imap4/rfcdecoder.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/kioslaves/imap4/rfcdecoder.cc b/kioslaves/imap4/rfcdecoder.cc
index 46500fad0..426911d0e 100644
--- a/kioslaves/imap4/rfcdecoder.cc
+++ b/kioslaves/imap4/rfcdecoder.cc
@@ -371,7 +371,7 @@ rfcDecoder::decodeRFC2047String (const TQString & _str, TQString & charset,
else
{
charset = TQCString (beg, i - 1); // -2 + 1 for the zero
- int pt = charset.findRev('*');
+ int pt = charset.tqfindRev('*');
if (pt != -1)
{
// save language for later usage
@@ -634,7 +634,7 @@ rfcDecoder::decodeRFC2231String (const TQString & _str)
if (p < 0)
return _str;
- int l = _str.findRev ('\'');
+ int l = _str.tqfindRev ('\'');
//second is language
if (p >= l)
@@ -653,13 +653,13 @@ rfcDecoder::decodeRFC2231String (const TQString & _str)
{
if (st.at (p) == 37)
{
- ch = st.at (p + 1).latin1 () - 48;
+ ch = st.tqat (p + 1).latin1 () - 48;
if (ch > 16)
ch -= 7;
- ch2 = st.at (p + 2).latin1 () - 48;
+ ch2 = st.tqat (p + 2).latin1 () - 48;
if (ch2 > 16)
ch2 -= 7;
- st.at (p) = ch * 16 + ch2;
+ st.tqat (p) = ch * 16 + ch2;
st.remove (p + 1, 2);
}
p++;