summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/mimehdrline.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/mimehdrline.cc')
-rw-r--r--kioslaves/imap4/mimehdrline.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/kioslaves/imap4/mimehdrline.cc b/kioslaves/imap4/mimehdrline.cc
index 4158e59d5..9646ed26f 100644
--- a/kioslaves/imap4/mimehdrline.cc
+++ b/kioslaves/imap4/mimehdrline.cc
@@ -489,18 +489,18 @@ mimeHdrLine::truncateLine(TQCString aLine, unsigned int truncate)
// see if we have a line of the form "key: value" (like "Subject: bla")
// then we do not want to truncate between key and value
- int validStart = aLine.tqfind(": ");
+ int validStart = aLine.find(": ");
if (validStart > -1) {
validStart += 2;
}
while (len > truncate) {
- cutHere = aLine.tqfindRev(' ', truncate);
+ cutHere = aLine.findRev(' ', truncate);
if (cutHere < 1 || cutHere < validStart) {
- cutHere = aLine.tqfindRev('\t', truncate);
+ cutHere = aLine.findRev('\t', truncate);
if (cutHere < 1) {
- cutHere = aLine.tqfind(' ', 1);
+ cutHere = aLine.find(' ', 1);
if (cutHere < 1) {
- cutHere = aLine.tqfind('\t', 1);
+ cutHere = aLine.find('\t', 1);
if (cutHere < 1) {
// simply truncate
return aLine.left(truncate);