emailservices/nmclientapi/src/nmapienvelopelisting.cpp
changeset 30 759dc5235cdb
parent 23 2dc6caa42ec3
child 48 10eaf342f539
child 54 997a02608b3a
--- 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;
 }