phonebookui/phonebookservices/src/cntserviceassigncontactcardview.cpp
changeset 37 fd64c38c277d
parent 27 de1630741fbe
child 46 efe85016a067
--- a/phonebookui/phonebookservices/src/cntserviceassigncontactcardview.cpp	Fri May 14 15:42:23 2010 +0300
+++ b/phonebookui/phonebookservices/src/cntserviceassigncontactcardview.cpp	Thu May 27 12:45:19 2010 +0300
@@ -94,7 +94,7 @@
     QVariant var;
     var.setValue(mContact);
     viewParameters.insert(ESelectedContact, var);
-    //viewManager()->changeView(viewParameters);
+    mViewManager->changeView(viewParameters);
 }
 
 /*!
@@ -107,16 +107,17 @@
     QVariant var;
     var.setValue(mDetail);
     viewParameters.insert(ESelectedDetail, var);
-    //viewManager()->changeView(viewParameters);
+    mViewManager->changeView(viewParameters);
 }
 
 /*!
 Called after the view has been activated
 */
-void CntServiceAssignContactCardView::doViewActivated(QContact contact, QContactDetail detail)
+void CntServiceAssignContactCardView::doViewActivated(CntAbstractViewManager* aMgr, const CntViewParameters aArgs)
 {
-    mContact = contact;
-    mDetail = detail;
+    mViewManager = aMgr;
+    mContact = aArgs.value(ESelectedContact).value<QContact>();
+    mDetail = aArgs.value(ESelectedDetail).value<QContactDetail>();
 }
 
 /*!