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: An extension to HbDataFormModel, can be filled with model items comes from controlpanel plugins. |
|
15 * |
|
16 */ |
|
17 #ifndef CPCATEGORYSETTINGFORMMODEL_H |
|
18 #define CPCATEGORYSETTINGFORMMODEL_H |
|
19 |
|
20 #include <cpcategoryglobal.h> |
|
21 #include <hbdataformmodel.h> |
|
22 |
|
23 class CpItemDataHelper; |
|
24 class CpCategorySettingFormModelPrivate; |
|
25 |
|
26 class CP_CATEGORY_EXPORT CpCategorySettingFormModel : public HbDataFormModel |
|
27 { |
|
28 Q_OBJECT |
|
29 public: |
|
30 explicit CpCategorySettingFormModel(const QString &configFile); |
|
31 virtual ~CpCategorySettingFormModel(); |
|
32 virtual void initialize(CpItemDataHelper &itemDataHelper); |
|
33 private: |
|
34 virtual void beforeLoadingConfigPlugins(CpItemDataHelper &itemDataHelper); |
|
35 virtual void afterLoadingConfigPlugins(CpItemDataHelper &itemDataHelper); |
|
36 private: |
|
37 CpCategorySettingFormModelPrivate *d; |
|
38 }; |
|
39 |
|
40 #endif |
|
41 |
|
42 //End of File |
|
43 |