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 /kmailcvt/filter_thunderbird.cxx | |
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 'kmailcvt/filter_thunderbird.cxx')
-rw-r--r-- | kmailcvt/filter_thunderbird.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmailcvt/filter_thunderbird.cxx b/kmailcvt/filter_thunderbird.cxx index e0c4060eb..301d29d0e 100644 --- a/kmailcvt/filter_thunderbird.cxx +++ b/kmailcvt/filter_thunderbird.cxx @@ -165,13 +165,13 @@ void FilterThunderbird::importMBox(FilterInfo *info, const TQString& mboxName, c info->setCurrent(0); if( mboxName.length() > 20 ) { TQString tmp_info = mboxName; - tmp_info = tmp_info.tqreplace( mailDir, "../" ); - if (tmp_info.tqcontains(".sbd")) + tmp_info = tmp_info.replace( mailDir, "../" ); + if (tmp_info.contains(".sbd")) tmp_info.remove(".sbd"); info->setFrom( tmp_info ); } else info->setFrom(mboxName); - if(targetDir.tqcontains(".sbd")) { + if(targetDir.contains(".sbd")) { TQString tmp_info = targetDir; tmp_info.remove(".sbd"); info->setTo(tmp_info); @@ -207,12 +207,12 @@ void FilterThunderbird::importMBox(FilterInfo *info, const TQString& mboxName, c TQString destFolder; TQString _targetDir = targetDir; if(!targetDir.isNull()) { - if(_targetDir.tqcontains(".sbd")) + if(_targetDir.contains(".sbd")) _targetDir.remove(".sbd"); destFolder += "Thunderbird-Import/" + _targetDir + "/" + filenameInfo.baseName(TRUE);// mboxName; } else { destFolder = "Thunderbird-Import/" + rootDir; - if(destFolder.tqcontains(".sbd")) + if(destFolder.contains(".sbd")) destFolder.remove(".sbd"); } |