controlpanel/examples/themeplugin/src/cpthemeplugin.cpp
branchRCL_3
changeset 54 7e0eff37aedb
parent 53 8ee96d21d9bf
child 57 e78c61e77b1a
equal deleted inserted replaced
53:8ee96d21d9bf 54:7e0eff37aedb
     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  */
       
    17 #include "cpthemeplugin.h"
       
    18 #include "cpthemepluginentryitemdata.h"
       
    19 
       
    20 CpThemePlugin::CpThemePlugin()
       
    21 {
       
    22 }
       
    23 
       
    24 CpThemePlugin::~CpThemePlugin()
       
    25 {
       
    26 }
       
    27 
       
    28 QList<CpSettingFormItemData*> CpThemePlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
       
    29 {
       
    30 	CpSettingFormEntryItemData *entryItem = new CpThemePluginEntryItemData(
       
    31 		itemDataHelper,tr("Theme"),tr("Name of the Theme"),HbIcon(":/image/qgn_menu_note.svg"));
       
    32 	return QList<CpSettingFormItemData*>() << entryItem;
       
    33 }
       
    34 
       
    35 Q_EXPORT_PLUGIN2(cpthemeplugin, CpThemePlugin);