cpsecplugins/cpadvancedsecplugin/inc/cpsecmodview.h
branchRCL_3
changeset 21 09b1ac925e3f
equal deleted inserted replaced
20:63339781d179 21:09b1ac925e3f
       
     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 CPSECMODVIEW_H
       
    19 #define CPSECMODVIEW_H
       
    20 
       
    21 #include <cpbasesettingview.h>
       
    22 
       
    23 class HbAbstractViewItem;
       
    24 class CpItemDataHelper;
       
    25 class CSecModUIModel;
       
    26 
       
    27 class CpSecModView : public CpBaseSettingView
       
    28 {
       
    29     Q_OBJECT
       
    30 public:
       
    31     explicit CpSecModView(TInt aCurrentPos, CSecModUIModel& aSecModUIModel, QGraphicsItem *parent = 0);
       
    32     virtual ~CpSecModView();
       
    33     
       
    34 private slots:
       
    35 	void displayPrevious();
       
    36 	void showNextView( const QModelIndex& modelIndex );
       
    37 	
       
    38 public:
       
    39     enum TSecModViews
       
    40     	{
       
    41     	EAccessView=0,
       
    42     	ESignatureView
       
    43     	};
       
    44     
       
    45     
       
    46 private:
       
    47     CSecModUIModel& mSecModUIModel;  
       
    48     TInt mPos;
       
    49     TSecModViews mCurrentView;
       
    50     HbView* mAccessView;
       
    51     HbView* mPrevView;
       
    52  
       
    53 };
       
    54 
       
    55 #endif /* CPPLACEHOLDERENTRYITEMDATA_H */