controlpanel/examples/groupplugin/src/cpsamplegroup.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 CPSAMPLEGROUP_H
       
    18 #define CPSAMPLEGROUP_H
       
    19 
       
    20 #include <cpsettingformitemdata.h>
       
    21 
       
    22 class CpSettingFormItemData;
       
    23 class CpItemDataHelper;
       
    24 
       
    25 class CpSampleGroup : public CpSettingFormItemData
       
    26 {
       
    27     Q_OBJECT
       
    28 public:
       
    29     explicit CpSampleGroup(CpItemDataHelper &itemDataHelper);
       
    30     ~CpSampleGroup();
       
    31 
       
    32 private slots:
       
    33     //need handling your member's value change
       
    34     void sliderValueChanged(int value);
       
    35     void checkBoxStateChanged(int state);
       
    36 
       
    37 private:
       
    38     CpSettingFormItemData *mSliderItem;
       
    39     CpSettingFormItemData *mCheckBoxItem;
       
    40 };
       
    41 
       
    42 #endif // CPSAMPLEGROUP_H