|
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 // User includes |
|
19 #include "seccodemodel_p.h" |
|
20 |
|
21 // ======== MEMBER FUNCTIONS ======== |
|
22 /*! |
|
23 NewL |
|
24 */ |
|
25 SecCodeModelPrivate* SecCodeModelPrivate::NewL() |
|
26 { |
|
27 return NULL; |
|
28 } |
|
29 |
|
30 /*! |
|
31 Constructor |
|
32 */ |
|
33 SecCodeModelPrivate::SecCodeModelPrivate() |
|
34 { |
|
35 } |
|
36 |
|
37 /*! |
|
38 ConstructL |
|
39 */ |
|
40 void SecCodeModelPrivate::ConstructL() |
|
41 { |
|
42 |
|
43 } |
|
44 |
|
45 /*! |
|
46 Destructor |
|
47 */ |
|
48 SecCodeModelPrivate::~SecCodeModelPrivate() |
|
49 { |
|
50 } |
|
51 |
|
52 /*! |
|
53 Get Pin Code Request State |
|
54 */ |
|
55 bool SecCodeModelPrivate::pinCodeRequest() const |
|
56 { |
|
57 QString information; |
|
58 information = QString("Emulator NOT supported!"); |
|
59 HbMessageBox messageBox(information); |
|
60 messageBox.exec(); |
|
61 return false; |
|
62 } |
|
63 |
|
64 /*! |
|
65 Get the Change Pin Remaining Attempts |
|
66 */ |
|
67 bool SecCodeModelPrivate::changePinCodeRequest() |
|
68 { |
|
69 QString information; |
|
70 information = QString("Emulator NOT supported!"); |
|
71 HbMessageBox messageBox(information); |
|
72 messageBox.exec(); |
|
73 return true; |
|
74 } |
|
75 |
|
76 /*! |
|
77 Change Pin Code |
|
78 */ |
|
79 int SecCodeModelPrivate::changePinCode() |
|
80 { |
|
81 QString information; |
|
82 information = QString("Emulator NOT supported!"); |
|
83 HbMessageBox messageBox(information); |
|
84 messageBox.exec(); |
|
85 return 0; |
|
86 } |
|
87 |
|
88 /*! |
|
89 Change Pin2 Code |
|
90 */ |
|
91 int SecCodeModelPrivate::changePin2Code() |
|
92 { |
|
93 QString information; |
|
94 information = QString("Emulator NOT supported!"); |
|
95 HbMessageBox messageBox(information); |
|
96 messageBox.exec(); |
|
97 return 0; |
|
98 } |