cpsecplugins/cpadvancedsecplugin/inc/cpsecurityview.h
changeset 63 989397f9511c
parent 62 3255e7d5bd67
child 66 67b3e3c1fc87
equal deleted inserted replaced
62:3255e7d5bd67 63:989397f9511c
     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 HbAction;
       
    32 
       
    33 class CpSecurityView : public CpBaseSettingView
       
    34 {
       
    35     Q_OBJECT
       
    36 public:
       
    37     explicit CpSecurityView(QGraphicsItem *parent = 0);
       
    38     virtual ~CpSecurityView();
       
    39 
       
    40 public slots:
       
    41     void viewDone();
       
    42     void showWIMview();
       
    43     void displayCert(const QModelIndex& modelIndex);
       
    44     void displayPrevious();
       
    45     void showCodeView();
       
    46     void showCodeView( const QModelIndex& modelIndex);
       
    47     void indicateLongPress(HbAbstractViewItem *item,QPointF coords);
       
    48     void deleteModule();
       
    49     void moduleDetails();
       
    50     void displayPreviousFromModInfo();
       
    51     void dialogClosed(HbAction* action);
       
    52 private:
       
    53     CSecModUIModel* mSecModUIModel;
       
    54     CpSecModView* mSecModView;
       
    55 	HbView* mPreView;
       
    56 	CpCertView* mCertView;
       
    57 	CpSecmoduleInfoView* mModuleinfoView;
       
    58 	HbView* mCurrentView;
       
    59 	TInt mPos;
       
    60 	HbMessageBox* mNote;
       
    61 	HbAction* mOkAction;
       
    62 	HbMenu* mContextMenu;
       
    63 
       
    64 };
       
    65 
       
    66 #endif // CPSECURITYVIEW_H