--- a/emailservices/nmclientapi/src/nmapienvelopelisting.cpp Thu May 27 12:43:55 2010 +0300
+++ b/emailservices/nmclientapi/src/nmapienvelopelisting.cpp Fri Jun 11 13:27:14 2010 +0300
@@ -15,6 +15,7 @@
*
*/
+#include "emailtrace.h"
#include <nmapienvelopelisting.h>
#include "nmapienvelopelisting_p.h"
@@ -36,6 +37,8 @@
const quint64 mailboxId) :
NmApiMessageTask(parent)
{
+ NM_FUNCTION;
+
mListingPrivate = new NmApiEnvelopeListingPrivate(this);
mListingPrivate->mailboxId = mailboxId;
mListingPrivate->folderId = folderId;
@@ -47,6 +50,8 @@
*/
NmApiEnvelopeListing::~NmApiEnvelopeListing()
{
+ NM_FUNCTION;
+
if (mListingPrivate->mIsRunning) {
mListingPrivate->releaseEngine();
}
@@ -67,6 +72,8 @@
*/
bool NmApiEnvelopeListing::start()
{
+ NM_FUNCTION;
+
bool result = false;
if (mListingPrivate->mIsRunning) {
@@ -101,6 +108,8 @@
*/
void NmApiEnvelopeListing::cancel()
{
+ NM_FUNCTION;
+
if (mListingPrivate->mIsRunning) {
mListingPrivate->mIsRunning = false;
mListingPrivate->releaseEngine();
@@ -120,6 +129,8 @@
*/
bool NmApiEnvelopeListing::getEnvelopes(QList<EmailClientApi::NmApiMessageEnvelope> &envelopes)
{
+ NM_FUNCTION;
+
envelopes.clear();
bool result = false;
@@ -140,6 +151,8 @@
*/
bool NmApiEnvelopeListing::isRunning() const
{
+ NM_FUNCTION;
+
return mListingPrivate->mIsRunning;
}