64
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0""
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
55
|
17 |
|
|
18 |
#include "thirdpluginfortest.h"
|
|
19 |
#include "thirdpluginviewfortest.h"
|
|
20 |
#include <cpsettingformentryitemdataimpl.h>
|
|
21 |
|
|
22 |
ThirdPluginForTest::ThirdPluginForTest()
|
|
23 |
{
|
|
24 |
}
|
|
25 |
|
|
26 |
ThirdPluginForTest::~ThirdPluginForTest()
|
|
27 |
{
|
|
28 |
}
|
|
29 |
QList<CpSettingFormItemData*> ThirdPluginForTest::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
|
|
30 |
{
|
|
31 |
return QList<CpSettingFormItemData*>()
|
|
32 |
<< new CpSettingFormEntryItemDataImpl<ThirdPluginViewForTest>(
|
|
33 |
itemDataHelper,
|
|
34 |
tr("The plugin for test"),
|
|
35 |
tr("TestPlugin."));
|
|
36 |
}
|
|
37 |
|
|
38 |
CpBaseSettingView *ThirdPluginForTest::createSettingView(const QVariant &hint) const
|
|
39 |
{
|
|
40 |
return 0;
|
|
41 |
}
|
|
42 |
|
|
43 |
Q_EXPORT_PLUGIN2(ThirdPluginForTest, ThirdPluginForTest);
|