equal
deleted
inserted
replaced
18 #ifndef CPPERSONALIZATIONPLUGIN_H |
18 #ifndef CPPERSONALIZATIONPLUGIN_H |
19 #define CPPERSONALIZATIONPLUGIN_H |
19 #define CPPERSONALIZATIONPLUGIN_H |
20 |
20 |
21 #include <qobject.h> |
21 #include <qobject.h> |
22 #include <cpplugininterface.h> |
22 #include <cpplugininterface.h> |
|
23 #include <cplauncherinterface.h> |
|
24 |
|
25 class CpBaseSettingView; |
|
26 class QVariant; |
23 |
27 |
24 class CpPersonalizationPlugin |
28 class CpPersonalizationPlugin |
25 : public QObject, |
29 : public QObject, |
26 public CpPluginInterface |
30 public CpPluginInterface, |
|
31 public CpLauncherInterface |
27 { |
32 { |
28 Q_OBJECT |
33 Q_OBJECT |
29 Q_INTERFACES(CpPluginInterface) |
34 Q_INTERFACES(CpPluginInterface) |
|
35 Q_INTERFACES(CpLauncherInterface) |
30 public: |
36 public: |
31 CpPersonalizationPlugin(); |
37 CpPersonalizationPlugin(); |
32 virtual ~CpPersonalizationPlugin(); |
38 virtual ~CpPersonalizationPlugin(); |
33 virtual QList<CpSettingFormItemData*> createSettingFormItemData(CpItemDataHelper &itemDataHelper) const; |
39 virtual QList<CpSettingFormItemData*> createSettingFormItemData(CpItemDataHelper &itemDataHelper) const; |
|
40 virtual CpBaseSettingView *createSettingView(const QVariant &hint) const; |
34 }; |
41 }; |
35 |
42 |
36 #endif /* CPPERSONALIZATIONPLUGIN_H */ |
43 #endif /* CPPERSONALIZATIONPLUGIN_H */ |
37 |
44 |
38 |
45 |