author | tille <tille> | 2002-06-18 15:57:43 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-18 15:57:43 (UTC) |
commit | eacd774d0bf520d17dac5eea092197174b43c9f9 (patch) (unidiff) | |
tree | c1fe6523be5c4b8ced71366dd7bb7cc65408a742 | |
parent | 5538834e726c3b5d3ba7998c56845ea652d184dd (diff) | |
download | opie-eacd774d0bf520d17dac5eea092197174b43c9f9.zip opie-eacd774d0bf520d17dac5eea092197174b43c9f9.tar.gz opie-eacd774d0bf520d17dac5eea092197174b43c9f9.tar.bz2 |
added dialog popup after mail is queued
-rw-r--r-- | noncore/unsupported/mail2/composer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/unsupported/mail2/composer.cpp b/noncore/unsupported/mail2/composer.cpp index cabffe5..1d793ee 100644 --- a/noncore/unsupported/mail2/composer.cpp +++ b/noncore/unsupported/mail2/composer.cpp | |||
@@ -297,13 +297,14 @@ void Composer::slotQueueMail() | |||
297 | cfg.writeEntry( an + "fileName", a.fileName() ); | 297 | cfg.writeEntry( an + "fileName", a.fileName() ); |
298 | cfg.writeEntry( an + "newName", a.newName() ); | 298 | cfg.writeEntry( an + "newName", a.newName() ); |
299 | cfg.writeEntry( an + "description", a.description() ); | 299 | cfg.writeEntry( an + "description", a.description() ); |
300 | cfg.writeEntry( an + "docLnk", a.docLnk().file() ); | 300 | cfg.writeEntry( an + "docLnk", a.docLnk().file() ); |
301 | } | 301 | } |
302 | 302 | ||
303 | //cfg.close(); | 303 | QMessageBox::information(this, tr("Success"), tr("<p>The mail was queued successfully.</p><p>The queue contains ")+QString::number(count)+tr(" mails.</p>"), tr("Ok")); |
304 | |||
304 | } | 305 | } |
305 | 306 | ||
306 | void Composer::slotSendError(const QString &error) | 307 | void Composer::slotSendError(const QString &error) |
307 | { | 308 | { |
308 | status->setText(tr("<font color=#ff0000>Error occoured during sending.</font>")); | 309 | status->setText(tr("<font color=#ff0000>Error occoured during sending.</font>")); |
309 | QMessageBox::warning(this, tr("Error"), tr("<p>%1</p").arg(error), tr("Ok")); | 310 | QMessageBox::warning(this, tr("Error"), tr("<p>%1</p").arg(error), tr("Ok")); |