phonebookui/phonebookservices/src/cntserviceprovideredit.cpp
changeset 53 e6aff7b69165
parent 50 77bc263e1626
child 72 6abfb1094884
--- a/phonebookui/phonebookservices/src/cntserviceprovideredit.cpp	Wed Jul 21 11:37:51 2010 +0300
+++ b/phonebookui/phonebookservices/src/cntserviceprovideredit.cpp	Fri Jul 23 12:43:48 2010 +0300
@@ -46,16 +46,25 @@
     {
     CNT_ENTRY
     mCurrentRequestIndex = setCurrentRequestAsync();
-    mServices.setQuitable(requestInfo().isEmbedded());
+    mServices.setQuittable(requestInfo().isEmbedded());
     mServices.editCreateNew( definitionName, value, *this );
     CNT_EXIT
     }
 
+void CntServiceProviderEdit::editCreateNew(const QString& definitionName, const QString& value, const QString &subType)
+    {
+    CNT_ENTRY
+    mCurrentRequestIndex = setCurrentRequestAsync();
+    mServices.setQuittable(requestInfo().isEmbedded());
+    mServices.editCreateNew( definitionName, value, subType, *this );
+    CNT_EXIT
+    }
+
 void CntServiceProviderEdit::editCreateNewFromVCard(const QString &vCardFile)
     {
     CNT_ENTRY
     mCurrentRequestIndex = setCurrentRequestAsync();
-    mServices.setQuitable(requestInfo().isEmbedded());
+    mServices.setQuittable(requestInfo().isEmbedded());
     mServices.editCreateNewFromVCard( vCardFile, *this );
     CNT_EXIT
     }
@@ -64,7 +73,7 @@
     {
     CNT_ENTRY
     mCurrentRequestIndex = setCurrentRequestAsync();
-    mServices.setQuitable(requestInfo().isEmbedded());
+    mServices.setQuittable(requestInfo().isEmbedded());
     mServices.editExisting( contactId, *this );
     CNT_EXIT
     }
@@ -73,11 +82,19 @@
     {
     CNT_ENTRY
     mCurrentRequestIndex = setCurrentRequestAsync();
-    mServices.setQuitable(requestInfo().isEmbedded());
+    mServices.setQuittable(requestInfo().isEmbedded());
     mServices.editUpdateExisting( definitionName, value, *this );
     CNT_EXIT
     }
 
+void CntServiceProviderEdit::editUpdateExisting(const QString &definitionName, const QString &value, const QString &subType)
+    {
+    CNT_ENTRY
+    mCurrentRequestIndex = setCurrentRequestAsync();
+    mServices.setQuittable(requestInfo().isEmbedded());
+    mServices.editUpdateExisting( definitionName, value, subType, *this );
+    CNT_EXIT
+    }
 
 void CntServiceProviderEdit::CompleteServiceAndCloseApp(const QVariant& retValue)
     {