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: Generic stub for platform specific private security module model
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#include "advsecsettingssecuritymodulemodel_stub_p.h"
|
|
19 |
|
|
20 |
|
|
21 |
// ======== MEMBER FUNCTIONS ========
|
|
22 |
|
|
23 |
// ---------------------------------------------------------------------------
|
|
24 |
// AdvSecSettingsSecurityModuleModelPrivate::AdvSecSettingsSecurityModuleModelPrivate()
|
|
25 |
// ---------------------------------------------------------------------------
|
|
26 |
//
|
|
27 |
AdvSecSettingsSecurityModuleModelPrivate::AdvSecSettingsSecurityModuleModelPrivate(
|
|
28 |
AdvSecSettingsSecurityModuleModel *q) : QObject(0), q_ptr(q)
|
|
29 |
{
|
|
30 |
}
|
|
31 |
|
|
32 |
// ---------------------------------------------------------------------------
|
|
33 |
// AdvSecSettingsSecurityModuleModelPrivate::~AdvSecSettingsSecurityModuleModelPrivate()
|
|
34 |
// ---------------------------------------------------------------------------
|
|
35 |
//
|
|
36 |
AdvSecSettingsSecurityModuleModelPrivate::~AdvSecSettingsSecurityModuleModelPrivate()
|
|
37 |
{
|
|
38 |
}
|
|
39 |
|
|
40 |
// ---------------------------------------------------------------------------
|
|
41 |
// AdvSecSettingsSecurityModuleModelPrivate::initialize()
|
|
42 |
// ---------------------------------------------------------------------------
|
|
43 |
//
|
|
44 |
void AdvSecSettingsSecurityModuleModelPrivate::initialize()
|
|
45 |
{
|
|
46 |
q_ptr->handleInitializeCompleted();
|
|
47 |
}
|
|
48 |
|
|
49 |
// ---------------------------------------------------------------------------
|
|
50 |
// AdvSecSettingsSecurityModuleModelPrivate::moduleCount()
|
|
51 |
// ---------------------------------------------------------------------------
|
|
52 |
//
|
|
53 |
int AdvSecSettingsSecurityModuleModelPrivate::moduleCount() const
|
|
54 |
{
|
|
55 |
return 0;
|
|
56 |
}
|
|
57 |
|
|
58 |
// ---------------------------------------------------------------------------
|
|
59 |
// AdvSecSettingsSecurityModuleModelPrivate::moduleLabelsAndLocations()
|
|
60 |
// ---------------------------------------------------------------------------
|
|
61 |
//
|
|
62 |
QMap<QString,QString> AdvSecSettingsSecurityModuleModelPrivate::moduleLabelsAndLocations() const
|
|
63 |
{
|
|
64 |
QMap<QString,QString> emptyMap;
|
|
65 |
return emptyMap;
|
|
66 |
}
|
|
67 |
|
|
68 |
// ---------------------------------------------------------------------------
|
|
69 |
// AdvSecSettingsSecurityModuleModelPrivate::getModuleStatus()
|
|
70 |
// ---------------------------------------------------------------------------
|
|
71 |
//
|
|
72 |
void AdvSecSettingsSecurityModuleModelPrivate::getModuleStatus(int /*moduleIndex*/)
|
|
73 |
{
|
|
74 |
q_ptr->handleStatusCompleted(0, false, false);
|
|
75 |
}
|
|
76 |
|
|
77 |
// ---------------------------------------------------------------------------
|
|
78 |
// AdvSecSettingsSecurityModuleModelPrivate::setPinCodeRequestState()
|
|
79 |
// ---------------------------------------------------------------------------
|
|
80 |
//
|
|
81 |
void AdvSecSettingsSecurityModuleModelPrivate::setPinCodeRequestState(
|
|
82 |
int /*moduleIndex*/, bool /*isRequested*/)
|
|
83 |
{
|
|
84 |
q_ptr->handlePinCodeRequestSet();
|
|
85 |
}
|
|
86 |
|
|
87 |
// ---------------------------------------------------------------------------
|
|
88 |
// AdvSecSettingsSecurityModuleModelPrivate::changePinCode()
|
|
89 |
// ---------------------------------------------------------------------------
|
|
90 |
//
|
|
91 |
void AdvSecSettingsSecurityModuleModelPrivate::changePinCode(int /*moduleIndex*/)
|
|
92 |
{
|
|
93 |
q_ptr->handlePinCodeChanged();
|
|
94 |
}
|
|
95 |
|
|
96 |
// ---------------------------------------------------------------------------
|
|
97 |
// AdvSecSettingsSecurityModuleModelPrivate::closeModule()
|
|
98 |
// ---------------------------------------------------------------------------
|
|
99 |
//
|
|
100 |
void AdvSecSettingsSecurityModuleModelPrivate::closeModule(int /*moduleIndex*/)
|
|
101 |
{
|
|
102 |
q_ptr->handleModuleClosed();
|
|
103 |
}
|
|
104 |
|
|
105 |
// ---------------------------------------------------------------------------
|
|
106 |
// AdvSecSettingsSecurityModuleModelPrivate::isSigningPinSupported()
|
|
107 |
// ---------------------------------------------------------------------------
|
|
108 |
//
|
|
109 |
bool AdvSecSettingsSecurityModuleModelPrivate::isSigningPinSupported(int /*moduleIndex*/) const
|
|
110 |
{
|
|
111 |
return false;
|
|
112 |
}
|
|
113 |
|
|
114 |
// ---------------------------------------------------------------------------
|
|
115 |
// AdvSecSettingsSecurityModuleModelPrivate::changeSigningPinCode()
|
|
116 |
// ---------------------------------------------------------------------------
|
|
117 |
//
|
|
118 |
void AdvSecSettingsSecurityModuleModelPrivate::changeSigningPinCode(int /*moduleIndex*/)
|
|
119 |
{
|
|
120 |
q_ptr->handleSigningPinCodeChanged();
|
|
121 |
}
|
|
122 |
|
|
123 |
// ---------------------------------------------------------------------------
|
|
124 |
// AdvSecSettingsSecurityModuleModelPrivate::isDeletable()
|
|
125 |
// ---------------------------------------------------------------------------
|
|
126 |
//
|
|
127 |
bool AdvSecSettingsSecurityModuleModelPrivate::isDeletable(int /*moduleIndex*/) const
|
|
128 |
{
|
|
129 |
return false;
|
|
130 |
}
|
|
131 |
|
|
132 |
// ---------------------------------------------------------------------------
|
|
133 |
// AdvSecSettingsSecurityModuleModelPrivate::deleteModule()
|
|
134 |
// ---------------------------------------------------------------------------
|
|
135 |
//
|
|
136 |
void AdvSecSettingsSecurityModuleModelPrivate::deleteModule(int /*moduleIndex*/)
|
|
137 |
{
|
|
138 |
q_ptr->handleModuleDeleted();
|
|
139 |
}
|
|
140 |
|