controlpanel/tsrc/unit/pluginfortest/thirdpluginfortest/src/thirdpluginfortest.cpp
equal
deleted
inserted
replaced
1 |
|
2 |
|
3 #include "thirdpluginfortest.h" |
|
4 #include "thirdpluginviewfortest.h" |
|
5 #include <cpsettingformentryitemdataimpl.h> |
|
6 |
|
7 ThirdPluginForTest::ThirdPluginForTest() |
|
8 { |
|
9 } |
|
10 |
|
11 ThirdPluginForTest::~ThirdPluginForTest() |
|
12 { |
|
13 } |
|
14 QList<CpSettingFormItemData*> ThirdPluginForTest::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const |
|
15 { |
|
16 return QList<CpSettingFormItemData*>() |
|
17 << new CpSettingFormEntryItemDataImpl<ThirdPluginViewForTest>( |
|
18 itemDataHelper, |
|
19 tr("The plugin for test"), |
|
20 tr("TestPlugin.")); |
|
21 } |
|
22 |
|
23 CpBaseSettingView *ThirdPluginForTest::createSettingView(const QVariant &hint) const |
|
24 { |
|
25 return 0; |
|
26 } |
|
27 |
|
28 Q_EXPORT_PLUGIN2(ThirdPluginForTest, ThirdPluginForTest); |
|