controlpanelui/src/inc/cpcategorysettingformitemdata.h
changeset 10 0a74be98a8bc
child 33 0cfa53de576f
equal deleted inserted replaced
0:254040eb3b7d 10:0a74be98a8bc
       
     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 #ifndef CPCATEGORYSETTINGFORMITEMDATA_H
       
    18 #define CPCATEGORYSETTINGFORMITEMDATA_H
       
    19 
       
    20 #include <cpcategoryglobal.h>
       
    21 #include <cpsettingformitemdata.h>
       
    22 
       
    23 class CpCategorySettingFormItemDataPrivate;
       
    24 class CP_CATEGORY_EXPORT CpCategorySettingFormItemData : public CpSettingFormItemData
       
    25 {
       
    26 	Q_OBJECT
       
    27 public:
       
    28 	CpCategorySettingFormItemData(HbDataFormModelItem::DataItemType type,
       
    29 		const QString &label,
       
    30 		const QString &configFile,
       
    31 		const HbDataFormModelItem *parent = 0);	 
       
    32 
       
    33 	explicit CpCategorySettingFormItemData(const QString &configFile = QString(),
       
    34 		const HbDataFormModelItem *parent = 0);
       
    35 
       
    36 	virtual ~CpCategorySettingFormItemData();
       
    37 
       
    38 	void initialize(CpItemDataHelper &itemDataHelper);
       
    39 private:
       
    40 	virtual void beforeLoadingConfigPlugins(CpItemDataHelper &itemDataHelper);
       
    41     virtual void afterLoadingConfigPlugins(CpItemDataHelper &itemDataHelper);
       
    42 private:
       
    43 	CpCategorySettingFormItemDataPrivate *d;
       
    44 };
       
    45 
       
    46 #endif