diff -r 3255e7d5bd67 -r 989397f9511c cpsecplugins/cpadvancedsecplugin/inc/cpmoduleview.h --- a/cpsecplugins/cpadvancedsecplugin/inc/cpmoduleview.h Thu Oct 07 14:07:34 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,75 +0,0 @@ -/* -* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0"" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - -#ifndef CPMODULEVIEW_H -#define CPMODULEVIEW_H - -#include -#include "cpsecmodview.h" - -class HbAbstractViewItem; -class CpItemDataHelper; -class CSecModUIModel; -class CpSecModView; - -class CpModuleView : public CpBaseSettingView -{ - Q_OBJECT -public: - explicit CpModuleView( CpSecModView::TSecModViews currentView, - CSecModUIModel& secModUIModel, - QGraphicsItem *parent = 0 ); - virtual ~CpModuleView(); - -private slots: - void handleAccessView( const QModelIndex& modelIndex ); - void handleAccessView(); - void handleSigView(); - void handleSigViewCommand(); - void indicateLongPress(HbAbstractViewItem *item,QPointF coords); - -private: - void showAccessView(); - void showSignatureView(TBool showBlockedNote); - -private: - enum TSecModAccessCodeCommandIds - { - EIndexCodeLabel = 0, - EIndexCodeRequest, - EIndexCodeStatus - }; - - enum TSecModSignatureCommandIds - { - ESecModUICmdOpen = 0, - ESecModUICmdModuleInfo, - ESecModUICmdDelKeyStore, - ESecModUICmdChange, - ESecModUICmdUnblock, - ESecModUICmdClose, - ESecModUICmdAppTest - }; - -private: - CpSecModView::TSecModViews mCurrentView; - CSecModUIModel& mSecModUIModel; - TInt mPos; - HbMenu* mContextMenu; -}; - -#endif /* CPMODULEVIEW_H */