phonebookui/pbkcommonui/src/cntcontactcardview.cpp
changeset 53 e6aff7b69165
parent 37 fd64c38c277d
child 61 d30183af6ca6
--- a/phonebookui/pbkcommonui/src/cntcontactcardview.cpp	Wed Jul 21 11:37:51 2010 +0300
+++ b/phonebookui/pbkcommonui/src/cntcontactcardview.cpp	Fri Jul 23 12:43:48 2010 +0300
@@ -20,12 +20,13 @@
 
 #include <hbview.h>
 
-CntContactCardView::CntContactCardView() : d_ptr(new CntContactCardViewPrivate())
+CntContactCardView::CntContactCardView(bool isTemporary) : d_ptr(new CntContactCardViewPrivate(isTemporary))
 {
     Q_D(CntContactCardView);
     connect(d_ptr, SIGNAL(backPressed()), this, SIGNAL(backPressed()));
     connect(d_ptr, SIGNAL(viewActivated(CntAbstractViewManager*, const CntViewParameters)), 
             this, SIGNAL(viewActivated(CntAbstractViewManager*, const CntViewParameters)));
+    connect(d_ptr, SIGNAL(addToContacts()), this, SIGNAL(addToContacts()));
 }
 
 /*!
@@ -62,7 +63,7 @@
 
 int CntContactCardView::viewId() const 
 { 
-    return commLauncherView; 
+    return contactCardView; 
 }
 
 // end of file