--- a/phonebookui/phonebookservices/src/cntserviceeditview.cpp Wed Jul 21 11:37:51 2010 +0300
+++ b/phonebookui/phonebookservices/src/cntserviceeditview.cpp Fri Jul 23 12:43:48 2010 +0300
@@ -18,7 +18,7 @@
#include "cntserviceeditview.h"
#include <cntservicescontact.h>
#include <QCoreApplication>
-
+#include "cntdebug.h"
CntServiceEditView::CntServiceEditView( CntAbstractServiceProvider& aServiceProvider )
: CntEditView(),
@@ -35,25 +35,37 @@
void CntServiceEditView::doContactUpdated(int aSuccess)
{
+ CNT_ENTRY_ARGS(aSuccess)
+
int retValue = aSuccess ? KCntServicesReturnValueContactSaved : KCntServicesReturnValueContactNotModified;
QVariant variant;
variant.setValue(retValue);
mProvider.CompleteServiceAndCloseApp(variant);
+
+ CNT_EXIT
}
void CntServiceEditView::doContactRemoved(bool aSuccess)
{
+ CNT_ENTRY_ARGS(aSuccess)
+
int retValue = aSuccess ? KCntServicesReturnValueContactDeleted : KCntServicesReturnValueContactNotModified;
QVariant variant;
variant.setValue(retValue);
mProvider.CompleteServiceAndCloseApp(variant);
+
+ CNT_EXIT
}
void CntServiceEditView::doChangesDiscarded()
{
+ CNT_ENTRY
+
QVariant variant;
variant.setValue(KCntServicesReturnValueContactNotModified);
mProvider.CompleteServiceAndCloseApp(variant);
+
+ CNT_EXIT
}
// EOF