66 /*! |
68 /*! |
67 Get Pin Code Request State |
69 Get Pin Code Request State |
68 */ |
70 */ |
69 bool SecCodeModelPrivate::pinCodeRequest() const |
71 bool SecCodeModelPrivate::pinCodeRequest() const |
70 { |
72 { |
|
73 RDEBUG("0", 0); |
71 bool isLockEnabled = false; |
74 bool isLockEnabled = false; |
72 QT_TRAP_THROWING(isLockEnabled = iSecurity->IsLockEnabledL( |
75 QT_TRAP_THROWING(isLockEnabled = iSecurity->IsLockEnabledL( |
73 RMobilePhone::ELockICC)); |
76 RMobilePhone::ELockICC)); |
|
77 RDEBUG("isLockEnabled", isLockEnabled); |
74 return isLockEnabled; |
78 return isLockEnabled; |
75 } |
79 } |
76 |
80 |
77 /*! |
81 /*! |
78 Get the Change Pin Remaining Attempts |
82 Get the Change Pin Remaining Attempts |
79 */ |
83 */ |
80 bool SecCodeModelPrivate::changePinCodeRequest() |
84 bool SecCodeModelPrivate::changePinCodeRequest() |
81 { |
85 { |
|
86 RDEBUG("0", 0); |
82 bool result = false; |
87 bool result = false; |
83 QT_TRAP_THROWING(result =iSecurity->ChangePinRequestL()); |
88 QT_TRAP_THROWING(result =iSecurity->ChangePinRequestL()); |
|
89 RDEBUG("result", result); |
84 return result; |
90 return result; |
85 } |
91 } |
86 |
92 |
87 /*! |
93 /*! |
88 Change Pin Code |
94 Change Pin Code |
89 */ |
95 */ |
90 int SecCodeModelPrivate::changePinCode() |
96 int SecCodeModelPrivate::changePinCode() |
91 { |
97 { |
|
98 RDEBUG("0", 0); |
92 QT_TRAP_THROWING(iSecurity->ChangePinL()); |
99 QT_TRAP_THROWING(iSecurity->ChangePinL()); |
|
100 RDEBUG("0", 0); |
93 return 0; |
101 return 0; |
94 } |
102 } |
95 |
103 |
96 /*! |
104 /*! |
97 Change Pin2 Code |
105 Change Pin2 Code |
98 */ |
106 */ |
99 int SecCodeModelPrivate::changePin2Code() |
107 int SecCodeModelPrivate::changePin2Code() |
100 { |
108 { |
|
109 RDEBUG("0", 0); |
101 QT_TRAP_THROWING(iSecurity->ChangePin2L()); |
110 QT_TRAP_THROWING(iSecurity->ChangePin2L()); |
|
111 RDEBUG("0", 0); |
102 return 0; |
112 return 0; |
103 } |
113 } |