summaryrefslogtreecommitdiffstats
path: root/kmail/kmfolder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfolder.cpp')
-rw-r--r--kmail/kmfolder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/kmfolder.cpp b/kmail/kmfolder.cpp
index 307823c9..a1b53aee 100644
--- a/kmail/kmfolder.cpp
+++ b/kmail/kmfolder.cpp
@@ -80,7 +80,7 @@ KMFolder::KMFolder( KMFolderDir* aParent, const TQString& aFolderName,
dirinfo.setFile( mStorage->location() );
if ( !dirinfo.exists() ) {
int rc = mStorage->create();
- TQString msg = i18n("<qt>Error while creating file <b>%1</b>:<br>%2</qt>").arg(aFolderName).arg(strerror(rc));
+ TQString msg = i18n("<qt>Error while creating file <b>%1</b>:<br>%2</qt>").tqarg(aFolderName).tqarg(strerror(rc));
if ( rc ) {
KMessageBox::information(0, msg);
}
@@ -272,7 +272,7 @@ KMFolderDir* KMFolder::createChildFolder()
{
if (mkdir(TQFile::encodeName(childDir), S_IRWXU) != 0
&& chmod(TQFile::encodeName(childDir), S_IRWXU) != 0) {
- TQString wmsg = TQString(" '%1': %2").arg(childDir).arg(strerror(errno));
+ TQString wmsg = TQString(" '%1': %2").tqarg(childDir).tqarg(strerror(errno));
KMessageBox::information(0,i18n("Failed to create folder") + wmsg);
return 0;
}
@@ -929,7 +929,7 @@ bool KMFolder::isValidName( const TQString &folderName, TQString &message )
}
}
if ( !delimiter.isEmpty() && folderName.tqfind( delimiter ) != -1 ) {
- message = i18n( "Your IMAP server does not allow the character '%1'; please choose another folder name." ).arg( delimiter );
+ message = i18n( "Your IMAP server does not allow the character '%1'; please choose another folder name." ).tqarg( delimiter );
return false;
}
}