summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/mimeio.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kioslaves/imap4/mimeio.cc
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslaves/imap4/mimeio.cc')
-rw-r--r--kioslaves/imap4/mimeio.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kioslaves/imap4/mimeio.cc b/kioslaves/imap4/mimeio.cc
index 9325df13..757c11a4 100644
--- a/kioslaves/imap4/mimeio.cc
+++ b/kioslaves/imap4/mimeio.cc
@@ -68,7 +68,7 @@ mimeIO::outputMimeLine (const TQCString & inLine)
TQCString aLine = inLine;
int len = inLine.length();
- int theLF = aLine.tqfindRev ('\n');
+ int theLF = aLine.findRev ('\n');
if (theLF == len - 1 && theLF != -1)
{
//we have a trailing LF, now check for CR
@@ -83,7 +83,7 @@ mimeIO::outputMimeLine (const TQCString & inLine)
{
int start, end, offset;
start = 0;
- end = aLine.tqfind ('\n', start);
+ end = aLine.find ('\n', start);
while (end >= 0)
{
offset = 1;
@@ -94,7 +94,7 @@ mimeIO::outputMimeLine (const TQCString & inLine)
}
outputLine (aLine.mid (start, end - start) + theCRLF, end - start + crlfLen);
start = end + offset;
- end = aLine.tqfind ('\n', start);
+ end = aLine.find ('\n', start);
}
outputLine (aLine.mid (start, len - start) + theCRLF, len - start + crlfLen);
}
@@ -178,7 +178,7 @@ mimeIOTQString::inputLine (TQCString & _str)
if (theString.isEmpty ())
return 0;
- int i = theString.tqfind ('\n');
+ int i = theString.find ('\n');
if (i == -1)
return 0;