summaryrefslogtreecommitdiffstats
path: root/korganizer/komailclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/komailclient.cpp')
-rw-r--r--korganizer/komailclient.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/korganizer/komailclient.cpp b/korganizer/komailclient.cpp
index 1b3215c09..8b65d1d18 100644
--- a/korganizer/komailclient.cpp
+++ b/korganizer/komailclient.cpp
@@ -188,18 +188,18 @@ bool KOMailClient::send(const TQString &from,const TQString &_to,const TQString
if (KOPrefs::instance()->mMailClient == KOPrefs::MailClientSendmail) {
bool needHeaders = true;
- TQString command = KStandardDirs::findExe(TQString::fromLatin1("sendmail"),
- TQString::fromLatin1("/sbin:/usr/sbin:/usr/lib"));
- if (!command.isNull()) command += TQString::fromLatin1(" -oi -t");
+ TQString command = KStandardDirs::findExe(TQString::tqfromLatin1("sendmail"),
+ TQString::tqfromLatin1("/sbin:/usr/sbin:/usr/lib"));
+ if (!command.isNull()) command += TQString::tqfromLatin1(" -oi -t");
else {
- command = KStandardDirs::findExe(TQString::fromLatin1("mail"));
+ command = KStandardDirs::findExe(TQString::tqfromLatin1("mail"));
if (command.isNull()) return false; // give up
- command.append(TQString::fromLatin1(" -s "));
+ command.append(TQString::tqfromLatin1(" -s "));
command.append(KProcess::quote(subject));
if (bcc) {
- command.append(TQString::fromLatin1(" -b "));
+ command.append(TQString::tqfromLatin1(" -b "));
command.append(KProcess::quote(from));
}
@@ -224,14 +224,14 @@ bool KOMailClient::send(const TQString &from,const TQString &_to,const TQString
TQString textComplete;
if (needHeaders)
{
- textComplete += TQString::fromLatin1("From: ") + from + '\n';
- textComplete += TQString::fromLatin1("To: ") + to + '\n';
+ textComplete += TQString::tqfromLatin1("From: ") + from + '\n';
+ textComplete += TQString::tqfromLatin1("To: ") + to + '\n';
if ( !cc.isEmpty() ) {
- textComplete += TQString::fromLatin1("Cc: " ) + cc + '\n';
+ textComplete += TQString::tqfromLatin1("Cc: " ) + cc + '\n';
}
- if (bcc) textComplete += TQString::fromLatin1("Bcc: ") + from + '\n';
- textComplete += TQString::fromLatin1("Subject: ") + subject + '\n';
- textComplete += TQString::fromLatin1("X-Mailer: KOrganizer") + korgVersion + '\n';
+ if (bcc) textComplete += TQString::tqfromLatin1("Bcc: ") + from + '\n';
+ textComplete += TQString::tqfromLatin1("Subject: ") + subject + '\n';
+ textComplete += TQString::tqfromLatin1("X-Mailer: KOrganizer") + korgVersion + '\n';
}
textComplete += '\n'; // end of headers
textComplete += body;