phonebookui/cntcommonui/collections/cntgroupdeletepopup.h
author hgs
Tue, 21 Sep 2010 17:07:25 +0300
changeset 72 6abfb1094884
parent 61 phonebookui/pbkcommonui/inc/cntgroupdeletepopup.h@d30183af6ca6
child 81 640d30f4fb64
permissions -rw-r--r--
201037

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/

#ifndef CNTGROUPDELETEPOPUP_H
#define CNTGROUPDELETEPOPUP_H

#include <QObject>
#include <hbselectiondialog.h>
#include <qmobilityglobal.h>
#include <qcontactid.h>
#include "cntgroupdeletepopupmodel.h"

class HbListView;
class CntAbstractEngine;

QTM_BEGIN_NAMESPACE
class QContactManager;
QTM_END_NAMESPACE

QTM_USE_NAMESPACE

class CntGroupDeletePopup : public HbSelectionDialog
{
    Q_OBJECT
    friend class TestCntGroupDeletePopup;

public:
    CntGroupDeletePopup(CntAbstractEngine *aEngine, QGraphicsItem *parent = 0);
    ~CntGroupDeletePopup();

    void populateListOfGroup();
    QList<QContactLocalId> deleteGroup() const;

private:
    QContactManager          *mContactManager;
    CntGroupDeletePopupModel *mModel;  
};

#endif // CNTGROUPDELETEPOPUP_H