55
|
1 |
|
|
2 |
|
|
3 |
#include "firstpluginfortest.h"
|
|
4 |
#include "firstpluginviewfortest.h"
|
|
5 |
#include <cpsettingformentryitemdataimpl.h>
|
|
6 |
|
|
7 |
FirstPluginForTest::FirstPluginForTest()
|
|
8 |
{
|
|
9 |
}
|
|
10 |
|
|
11 |
FirstPluginForTest::~FirstPluginForTest()
|
|
12 |
{
|
|
13 |
}
|
|
14 |
QList<CpSettingFormItemData*> FirstPluginForTest::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
|
|
15 |
{
|
|
16 |
return QList<CpSettingFormItemData*>()
|
|
17 |
<< new CpSettingFormEntryItemDataImpl<FirstPluginViewForTest>(
|
|
18 |
itemDataHelper,
|
|
19 |
tr("The plugin for test"),
|
|
20 |
tr("TestPlugin."));
|
|
21 |
}
|
|
22 |
|
|
23 |
CpBaseSettingView *FirstPluginForTest::createSettingView(const QVariant &hint) const
|
|
24 |
{
|
|
25 |
return 0;
|
|
26 |
}
|
|
27 |
|
|
28 |
Q_EXPORT_PLUGIN2(FirstPluginForTest, FirstPluginForTest);
|