controlpanel/tsrc/unit/pluginfortest/thirdpluginfortest/src/thirdpluginfortest.cpp
branchRCL_3
changeset 24 8ee96d21d9bf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/controlpanel/tsrc/unit/pluginfortest/thirdpluginfortest/src/thirdpluginfortest.cpp	Tue Aug 31 15:29:50 2010 +0300
@@ -0,0 +1,28 @@
+
+
+#include "thirdpluginfortest.h"
+#include "thirdpluginviewfortest.h"
+#include <cpsettingformentryitemdataimpl.h>
+
+ThirdPluginForTest::ThirdPluginForTest()
+{
+}
+
+ThirdPluginForTest::~ThirdPluginForTest()
+{
+}
+QList<CpSettingFormItemData*> ThirdPluginForTest::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
+{
+    return QList<CpSettingFormItemData*>() 
+            << new CpSettingFormEntryItemDataImpl<ThirdPluginViewForTest>(
+               itemDataHelper,
+               tr("The plugin for test"), 
+               tr("TestPlugin."));
+}
+
+CpBaseSettingView *ThirdPluginForTest::createSettingView(const QVariant &hint) const
+{
+    return 0;
+}
+
+Q_EXPORT_PLUGIN2(ThirdPluginForTest, ThirdPluginForTest);