equal
deleted
inserted
replaced
4088 } |
4088 } |
4089 |
4089 |
4090 EXPORT_C void CEikTimeEditor::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
4090 EXPORT_C void CEikTimeEditor::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
4091 { |
4091 { |
4092 CEikTTimeEditor::HandlePointerEventL(aPointerEvent); |
4092 CEikTTimeEditor::HandlePointerEventL(aPointerEvent); |
|
4093 // If touch input is disabled or qwerty key board is opened, AM/PM will change when |
|
4094 // user taps at AM/PM filed; else touch input will be opened. |
|
4095 if ( aPointerEvent.iType == TPointerEvent::EButton1Up && |
|
4096 ( ( iExtension->iExtendedInputCapabilities->Capabilities() & |
|
4097 CAknExtendedInputCapabilities::EInputEditorQwertyInputActive ) || |
|
4098 iExtension->iDisablePenInput || iExtension->iPartialScreenInput ) ) |
|
4099 { |
|
4100 TAmPmName amName( EAm ); |
|
4101 TAmPmName pmName( EPm ); |
|
4102 if ( !IsUninitialised() && |
|
4103 ( !iFields[iCurrentField]->FieldText().Compare( amName ) || |
|
4104 !iFields[iCurrentField]->FieldText().Compare( pmName ) ) ) |
|
4105 { |
|
4106 ChangeAmPm(); |
|
4107 } |
|
4108 } |
4093 } |
4109 } |
4094 |
4110 |
4095 EXPORT_C void* CEikTimeEditor::ExtensionInterface( TUid /*aInterface*/ ) |
4111 EXPORT_C void* CEikTimeEditor::ExtensionInterface( TUid /*aInterface*/ ) |
4096 { |
4112 { |
4097 return NULL; |
4113 return NULL; |
4481 } |
4497 } |
4482 |
4498 |
4483 EXPORT_C void CEikTimeAndDateEditor::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
4499 EXPORT_C void CEikTimeAndDateEditor::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
4484 { |
4500 { |
4485 CEikTTimeEditor::HandlePointerEventL(aPointerEvent); |
4501 CEikTTimeEditor::HandlePointerEventL(aPointerEvent); |
|
4502 // If touch input is disabled or qwerty key board is opened, AM/PM will change when |
|
4503 // user taps at AM/PM filed; else touch input will be opened. |
|
4504 if ( aPointerEvent.iType == TPointerEvent::EButton1Up && |
|
4505 ( ( iExtension->iExtendedInputCapabilities->Capabilities() & |
|
4506 CAknExtendedInputCapabilities::EInputEditorQwertyInputActive ) || |
|
4507 iExtension->iDisablePenInput || iExtension->iPartialScreenInput ) ) |
|
4508 { |
|
4509 TAmPmName amName( EAm ); |
|
4510 TAmPmName pmName( EPm ); |
|
4511 if ( !IsUninitialised() && |
|
4512 ( !iFields[iCurrentField]->FieldText().Compare( amName ) || |
|
4513 !iFields[iCurrentField]->FieldText().Compare( pmName ) ) ) |
|
4514 { |
|
4515 ChangeAmPm(); |
|
4516 } |
|
4517 } |
4486 } |
4518 } |
4487 |
4519 |
4488 EXPORT_C void* CEikTimeAndDateEditor::ExtensionInterface( TUid /*aInterface*/ ) |
4520 EXPORT_C void* CEikTimeAndDateEditor::ExtensionInterface( TUid /*aInterface*/ ) |
4489 { |
4521 { |
4490 return NULL; |
4522 return NULL; |