phonebookui/pbkcommonui/src/cntfavoritesselectionview.cpp
changeset 25 76a2435edfd4
parent 24 0ba2181d7c28
child 27 de1630741fbe
equal deleted inserted replaced
24:0ba2181d7c28 25:76a2435edfd4
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "cntfavoritesselectionview.h"
       
    19 
       
    20 #include <hblistview.h>
       
    21 
       
    22 /*!
       
    23 Constructor, initialize member variables.
       
    24 \a viewManager is the parent that creates this view. \a parent is a pointer to parent QGraphicsItem (by default this is 0)
       
    25 */
       
    26 CntFavoritesSelectionView::CntFavoritesSelectionView(CntViewManager *viewManager, QGraphicsItem *parent)
       
    27 : CntBaseSelectionView(viewManager, parent)
       
    28 {
       
    29 }
       
    30 
       
    31 /*!
       
    32 Destructor
       
    33 */
       
    34 CntFavoritesSelectionView::~CntFavoritesSelectionView()
       
    35 {
       
    36 }
       
    37 
       
    38 /*!
       
    39 Save selections
       
    40 */
       
    41 void CntFavoritesSelectionView::aboutToCloseView()
       
    42 {
       
    43     CntViewParameters viewParameters(CntViewParameters::collectionView);
       
    44     viewManager()->onActivateView(viewParameters);
       
    45 }
       
    46