controlpanel/examples/viewplugin/src/cpsampleview.h
branchRCL_3
changeset 24 8ee96d21d9bf
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
       
     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	CPSAMPLEVIEW_H
       
    18 #define	CPSAMPLEVIEW_H
       
    19 
       
    20 #include <cpbasesettingview.h>
       
    21 
       
    22 class HbDataFormModelItem;
       
    23 class CpSettingFormItemData;
       
    24 
       
    25 class CpSampleView : public CpBaseSettingView
       
    26 {
       
    27     Q_OBJECT
       
    28 public:
       
    29     explicit CpSampleView(QGraphicsItem *parent = 0);
       
    30     virtual ~CpSampleView();
       
    31 private slots:
       
    32     //need handling your member's value change
       
    33     void sliderValueChanged(int value);
       
    34     void checkBoxStateChanged(int state);
       
    35 private:
       
    36     HbDataFormModelItem   *mGroupItem;
       
    37     CpSettingFormItemData *mSliderItem;
       
    38     CpSettingFormItemData *mCheckBoxItem;
       
    39 };
       
    40 #endif//	CPSAMPLEVIEW_H