summaryrefslogtreecommitdiffstats
path: root/kmailcvt/filter_thebat.cxx
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
commit1c93fca14d9ce37499bcfdf994c660186a0b6f17 (patch)
treef2defe163a805a9e34a2142dfde4cdb5e49241e7 /kmailcvt/filter_thebat.cxx
parent67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (diff)
downloadtdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.tar.gz
tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.zip
Enable kdepim compilation under Qt4
This will likely break Qt3 compilation temporarily, which is an unintended side effect. A third and final kdepim commit will repair Qt3 compilation shortly. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmailcvt/filter_thebat.cxx')
-rw-r--r--kmailcvt/filter_thebat.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmailcvt/filter_thebat.cxx b/kmailcvt/filter_thebat.cxx
index b2e737da..1ec74778 100644
--- a/kmailcvt/filter_thebat.cxx
+++ b/kmailcvt/filter_thebat.cxx
@@ -81,7 +81,7 @@ void FilterTheBat::import( FilterInfo *info )
}
}
- info->addLog( i18n("Finished importing emails from %1").arg( mailDir ));
+ info->addLog( i18n("Finished importing emails from %1").tqarg( mailDir ));
if (count_duplicates > 0) {
info->addLog( i18n("1 duplicate message not imported", "%n duplicate messages not imported", count_duplicates));
}
@@ -148,7 +148,7 @@ void FilterTheBat::importFiles( FilterInfo *info, const TQString& FileName)
TQValueList<long> offsets;
if (!tbb.open(IO_ReadOnly)) {
- info->alert(i18n("Unable to open %1, skipping").arg(FileName));
+ info->alert(i18n("Unable to open %1, skipping").tqarg(FileName));
} else {
// BUILD the index of messages :
// We need this really ugly way, because read with tbb.readLine()
@@ -171,7 +171,7 @@ void FilterTheBat::importFiles( FilterInfo *info, const TQString& FileName)
iFound = _tmp.tqcontains(regexp);
if(!iFound) {
- iFound = _tmp.findRev("!");
+ iFound = _tmp.tqfindRev("!");
if (iFound >= 0 && ((l-iFound) < 5) ) {
int _i = tbb.at();
tbb.at((_i - iFound));
@@ -182,7 +182,7 @@ void FilterTheBat::importFiles( FilterInfo *info, const TQString& FileName)
offsets.append(endOfEmail);
}
}
- // info->addLog(i18n("--COUNTED: %1").arg(count));
+ // info->addLog(i18n("--COUNTED: %1").tqarg(count));
// IMPORT the messages:
if(!offsets.empty() || (offsets.empty() && (tbb.size() > 3128))) {
@@ -196,7 +196,7 @@ void FilterTheBat::importFiles( FilterInfo *info, const TQString& FileName)
_tmp = _tmp.remove(_tmp.length() - 13, 13);
_path += _tmp.remove( mailDir ,TRUE);
TQString _info = _path;
- info->addLog(i18n("Import folder %1...").arg(_info.remove(0,14)));
+ info->addLog(i18n("Import folder %1...").tqarg(_info.remove(0,14)));
info->setTo(_path);
info->setFrom("../" + _info + "/messages.tbb");