phonebookui/pbkcommonui/inc/cntgroupselectionpopup.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 CNTGROUPSELECTIONPOPUP_H
       
    19 #define CNTGROUPSELECTIONPOPUP_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <hbdialog.h>
       
    23 #include <hblistview.h>
       
    24 #include "qmobilityglobal.h"
       
    25 
       
    26 class HbListView;
       
    27 class MobCntModel;
       
    28 
       
    29 QTM_BEGIN_NAMESPACE
       
    30 class QContactManager;
       
    31 class QContact;
       
    32 QTM_END_NAMESPACE
       
    33 
       
    34 QTM_USE_NAMESPACE
       
    35 
       
    36 class CntGroupSelectionPopup : public HbDialog
       
    37 {
       
    38     Q_OBJECT
       
    39 
       
    40 public:
       
    41     CntGroupSelectionPopup(QContactManager *manager,MobCntModel *model, QContact *contact,QGraphicsItem *parent = 0 );
       
    42     ~CntGroupSelectionPopup();
       
    43 
       
    44     void saveNewGroup();
       
    45     void saveOldGroup();
       
    46     void populateListOfContact();
       
    47     void populateListOfGroup();
       
    48     void deleteGroup();
       
    49   
       
    50 #ifdef PBK_UNIT_TEST
       
    51 public slots:
       
    52 #else
       
    53 private slots:
       
    54 #endif
       
    55   
       
    56 #ifdef PBK_UNIT_TEST
       
    57 public:
       
    58 #else
       
    59 private:
       
    60 #endif
       
    61     HbListView          *mListView;
       
    62     QContactManager     *mContactManager;
       
    63     MobCntModel         *mCntModel;
       
    64     QContact            *mContact;
       
    65    
       
    66 };
       
    67 
       
    68 #endif // CNTGROUPSELECTIONPOPUP_H