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 CNTFETCHSELECTIONITEM_H |
|
19 #define CNTFETCHSELECTIONITEM_H |
|
20 |
|
21 #include <QObject> |
|
22 #include <hbwidget.h> |
|
23 |
|
24 class HbCheckBox; |
|
25 class HbTextItem; |
|
26 class HbFrameItem; |
|
27 |
|
28 class CntFetchMarkAll : public HbWidget |
|
29 { |
|
30 Q_OBJECT |
|
31 |
|
32 public: |
|
33 CntFetchMarkAll(QGraphicsItem *aParent = 0); |
|
34 ~CntFetchMarkAll(); |
|
35 |
|
36 void setMaxContactCount( int aContactCount ); |
|
37 void setSelectedContactCount( int aSelectedCount ); |
|
38 |
|
39 signals: |
|
40 void markAll(int aState); |
|
41 |
|
42 private: |
|
43 friend class TestCntFetchSelectionItems; |
|
44 |
|
45 HbCheckBox* mCheckBox; // not own |
|
46 HbTextItem* mCounterLabel; // not own |
|
47 HbFrameItem* mFrame; |
|
48 |
|
49 int mContactCount; |
|
50 int mSelectionCount; |
|
51 }; |
|
52 |
|
53 #endif // CNTFETCHSELECTIONITEM_H |