equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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 CP_RFS_SETTINGS_DATAFORM_CUSTOMITEM_H |
|
19 #define CP_RFS_SETTINGS_DATAFORM_CUSTOMITEM_H |
|
20 |
|
21 #include <hbdataformviewitem.h> |
|
22 |
|
23 |
|
24 class HbPushButton; |
|
25 |
|
26 class CpRfsSettingsDataFormCustomItem : public HbDataFormViewItem |
|
27 { |
|
28 Q_OBJECT |
|
29 |
|
30 public: |
|
31 CpRfsSettingsDataFormCustomItem(QGraphicsItem *parent); |
|
32 ~CpRfsSettingsDataFormCustomItem(); |
|
33 virtual bool canSetModelIndex(const QModelIndex &index) const; |
|
34 virtual HbAbstractViewItem* createItem(); |
|
35 protected: |
|
36 //Override createCustomWidget API |
|
37 virtual HbWidget* createCustomWidget(); |
|
38 public: |
|
39 HbPushButton *mButton; |
|
40 |
|
41 }; |
|
42 |
|
43 #endif // CP_RFS_SETTINGS_DATAFORM_CUSTOMITEM_H |