summaryrefslogtreecommitdiffstats
path: root/kmailcvt/filter_thunderbird.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_thunderbird.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_thunderbird.cxx')
-rw-r--r--kmailcvt/filter_thunderbird.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmailcvt/filter_thunderbird.cxx b/kmailcvt/filter_thunderbird.cxx
index a058e28d3..e0c4060eb 100644
--- a/kmailcvt/filter_thunderbird.cxx
+++ b/kmailcvt/filter_thunderbird.cxx
@@ -91,12 +91,12 @@ void FilterThunderbird::import(FilterInfo *info)
TQString temp_mailfile = *mailFile;
if (temp_mailfile.endsWith(".msf") || temp_mailfile.endsWith("msgFilterRules.dat")) {}
else {
- info->addLog( i18n("Start import file %1...").arg( temp_mailfile ) );
+ info->addLog( i18n("Start import file %1...").tqarg( temp_mailfile ) );
importMBox(info, mailDir + temp_mailfile , temp_mailfile, TQString());
}
}
- 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));
}
@@ -126,7 +126,7 @@ void FilterThunderbird::importDirContents(FilterInfo *info, const TQString& dirN
TQString temp_mailfile = *mailFile;
if (temp_mailfile.endsWith(".msf") || temp_mailfile.endsWith("msgFilterRules.dat")) {}
else {
- info->addLog( i18n("Start import file %1...").arg( temp_mailfile ) );
+ info->addLog( i18n("Start import file %1...").tqarg( temp_mailfile ) );
importMBox(info, (dirName + "/" + temp_mailfile) , KMailRootDir, KMailSubDir);
}
}
@@ -158,7 +158,7 @@ void FilterThunderbird::importMBox(FilterInfo *info, const TQString& mboxName, c
TQFile mbox(mboxName);
bool first_msg = true;
if (!mbox.open(IO_ReadOnly)) {
- info->alert(i18n("Unable to open %1, skipping").arg(mboxName));
+ info->alert(i18n("Unable to open %1, skipping").tqarg(mboxName));
} else {
TQFileInfo filenameInfo(mboxName);