phonebookui/pbkcommonui/inc/cntfavoritesview.h
changeset 24 0ba2181d7c28
child 25 76a2435edfd4
equal deleted inserted replaced
0:e686773b3f54 24:0ba2181d7c28
       
     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 #ifndef CNTFAVORITESVIEW_H
       
    19 #define CNTFAVORITESVIEW_H
       
    20 
       
    21 #include "cntbaselistview.h"
       
    22 
       
    23 class CntFavoritesView : public CntBaseListView
       
    24 {
       
    25     Q_OBJECT
       
    26 
       
    27 public slots:
       
    28     void aboutToCloseView();
       
    29     void openFetch();
       
    30     void openNamesList();
       
    31 
       
    32 public:
       
    33     CntFavoritesView(CntViewManager *viewManager, QGraphicsItem *parent = 0);
       
    34     ~CntFavoritesView();
       
    35 
       
    36 public://from baseview
       
    37     CntViewParameters::ViewId viewId() const { return CntViewParameters::collectionFavoritesView; }
       
    38 
       
    39 #ifdef PBK_UNIT_TEST
       
    40 public:
       
    41 #else
       
    42 protected:
       
    43 #endif
       
    44     void addActionsToToolBar();
       
    45 
       
    46 };
       
    47 
       
    48 #endif // CNTFAVORITESVIEW_H
       
    49 
       
    50 // EOF