63
|
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: Security module detail view in advanced security settings
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef ADVSECSETTINGSSECURITYMODULEDETAILVIEW_H
|
|
19 |
#define ADVSECSETTINGSSECURITYMODULEDETAILVIEW_H
|
|
20 |
|
|
21 |
#include "advsecsettingsviewbase.h"
|
|
22 |
|
|
23 |
class AdvSecSettingsSecurityModuleModel;
|
|
24 |
class HbGroupBox;
|
|
25 |
class HbLabel;
|
|
26 |
|
|
27 |
|
|
28 |
/**
|
|
29 |
* Shows security module detail view.
|
|
30 |
*/
|
|
31 |
class AdvSecSettingsSecurityModuleDetailView : public AdvSecSettingsViewBase
|
|
32 |
{
|
|
33 |
Q_OBJECT
|
|
34 |
|
|
35 |
public: // constructor and destructor
|
|
36 |
explicit AdvSecSettingsSecurityModuleDetailView(
|
|
37 |
AdvSecSettingsSecurityModuleModel &model, QGraphicsItem *parent = 0);
|
|
38 |
virtual ~AdvSecSettingsSecurityModuleDetailView();
|
|
39 |
|
|
40 |
public: // new functions
|
|
41 |
void setSecurityModule(int index);
|
|
42 |
|
|
43 |
private slots:
|
|
44 |
void detailsCompleted(QMap<int,QString> details);
|
|
45 |
void deleteSecurityModule();
|
|
46 |
void deleteConfirmationAccepted();
|
|
47 |
|
|
48 |
private: // data
|
|
49 |
AdvSecSettingsSecurityModuleModel &mModel;
|
|
50 |
int mModuleIndex;
|
|
51 |
HbGroupBox *mViewLabel;
|
|
52 |
HbLabel *mDetailsText;
|
|
53 |
};
|
|
54 |
|
|
55 |
#endif // ADVSECSETTINGSSECURITYMODULEDETAILVIEW_H
|