equal
deleted
inserted
replaced
|
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 <hbselectiondialog.h> |
|
23 #include <qmobilityglobal.h> |
|
24 #include <qcontactid.h> |
|
25 #include "cntgroupdeletepopupmodel.h" |
|
26 |
|
27 class HbListView; |
|
28 class CntAbstractEngine; |
|
29 |
|
30 QTM_BEGIN_NAMESPACE |
|
31 class QContactManager; |
|
32 QTM_END_NAMESPACE |
|
33 |
|
34 QTM_USE_NAMESPACE |
|
35 |
|
36 class CntGroupDeletePopup : public HbSelectionDialog |
|
37 { |
|
38 Q_OBJECT |
|
39 friend class TestCntGroupDeletePopup; |
|
40 |
|
41 public: |
|
42 CntGroupDeletePopup(CntAbstractEngine *aEngine, QGraphicsItem *parent = 0); |
|
43 ~CntGroupDeletePopup(); |
|
44 |
|
45 void populateListOfGroup(); |
|
46 QList<QContactLocalId> deleteGroup() const; |
|
47 |
|
48 private: |
|
49 QContactManager *mContactManager; |
|
50 CntGroupDeletePopupModel *mModel; |
|
51 }; |
|
52 |
|
53 #endif // CNTGROUPDELETEPOPUP_H |