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