cpsecplugins/simpincodeplugin/inc/cppincodepluginview.h
branchRCL_3
changeset 22 03674e5abf46
parent 21 09b1ac925e3f
child 23 94da73d93b58
equal deleted inserted replaced
21:09b1ac925e3f 22:03674e5abf46
     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 #ifndef CPPINCODEPLUGINVIEW_H
       
    19 #define CPPINCODEPLUGINVIEW_H
       
    20 
       
    21 // System includes
       
    22 #include <cpbasesettingview.h>
       
    23 
       
    24 // Forward declarations
       
    25 class SecCodeSettings;
       
    26 class HbDataFormModelItem;
       
    27 class HbDataFormModel;
       
    28 
       
    29 // Class declaration
       
    30 class CpPinCodePluginView : public CpBaseSettingView
       
    31 {
       
    32     Q_OBJECT
       
    33     
       
    34 public:
       
    35     explicit CpPinCodePluginView(QGraphicsItem *parent = 0);
       
    36     virtual ~CpPinCodePluginView();
       
    37     
       
    38 private slots:
       
    39     void changePinCode();
       
    40     void changePin2Code();
       
    41     void toggleChange(QModelIndex startIn, QModelIndex endIn);
       
    42     
       
    43 private:
       
    44     SecCodeSettings *mSecCodeSettings;
       
    45     HbDataFormModel *mFormModel;
       
    46     HbDataFormModelItem *mPinCodeRequestItem;
       
    47 };
       
    48 
       
    49 #endif  //CPPINCODEPLUGINVIEW_H