cpsecplugins/cpadvancedsecplugin/inc/cpsecurityview.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 CPSECURITYVIEW_H
       
    19 #define CPSECURITYVIEW_H
       
    20 
       
    21 #include <cpbasesettingview.h>
       
    22 
       
    23 class HbAbstractViewItem;
       
    24 class CpItemDataHelper;
       
    25 class CpSecModView;
       
    26 class CpCertView;
       
    27 class CSecModUIModel;
       
    28 class QModelIndex;
       
    29 class CpSecmoduleInfoView;
       
    30 class HbMessageBox;
       
    31 class CpSecurityView : public CpBaseSettingView
       
    32 {
       
    33     Q_OBJECT
       
    34 public:
       
    35     explicit CpSecurityView(QGraphicsItem *parent = 0);
       
    36     virtual ~CpSecurityView();
       
    37 		
       
    38 public slots:
       
    39     void viewDone();
       
    40     void showWIMview();
       
    41     void displayCert(const QModelIndex& modelIndex);
       
    42     void displayPrevious();
       
    43     void showCodeView();
       
    44     void showCodeView( const QModelIndex& modelIndex);
       
    45     void indicateLongPress(HbAbstractViewItem *item,QPointF coords);
       
    46     void deleteModule();
       
    47     void moduleDetails();
       
    48     void displayPreviousFromModInfo();
       
    49     void dialogClosed(HbAction* action);
       
    50 private:
       
    51     CSecModUIModel* mSecModUIModel;  
       
    52     CpSecModView* mSecModView;
       
    53 	HbView* mPreView;
       
    54 	CpCertView* mCertView;
       
    55 	CpSecmoduleInfoView* mModuleinfoView;
       
    56 	HbView* mCurrentView;
       
    57 	TInt mPos;
       
    58 	HbMessageBox* mNote;
       
    59 	HbMenu* mContextMenu;
       
    60 
       
    61 };
       
    62 
       
    63 #endif // CPSECURITYVIEW_H