|
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:Declaration of the Positioning Settings Advanced View class |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef POSSETTINGSENG_ADVANCEDVIEW_H |
|
19 #define POSSETTINGSENG_ADVANCEDVIEW_H |
|
20 |
|
21 #include "possettingsadvop.h" |
|
22 |
|
23 #include <QObject.h> |
|
24 #include <cpbasesettingview.h> |
|
25 |
|
26 //class PosSettingsAdvancedDataForm; |
|
27 class HbDataForm; |
|
28 class HbDataFormModel; |
|
29 class HbDataFormModelItem; |
|
30 class PosSettingsAdvOp; |
|
31 class PosSettingsAdvInterface; |
|
32 class PosSettingsPluginsLoader; |
|
33 class QFileSystemWatcher; |
|
34 |
|
35 class PosSettingsAdvView : public CpBaseSettingView |
|
36 { |
|
37 Q_OBJECT |
|
38 |
|
39 public: |
|
40 /* |
|
41 * Constructor |
|
42 */ |
|
43 PosSettingsAdvView(QGraphicsItem *parent = 0); |
|
44 /* |
|
45 * Destructor |
|
46 */ |
|
47 ~PosSettingsAdvView(); |
|
48 |
|
49 private slots: |
|
50 /** |
|
51 * Updates the advanced view in case of change in any of the plugins, |
|
52 * this slot needs to be called |
|
53 */ |
|
54 void updateAdvView(); |
|
55 |
|
56 private: |
|
57 |
|
58 /** |
|
59 * Handle to Heading groupbox |
|
60 * Not Own |
|
61 */ |
|
62 HbDataFormModelItem *mHeading; |
|
63 |
|
64 |
|
65 /* |
|
66 * Pointer to the HbDataForm |
|
67 * Owns |
|
68 */ |
|
69 HbDataForm* mAdvancedDataForm; |
|
70 /* |
|
71 * Pointer to the PosSettingsAdvOp |
|
72 * owns |
|
73 */ |
|
74 PosSettingsAdvOp* mAdvancedOperation; |
|
75 /** |
|
76 * List containing the plugins |
|
77 */ |
|
78 QList<PosSettingsAdvInterface*> mPluginsList; |
|
79 /** |
|
80 * Pointer to the PosSettingsPluginsLoader |
|
81 */ |
|
82 PosSettingsPluginsLoader* mPluginsLoader; |
|
83 /** |
|
84 * Pointer to the QFileSystemWatcher |
|
85 * Owns |
|
86 */ |
|
87 QFileSystemWatcher* mWatcher; |
|
88 |
|
89 }; |
|
90 |
|
91 #endif //POSSETTINGSENG_ADVANCEDVIEW_H |