summaryrefslogtreecommitdiff
path: root/noncore/net/mail/libmailwrapper/sendmailprogress.cpp
authoralwin <alwin>2003-12-24 02:00:34 (UTC)
committer alwin <alwin>2003-12-24 02:00:34 (UTC)
commitfa581423c0ffcf35cbc403645e2131e84342dae4 (patch) (unidiff)
tree53152de4b2213f858096141bb50e5ca2ec0e91ef /noncore/net/mail/libmailwrapper/sendmailprogress.cpp
parent242f7a04e3e4963a5606ac603d54a4f115de4a04 (diff)
downloadopie-fa581423c0ffcf35cbc403645e2131e84342dae4.zip
opie-fa581423c0ffcf35cbc403645e2131e84342dae4.tar.gz
opie-fa581423c0ffcf35cbc403645e2131e84342dae4.tar.bz2
ah, ok. I found the trick or better I found what I forgot :)
Means: When sending mail a progress dialog comes up.
Diffstat (limited to 'noncore/net/mail/libmailwrapper/sendmailprogress.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/sendmailprogress.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/mail/libmailwrapper/sendmailprogress.cpp b/noncore/net/mail/libmailwrapper/sendmailprogress.cpp
index 13ddd37..ef22750 100644
--- a/noncore/net/mail/libmailwrapper/sendmailprogress.cpp
+++ b/noncore/net/mail/libmailwrapper/sendmailprogress.cpp
@@ -1,13 +1,13 @@
1#include "sendmailprogress.h" 1#include "sendmailprogress.h"
2#include <qprogressbar.h> 2#include <qprogressbar.h>
3#include <qlabel.h> 3#include <qlabel.h>
4#include <qstring.h> 4#include <qstring.h>
5 5
6progressMailSend::progressMailSend(QWidget*parent, const char * name) 6progressMailSend::progressMailSend(QWidget*parent, const char * name)
7 :progressMailSendUI(parent,name,false),m_current_mail(0),m_current_single(0),m_max_mail(0),m_max_single(0) 7 :progressMailSendUI(parent,name,true),m_current_mail(0),m_current_single(0),m_max_mail(0),m_max_single(0)
8{ 8{
9} 9}
10 10
11progressMailSend::~progressMailSend() 11progressMailSend::~progressMailSend()
12{ 12{
13} 13}
@@ -40,9 +40,9 @@ void progressMailSend::setSingle()
40 singleMailProgressBar->setTotalSteps(m_max_single); 40 singleMailProgressBar->setTotalSteps(m_max_single);
41 singleMailProgressBar->setProgress(m_current_single); 41 singleMailProgressBar->setProgress(m_current_single);
42} 42}
43 43
44void progressMailSend::setMails() 44void progressMailSend::setMails()
45{ 45{
46 QString text = QString(tr("Sending mail %1 of %2")).arg(m_current_single+1).arg(m_max_single); 46 QString text = QString(tr("Sending mail %1 of %2")).arg(m_current_mail+1).arg(m_max_mail);
47 allMailLabel->setText(text); 47 allMailLabel->setText(text);
48} 48}