summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/mimeio.cc
diff options
context:
space:
mode:
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 9325df130..757c11a47 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;