phonebookui/pbkcommonui/inc/cntgroupdeletepopup.h
changeset 25 76a2435edfd4
child 31 2a11b5b00470
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 #ifndef CNTGROUPDELETEPOPUP_H
       
    19 #define CNTGROUPDELETEPOPUP_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <hbdialog.h>
       
    23 #include <hblistview.h>
       
    24 #include "qmobilityglobal.h"
       
    25 #include "cntgroupdeletepopupmodel.h"
       
    26 
       
    27 class HbListView;
       
    28 
       
    29 QTM_BEGIN_NAMESPACE
       
    30 class QContactManager;
       
    31 QTM_END_NAMESPACE
       
    32 
       
    33 QTM_USE_NAMESPACE
       
    34 
       
    35 class CntGroupDeletePopup : public HbDialog
       
    36 {
       
    37     Q_OBJECT
       
    38 
       
    39 public:
       
    40     CntGroupDeletePopup(QContactManager *manager, QGraphicsItem *parent = 0);
       
    41     ~CntGroupDeletePopup();
       
    42 
       
    43     void populateListOfGroup();
       
    44     void deleteGroup();
       
    45 
       
    46 #ifdef PBK_UNIT_TEST
       
    47 public:
       
    48 #else
       
    49 private:
       
    50 #endif
       
    51     HbListView              *mListView;
       
    52     QContactManager         *mContactManager;
       
    53     CntGroupDeletePopupModel * mModel;  
       
    54 };
       
    55 
       
    56 #endif // CNTGROUPDELETEPOPUP_H