summaryrefslogtreecommitdiffstats
path: root/kmail/kmsender.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmsender.cpp')
-rw-r--r--kmail/kmsender.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kmail/kmsender.cpp b/kmail/kmsender.cpp
index 1d267d88c..add465642 100644
--- a/kmail/kmsender.cpp
+++ b/kmail/kmsender.cpp
@@ -387,7 +387,7 @@ void KMSender::doSendMsg()
"\"outbox\" to the \"sent-mail\" folder failed.\n"
"Possible reasons are lack of disk space or write permission. "
"Please try to fix the problem and move the message manually.")
- .arg(mCurrentMsg->subject()));
+ .tqarg(mCurrentMsg->subject()));
cleanup();
return;
}
@@ -435,7 +435,7 @@ void KMSender::doSendMsg()
"identity '%1' in the Identities "
"section of the configuration dialog "
"and then try again." )
- .arg( id.identityName() ) );
+ .tqarg( id.identityName() ) );
mOutboxFolder->unGetMsg( mFailedMessages );
mCurrentMsg = 0;
}
@@ -455,7 +455,7 @@ void KMSender::doSendMsg()
mSentMessages));
} else {
seStatusMsg(i18n("%1 of %2 queued messages successfully sent.")
- .arg(mSentMessages).arg( mTotalMessages ));
+ .tqarg(mSentMessages).tqarg( mTotalMessages ));
}
}
cleanup();
@@ -536,7 +536,7 @@ void KMSender::doSendMsg()
}
bool KMSender::runPrecommand( const TQString & cmd ) {
- seStatusMsg( i18n("Executing precommand %1").arg( cmd ) );
+ seStatusMsg( i18n("Executing precommand %1").tqarg( cmd ) );
mPrecommand = new KMPrecommand( cmd );
connect( mPrecommand, TQT_SIGNAL(finished(bool)),
TQT_SLOT(slotPrecommandFinished(bool)) );
@@ -596,8 +596,8 @@ void KMSender::doSendMsgAux()
// start sending the current message
seStatusMsg(i18n("%3: subject of message","Sending message %1 of %2: %3")
- .arg(mSentMessages+mFailedMessages+1).arg(mTotalMessages)
- .arg(mCurrentMsg->subject()));
+ .tqarg(mSentMessages+mFailedMessages+1).tqarg(mTotalMessages)
+ .tqarg(mCurrentMsg->subject()));
TQStringList to, cc, bcc;
TQString sender;
extractSenderToCCAndBcc( mCurrentMsg, &sender, &to, &cc, &bcc );
@@ -696,8 +696,8 @@ void KMSender::slotIdle()
"fix the problem (e.g. a broken address) or remove the message "
"from the 'outbox' folder.\n"
"The following transport protocol was used:\n %2")
- .arg(errString)
- .arg(mMethodStr);
+ .tqarg(errString)
+ .tqarg(mMethodStr);
if (!errString.isEmpty()) KMessageBox::error(0,msg);
seStatusMsg( i18n( "Sending aborted." ) );
} else {
@@ -724,8 +724,8 @@ void KMSender::slotIdle()
"from the 'outbox' folder.</p>"
"<p>The following transport protocol was used: %2</p>"
"<p>Do you want me to continue sending the remaining messages?</p>")
- .arg(errString)
- .arg(mMethodStr);
+ .tqarg(errString)
+ .tqarg(mMethodStr);
res = KMessageBox::warningYesNo( 0 , msg ,
i18n( "Continue Sending" ), i18n( "&Continue Sending" ),
i18n("&Abort Sending") );
@@ -735,8 +735,8 @@ void KMSender::slotIdle()
"fix the problem (e.g. a broken address) or remove the message "
"from the 'outbox' folder.\n"
"The following transport protocol was used:\n %2")
- .arg(errString)
- .arg(mMethodStr);
+ .tqarg(errString)
+ .tqarg(mMethodStr);
KMessageBox::error(0,msg);
}
if (res == KMessageBox::Yes) {
@@ -934,8 +934,8 @@ bool KMSendSendmail::doStart() {
"Please remove it from there if you do not want the message to "
"be resent.\n"
"The following transport protocol was used:\n %2")
- .arg(str + "\n")
- .arg("sendmail://");
+ .tqarg(str + "\n")
+ .tqarg("sendmail://");
KMessageBox::information(0,msg);
return false;
}
@@ -978,7 +978,7 @@ bool KMSendSendmail::doSend( const TQString & sender, const TQStringList & to, c
if ( !mMailerProc->start( KProcess::NotifyOnExit, KProcess::All ) ) {
KMessageBox::information( 0, i18n("Failed to execute mailer program %1")
- .arg( mSender->transportInfo()->host ) );
+ .tqarg( mSender->transportInfo()->host ) );
return false;
}
mMsgPos = mMsgStr.data();