phonebookui/phonebookservices/src/cntservicecontactcardview.cpp
changeset 65 ae724a111993
parent 59 a642906a277a
--- a/phonebookui/phonebookservices/src/cntservicecontactcardview.cpp	Wed Aug 18 09:39:00 2010 +0300
+++ b/phonebookui/phonebookservices/src/cntservicecontactcardview.cpp	Thu Sep 02 20:16:15 2010 +0300
@@ -29,7 +29,7 @@
     mProvider( aServiceProvider )
 {
     CNT_ENTRY
-    connect(this, SIGNAL(backPressed()), this, SLOT(closeContactCard()));
+    connect(this, SIGNAL(backPressed(int)), this, SLOT(closeContactCard(int)));
     CNT_EXIT
 }
 
@@ -45,11 +45,12 @@
 /*!
 Close the view (quits the service as well)
 */
-void CntServiceContactCardView::closeContactCard()
+void CntServiceContactCardView::closeContactCard(int value)
 {
     CNT_ENTRY
+    CNT_LOG_ARGS(value);
     QVariant variant;
-    variant.setValue(KCntServicesTerminated);
+    variant.setValue(value);
     mProvider.CompleteServiceAndCloseApp(variant);
     CNT_EXIT
 }