--- a/phonebookui/phonebookservices/src/cntservicecontactcardview.cpp Wed Aug 11 09:06:35 2010 +0300
+++ b/phonebookui/phonebookservices/src/cntservicecontactcardview.cpp Mon Aug 23 16:06:28 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
}