diff -r 8bda91a87a00 -r 8ee96d21d9bf controlpanel/tsrc/unit/pluginfortest/secondpluginfortest/src/secondpluginfortest.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/controlpanel/tsrc/unit/pluginfortest/secondpluginfortest/src/secondpluginfortest.cpp Tue Aug 31 15:29:50 2010 +0300 @@ -0,0 +1,29 @@ + + +#include "secondpluginfortest.h" +#include "secondpluginviewfortest.h" +#include + +SecondPluginForTest::SecondPluginForTest() +{ +} + +SecondPluginForTest::~SecondPluginForTest() +{ +} +QList SecondPluginForTest::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const +{ + return QList() + << new CpSettingFormEntryItemDataImpl( + itemDataHelper, + tr("The plugin for test"), + tr("TestPlugin.")); +} + +CpBaseSettingView *SecondPluginForTest::createSettingView(const QVariant &hint) const +{ + SecondPluginViewForTest *pView = new SecondPluginViewForTest(); + return pView; +} + +Q_EXPORT_PLUGIN2(SecondPluginForTest, SecondPluginForTest);