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 CNTSETTINGSMODEL_H |
|
19 #define CNTSETTINGSMODEL_H |
|
20 |
|
21 #include <hbdataformmodel.h> |
|
22 #include <hbdataformmodelitem.h> |
|
23 #include <xqsettingsmanager.h> |
|
24 |
|
25 class XQSettingsKey; |
|
26 |
|
27 /** |
|
28 * Model class for populating the settings view with the value choices |
|
29 */ |
|
30 class CntSettingsModel : public HbDataFormModel |
|
31 { |
|
32 Q_OBJECT |
|
33 |
|
34 public: |
|
35 CntSettingsModel(); |
|
36 ~CntSettingsModel(); |
|
37 |
|
38 private slots: |
|
39 void handleDataChanged(QModelIndex topLeft, QModelIndex bottomRight); |
|
40 |
|
41 private: |
|
42 XQSettingsManager mSettings; |
|
43 XQSettingsKey *mNameOrderkey; |
|
44 }; |
|
45 |
|
46 #endif |