--- a/controlpanel/examples/themeplugin/src/cpthemeplugin.h Thu Apr 01 03:17:51 2010 +0800
+++ b/controlpanel/examples/themeplugin/src/cpthemeplugin.h Thu Apr 01 03:23:37 2010 +0800
@@ -19,16 +19,16 @@
#define CPTHEMEPLUGIN_H
#include <qobject.h>
-#include <cppluginplatinterface.h>
+#include <cpplugininterface.h>
-class CpThemePlugin : public QObject, public CpPluginPlatInterface
+class CpThemePlugin : public QObject, public CpPluginInterface
{
Q_OBJECT
- Q_INTERFACES(CpPluginPlatInterface)
+ Q_INTERFACES(CpPluginInterface)
public:
CpThemePlugin();
virtual ~CpThemePlugin();
- virtual CpSettingFormItemData *createSettingFormItemData(CpItemDataHelper &itemDataHelper) const;
+ virtual QList<CpSettingFormItemData*> createSettingFormItemData(CpItemDataHelper &itemDataHelper) const;
};
#endif //CPTHEMEPLUGIN_H