controlpanel/tsrc/unit/ut_cpapi/src/cptestpluginentryitem.cpp
branchRCL_3
changeset 53 8ee96d21d9bf
child 64 5136fef23c4b
equal deleted inserted replaced
51:8bda91a87a00 53:8ee96d21d9bf
       
     1 #include "CpTestPluginEntryItem.h"
       
     2 
       
     3 #include <cpitemdatahelper.h>
       
     4 #include <hbaction.h>
       
     5 #include <QFileInfo>
       
     6 CpTestPluginEntryItemData::CpTestPluginEntryItemData(const HbDataFormModelItem *parent /* = 0*/)
       
     7 {
       
     8     
       
     9 }
       
    10 CpTestPluginEntryItemData::CpTestPluginEntryItemData(CpItemDataHelper &itemDataHelper,
       
    11                                                        const QString &text /*= QString()*/,
       
    12                                                        const QString &description /*= QString()*/,
       
    13                                                        const HbIcon &icon /*= HbIcon()*/,
       
    14                                                        const HbDataFormModelItem *parent /*= 0*/)
       
    15                                                        : CpSettingFormEntryItemData(itemDataHelper,
       
    16                                                        text,
       
    17                                                        description,
       
    18                                                        icon,
       
    19                                                        parent)
       
    20 {
       
    21 }
       
    22 
       
    23 CpTestPluginEntryItemData::~CpTestPluginEntryItemData()
       
    24 {
       
    25 }
       
    26 
       
    27 void CpTestPluginEntryItemData::testOnLaunchView()
       
    28 {
       
    29     onLaunchView();
       
    30 }
       
    31 CpBaseSettingView *CpTestPluginEntryItemData::createSettingView() const
       
    32 {
       
    33     return 0;
       
    34 }