summaryrefslogtreecommitdiffstats
path: root/kmailcvt/filter_pmail.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'kmailcvt/filter_pmail.cxx')
-rw-r--r--kmailcvt/filter_pmail.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmailcvt/filter_pmail.cxx b/kmailcvt/filter_pmail.cxx
index 982d713a..699e3adb 100644
--- a/kmailcvt/filter_pmail.cxx
+++ b/kmailcvt/filter_pmail.cxx
@@ -76,7 +76,7 @@ void FilterPMail::import(FilterInfo *info)
info->addLog(i18n("Importing 'UNIX' mail folders ('.mbx')..."));
processFiles("*.[mM][bB][xX]", &FilterPMail::importUnixMailFolder);
- info->addLog( i18n("Finished importing emails from %1").tqarg( chosenDir ));
+ info->addLog( i18n("Finished importing emails from %1").arg( chosenDir ));
info->setCurrent(100);
info->setOverall(100);
}
@@ -162,7 +162,7 @@ void FilterPMail::importMailFolder(const TQString& file)
long l = 0;
TQFile f(file);
if (!f.open(IO_ReadOnly)) {
- inf->alert(i18n("Unable to open %1, skipping").tqarg(file));
+ inf->alert(i18n("Unable to open %1, skipping").arg(file));
} else {
// Get folder name
l = f.readBlock((char *) &pmm_head, sizeof(pmm_head));
@@ -172,7 +172,7 @@ void FilterPMail::importMailFolder(const TQString& file)
else
folder.append(pmm_head.folder);
inf->setTo(folder);
- inf->addLog(i18n("Importing %1").tqarg("../" + TQString(pmm_head.folder)));
+ inf->addLog(i18n("Importing %1").arg("../" + TQString(pmm_head.folder)));
TQByteArray input(MAX_LINE);
bool first_msg = true;
@@ -232,7 +232,7 @@ void FilterPMail::importUnixMailFolder(const TQString& file)
s.replace( TQRegExp("MBX$"), "PMG");
f.setName(s);
if (! f.open( IO_ReadOnly ) ) {
- inf->alert( i18n("Unable to open %1, skipping").tqarg( s ) );
+ inf->alert( i18n("Unable to open %1, skipping").arg( s ) );
return;
} else {
f.readBlock((char *) &pmg_head, sizeof(pmg_head));
@@ -250,9 +250,9 @@ void FilterPMail::importUnixMailFolder(const TQString& file)
/** Read in the mbox */
f.setName(file);
if (! f.open( IO_ReadOnly ) ) {
- inf->alert( i18n("Unable to open %1, skipping").tqarg( s ) );
+ inf->alert( i18n("Unable to open %1, skipping").arg( s ) );
} else {
- inf->addLog(i18n("Importing %1").tqarg("../" + TQString(pmg_head.folder)));
+ inf->addLog(i18n("Importing %1").arg("../" + TQString(pmg_head.folder)));
l = f.readLine( line.data(),MAX_LINE); // read the first line which is unneeded
while ( ! f.atEnd() ) {
KTempFile tempfile;
@@ -276,7 +276,7 @@ void FilterPMail::importUnixMailFolder(const TQString& file)
tempfile.unlink();
n++;
- inf->setCurrent(i18n("Message %1").tqarg(n));
+ inf->setCurrent(i18n("Message %1").arg(n));
inf->setCurrent( (int) ( ( (float) f.at() / f.size() ) * 100 ) );
}
}
@@ -291,7 +291,7 @@ bool FilterPMail::parseFolderMatrix()
TQFile hierarch(chosenDir + "/hierarch.pm");
if (! hierarch.open( IO_ReadOnly ) ) {
- inf->alert( i18n("Unable to open %1, skipping").tqarg( chosenDir + "hierarch.pm" ) );
+ inf->alert( i18n("Unable to open %1, skipping").arg( chosenDir + "hierarch.pm" ) );
return false;
} else {
TQStringList tmpList;