equal
deleted
inserted
replaced
77 #include <AknTasHook.h> // for testability hooks |
77 #include <AknTasHook.h> // for testability hooks |
78 #include <tacticon.h> |
78 #include <tacticon.h> |
79 |
79 |
80 #include "akntrace.h" |
80 #include "akntrace.h" |
81 const TInt KPinCodeTacticonInterval = 30000000; // 30s |
81 const TInt KPinCodeTacticonInterval = 30000000; // 30s |
82 const TInt KPinCodeMaxTacticons = 5; |
82 const TInt KPinCodeMaxTacticons = 10; |
83 /******* |
83 /******* |
84 * CAknQueryControlExtension |
84 * CAknQueryControlExtension |
85 */ |
85 */ |
86 |
86 |
87 NONSHARABLE_CLASS(CAknQueryControlExtension) : public CBase |
87 NONSHARABLE_CLASS(CAknQueryControlExtension) : public CBase |
3070 |
3070 |
3071 Window().EndRedraw(); |
3071 Window().EndRedraw(); |
3072 DeactivateGc(); |
3072 DeactivateGc(); |
3073 |
3073 |
3074 // Draw the label after the background. |
3074 // Draw the label after the background. |
3075 TRAPD(err, iPrompt->Line( i )->ActivateL()); // Never leaves |
3075 iPrompt->Line( i )->ActivateL(); // Never leaves |
3076 if (err == KErrNone) |
3076 iPrompt->Line( i )->DrawNow(); |
3077 { |
|
3078 iPrompt->Line( i )->DrawNow(); |
|
3079 } |
|
3080 iPrompt->SetLineModified( i, EFalse ); |
3077 iPrompt->SetLineModified( i, EFalse ); |
3081 } |
3078 } |
3082 } |
3079 } |
3083 _AKNTRACE_FUNC_EXIT; |
3080 _AKNTRACE_FUNC_EXIT; |
3084 } |
3081 } |
4077 |
4074 |
4078 Window().EndRedraw(); |
4075 Window().EndRedraw(); |
4079 DeactivateGc(); |
4076 DeactivateGc(); |
4080 |
4077 |
4081 // Draw the label after the background. |
4078 // Draw the label after the background. |
4082 TRAPD(err, iPrompt->Line( i )->ActivateL()); // Never leaves |
4079 iPrompt->Line( i )->ActivateL(); // Never leaves |
4083 if (err == KErrNone) |
4080 iPrompt->Line( i )->DrawNow(); |
4084 { |
|
4085 iPrompt->Line( i )->DrawNow(); |
|
4086 } |
|
4087 iPrompt->SetLineModified( i, EFalse ); |
4081 iPrompt->SetLineModified( i, EFalse ); |
4088 } |
4082 } |
4089 } |
4083 } |
4090 _AKNTRACE_FUNC_EXIT; |
4084 _AKNTRACE_FUNC_EXIT; |
4091 } |
4085 } |