phonesettings/cpphonesettingsplugins/divertplugin/src/cpdivertitemdata.h
changeset 37 ba76fc04e6c2
child 51 f39ed5e045e0
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     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 DIVERTINGITEMDATA_H_
       
    18 #define DIVERTINGITEMDATA_H_
       
    19 
       
    20 #include <cpsettingformitemdata.h>
       
    21 #include <psetwrappertypes.h>
       
    22 #include <cpitemdatahelper.h>
       
    23 
       
    24 class CpDivertItemData : public CpSettingFormItemData
       
    25 {
       
    26     Q_OBJECT
       
    27 public:
       
    28     CpDivertItemData(
       
    29         HbDataFormModelItem::DataItemType type,
       
    30         const QString &label,
       
    31         CpItemDataHelper &helper,
       
    32         const HbDataFormModelItem *parent = 0);
       
    33     
       
    34     virtual ~CpDivertItemData();
       
    35 
       
    36 public slots:
       
    37     void thisItemClicked();
       
    38 
       
    39 signals:
       
    40     void itemClicked(CpDivertItemData &item);
       
    41 
       
    42 private:
       
    43     CpItemDataHelper &m_helper;
       
    44 };
       
    45 
       
    46 
       
    47 #endif /* DIVERTINGITEMDATA_H_ */