diff -r 2c9d3aa5bea2 -r 20bd089f4aaa controlpanel/examples/viewplugin/src/cpviewplugin.h --- a/controlpanel/examples/viewplugin/src/cpviewplugin.h Thu Apr 01 03:17:51 2010 +0800 +++ b/controlpanel/examples/viewplugin/src/cpviewplugin.h Thu Apr 01 03:23:37 2010 +0800 @@ -18,16 +18,16 @@ #define CPVIEWPLUGIN_H #include -#include +#include -class CpViewPlugin : public QObject, public CpPluginPlatInterface +class CpViewPlugin : public QObject, public CpPluginInterface { -Q_OBJECT - Q_INTERFACES(CpPluginPlatInterface) + Q_OBJECT + Q_INTERFACES(CpPluginInterface) public: CpViewPlugin(); - ~CpViewPlugin(); - virtual CpSettingFormItemData *createSettingFormItemData(CpItemDataHelper &itemDataHelper) const; + virtual ~CpViewPlugin(); + virtual QList createSettingFormItemData(CpItemDataHelper &itemDataHelper) const; }; #endif //CPVIEWPLUGIN_H