phonebookui/pbkcommonui/src/cntbaseselectionview.cpp
changeset 59 a642906a277a
parent 46 efe85016a067
child 61 d30183af6ca6
equal deleted inserted replaced
47:7cbcb2896f0e 59:a642906a277a
    50     HbIndexFeedback *indexFeedback = new HbIndexFeedback(mView);
    50     HbIndexFeedback *indexFeedback = new HbIndexFeedback(mView);
    51     indexFeedback->setIndexFeedbackPolicy(HbIndexFeedback::IndexFeedbackSingleCharacter);
    51     indexFeedback->setIndexFeedbackPolicy(HbIndexFeedback::IndexFeedbackSingleCharacter);
    52     indexFeedback->setItemView(mListView);
    52     indexFeedback->setItemView(mListView);
    53     
    53     
    54     mSoftkey = new HbAction(Hb::BackNaviAction, mView);
    54     mSoftkey = new HbAction(Hb::BackNaviAction, mView);
    55     connect( mSoftkey, SIGNAL(triggered()), this, SLOT(closeView()) );
    55     connect( mSoftkey, SIGNAL(triggered()), this, SIGNAL(viewClosed()) );
    56 }
    56 }
    57 
    57 
    58 CntBaseSelectionView::~CntBaseSelectionView()
    58 CntBaseSelectionView::~CntBaseSelectionView()
    59 {
    59 {
    60     delete mDocument;
    60     delete mDocument;
   103 HbView* CntBaseSelectionView::view() const
   103 HbView* CntBaseSelectionView::view() const
   104 {
   104 {
   105     return mView;
   105     return mView;
   106 }
   106 }
   107 
   107 
   108 void CntBaseSelectionView::closeView()
       
   109 {
       
   110     emit viewClosed();
       
   111     
       
   112     CntViewParameters args;
       
   113     mMgr->back( args );
       
   114 }
       
   115 
       
   116 // EOF
   108 // EOF