summaryrefslogtreecommitdiffabout
path: root/kmicromail/libmailwrapper/abstractmail.cpp
authorzautrix <zautrix>2004-09-11 16:02:52 (UTC)
committer zautrix <zautrix>2004-09-11 16:02:52 (UTC)
commit53e10fa5e66620ff1eba1c9d17738103ad511c91 (patch) (side-by-side diff)
treec9ed39ce780dc3e8b9b7138781d77db793defdc9 /kmicromail/libmailwrapper/abstractmail.cpp
parent32f9963a39236d08718a36d5adad2a0c5c4e2602 (diff)
downloadkdepimpi-53e10fa5e66620ff1eba1c9d17738103ad511c91.zip
kdepimpi-53e10fa5e66620ff1eba1c9d17738103ad511c91.tar.gz
kdepimpi-53e10fa5e66620ff1eba1c9d17738103ad511c91.tar.bz2
More mail enh.
Diffstat (limited to 'kmicromail/libmailwrapper/abstractmail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/libmailwrapper/abstractmail.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/kmicromail/libmailwrapper/abstractmail.cpp b/kmicromail/libmailwrapper/abstractmail.cpp
index 374d606..44878e0 100644
--- a/kmicromail/libmailwrapper/abstractmail.cpp
+++ b/kmicromail/libmailwrapper/abstractmail.cpp
@@ -162,7 +162,7 @@ void AbstractMail::deleteMailList(const QValueList<RecMailP>&target)
void AbstractMail::downloadNewMails(const FolderP&fromFolder, AbstractMail*targetMail )
{
- qDebug("AbstractMail::downloadNewMails %s ", fromFolder->getName().latin1());
+ //qDebug("AbstractMail::downloadNewMails %s ", fromFolder->getName().latin1());
// get local folder
Account * acc = getAccount();
if ( !acc ) return;
@@ -184,7 +184,7 @@ void AbstractMail::downloadNewMails(const FolderP&fromFolder, AbstractMail*targe
}
QValueList<RecMailP> e;
targetMail->listMessages(lfName,e,acc->getMaxMailSize() );
- qDebug("target has mails %d ", e.count());
+ //qDebug("target has mails %d ", e.count());
QValueList<RecMailP> n;
int iii = 0;
int count = t.count();
@@ -201,11 +201,6 @@ void AbstractMail::downloadNewMails(const FolderP&fromFolder, AbstractMail*targe
}
++jjj;
}
- if ( found )
- qDebug("found ");
- else
- qDebug("NOT found ");
-
if ( !found ) {
n.append( r );
}
@@ -216,7 +211,7 @@ void AbstractMail::downloadNewMails(const FolderP&fromFolder, AbstractMail*targe
return;
}
mvcpMailList( n,lfName,targetMail,!acc->getLeaveOnServer());
-
+ Global::statusMessage(tr("Downloaded %1 messages").arg(n.count()));
#if 0
QValueList<RecMailP> t;