cpsecplugins/simpincodeplugin/src/cppincodeplugin.cpp
changeset 19 098e361762d2
child 30 cc1cea6aabaf
equal deleted inserted replaced
17:8957df7b0072 19:098e361762d2
       
     1 /*
       
     2  * Copyright (c) 2010 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 // System includes
       
    19 #include <cpsettingformentryitemdataimpl.h>
       
    20 
       
    21 // User includes
       
    22 #include "cppincodeplugin.h"
       
    23 #include "cppincodepluginview.h"
       
    24 
       
    25 /*!
       
    26     \class CpPinCodePlugin
       
    27     \brief Pin Code Setting plugin class
       
    28 
       
    29     This class is used to create PIN code setting
       
    30 */
       
    31 
       
    32 // ======== LOCAL FUNCTIONS ========
       
    33 
       
    34 /*!
       
    35    Constructor
       
    36 */
       
    37 CpPinCodePlugin::CpPinCodePlugin()
       
    38 {
       
    39 }
       
    40 
       
    41 /*!
       
    42    Destructor
       
    43 */
       
    44 CpPinCodePlugin::~CpPinCodePlugin()
       
    45 {
       
    46 }
       
    47 
       
    48 /*!
       
    49    Create PinCode setting
       
    50 */
       
    51 QList<CpSettingFormItemData *> CpPinCodePlugin::createSettingFormItemData(
       
    52     CpItemDataHelper &itemDataHelper) const
       
    53 {
       
    54     return  QList<CpSettingFormItemData *>()
       
    55         << new CpSettingFormEntryItemDataImpl<CpPinCodePluginView>
       
    56         (itemDataHelper, tr("PIN code"), QString());
       
    57 }
       
    58 
       
    59 /*!
       
    60    Export plugin
       
    61 */
       
    62 Q_EXPORT_PLUGIN2(cppincodeplugin, CpPinCodePlugin);