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_SETTINGSFORM_H |
|
19 #define CP_RFS_SETTINGSFORM_H |
|
20 |
|
21 #include <hbdataform.h> |
|
22 #include <hbtranslator.h> |
|
23 |
|
24 class HbDataFormModelItem; |
|
25 |
|
26 class CpRfsSettingsForm : public HbDataForm |
|
27 { |
|
28 Q_OBJECT |
|
29 public: |
|
30 explicit CpRfsSettingsForm(QGraphicsItem *parent = 0); |
|
31 ~CpRfsSettingsForm(); |
|
32 private: |
|
33 void initRfsSettingModel(); |
|
34 // call these function when activated signal is emitted |
|
35 void activateNormalRfs(HbWidget *widget); |
|
36 void activateDeepRfs(HbWidget *widget); |
|
37 |
|
38 private slots: |
|
39 void onItemActivated(const QModelIndex &index); |
|
40 void onPressedNormalRfs(); |
|
41 void onPressedDeepRfs(); |
|
42 |
|
43 private: |
|
44 |
|
45 //DataForm List Items |
|
46 HbDataFormModelItem *mNormalRfs; |
|
47 HbDataFormModelItem *mDeepRfs; |
|
48 HbTranslator mTrans; |
|
49 |
|
50 }; |
|
51 #endif // CP_RFS_SETTINGSFORM_H |
|