equal
deleted
inserted
replaced
18 #ifndef CPNETWORKPLUGIN_H |
18 #ifndef CPNETWORKPLUGIN_H |
19 #define CPNETWORKPLUGIN_H |
19 #define CPNETWORKPLUGIN_H |
20 |
20 |
21 #include <qobject.h> |
21 #include <qobject.h> |
22 #include <cpplugininterface.h> |
22 #include <cpplugininterface.h> |
|
23 #include <cplauncherinterface.h> |
|
24 #include "cpnetworkstatus.h" |
23 #include "cpphonelocalisation.h" |
25 #include "cpphonelocalisation.h" |
24 |
26 |
25 |
27 |
26 class CpNetworkPlugin : public QObject, public CpPluginInterface |
28 class CpNetworkPlugin |
|
29 : public QObject, |
|
30 public CpPluginInterface, |
|
31 public CpLauncherInterface |
|
32 |
27 { |
33 { |
28 Q_OBJECT |
34 Q_OBJECT |
29 Q_INTERFACES(CpPluginInterface) |
35 Q_INTERFACES(CpPluginInterface) |
30 |
36 Q_INTERFACES(CpLauncherInterface) |
|
37 |
31 public: |
38 public: |
32 |
39 |
33 CpNetworkPlugin(); |
40 CpNetworkPlugin(); |
34 |
41 |
35 ~CpNetworkPlugin(); |
42 ~CpNetworkPlugin(); |
38 * From CpPluginInterface |
45 * From CpPluginInterface |
39 * @see CpPluginInterface. |
46 * @see CpPluginInterface. |
40 */ |
47 */ |
41 QList<CpSettingFormItemData*> createSettingFormItemData( |
48 QList<CpSettingFormItemData*> createSettingFormItemData( |
42 CpItemDataHelper &itemDataHelper) const; |
49 CpItemDataHelper &itemDataHelper) const; |
|
50 |
|
51 /** |
|
52 * From CpLauncherInterface |
|
53 * @see CpLauncherInterface. |
|
54 */ |
|
55 CpBaseSettingView *createSettingView(const QVariant &hint) const; |
43 |
56 |
44 private: |
57 private: |
45 |
58 |
46 QScopedPointer<CpPhoneLocalisation> m_localisation; |
59 QScopedPointer<CpPhoneLocalisation> m_localisation; |
|
60 |
|
61 QScopedPointer<CpNetworkStatus> m_networkStatus; |
47 }; |
62 }; |
48 |
63 |
49 #endif // CPNETWORKPLUGIN_H |
64 #endif // CPNETWORKPLUGIN_H |