controlpanelplugins/themeplugin/src/cpthemepluginentryitemdata.h
branchRCL_3
changeset 35 5f281e37a2f5
parent 34 90fe62538f66
child 46 ed95320285d0
equal deleted inserted replaced
34:90fe62538f66 35:5f281e37a2f5
     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 
       
    18 #ifndef CPTHEMEPLUGINENTRYITEMDATA_H
       
    19 #define CPTHEMEPLUGINENTRYITEMDATA_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <cpsettingformentryitemdata.h>
       
    23 
       
    24 class CpThemeControl;
       
    25 
       
    26 class CpThemePluginEntryItemData : public CpSettingFormEntryItemData
       
    27 {
       
    28     Q_OBJECT
       
    29     
       
    30 public:
       
    31     explicit CpThemePluginEntryItemData(CpItemDataHelper &itemDataHelper,
       
    32                     const QString &text = QString(),
       
    33                     const QString &description = QString(),
       
    34                     const HbIcon &icon = HbIcon(),
       
    35                     const HbDataFormModelItem *parent = 0);     
       
    36                     virtual ~CpThemePluginEntryItemData();
       
    37 
       
    38 private slots:
       
    39     void themeUpdated(const QString& themeName, const HbIcon& icon);
       
    40 private:
       
    41     CpThemeControl* mThemeControl;
       
    42     virtual CpBaseSettingView *createSettingView() const;
       
    43     
       
    44 };
       
    45 
       
    46 #endif //CPTHEMEPLUGINENTRYITEMDATA_H