diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kioslaves/imap4/mimehdrline.cc | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-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/mimehdrline.cc')
-rw-r--r-- | kioslaves/imap4/mimehdrline.cc | 10 |
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); |