phonebookui/pbkcommonui/src/cntcontactcardview.cpp
changeset 37 fd64c38c277d
parent 27 de1630741fbe
child 53 e6aff7b69165
equal deleted inserted replaced
31:2a11b5b00470 37:fd64c38c277d
    22 
    22 
    23 CntContactCardView::CntContactCardView() : d_ptr(new CntContactCardViewPrivate())
    23 CntContactCardView::CntContactCardView() : d_ptr(new CntContactCardViewPrivate())
    24 {
    24 {
    25     Q_D(CntContactCardView);
    25     Q_D(CntContactCardView);
    26     connect(d_ptr, SIGNAL(backPressed()), this, SIGNAL(backPressed()));
    26     connect(d_ptr, SIGNAL(backPressed()), this, SIGNAL(backPressed()));
    27     connect(d_ptr, SIGNAL(viewActivated(QContact, QContactDetail)), this, SIGNAL(viewActivated(QContact, QContactDetail)));
    27     connect(d_ptr, SIGNAL(viewActivated(CntAbstractViewManager*, const CntViewParameters)), 
       
    28             this, SIGNAL(viewActivated(CntAbstractViewManager*, const CntViewParameters)));
    28 }
    29 }
    29 
    30 
    30 /*!
    31 /*!
    31  Destructor
    32  Destructor
    32  */
    33  */
    54     return d->mView;
    55     return d->mView;
    55 }
    56 }
    56 
    57 
    57 bool CntContactCardView::isDefault() const 
    58 bool CntContactCardView::isDefault() const 
    58 { 
    59 { 
    59     Q_D(const CntContactCardView);
       
    60     return false; 
    60     return false; 
    61 }
    61 }
    62 
    62 
    63 int CntContactCardView::viewId() const 
    63 int CntContactCardView::viewId() const 
    64 { 
    64 { 
    65     Q_D(const CntContactCardView);
       
    66     return commLauncherView; 
    65     return commLauncherView; 
    67 }
    66 }
    68 
    67 
    69 // end of file
    68 // end of file