85 // Destructor |
86 // Destructor |
86 // --------------------------------------------------------------------------- |
87 // --------------------------------------------------------------------------- |
87 // |
88 // |
88 CAknQueryDialogExtension::~CAknQueryDialogExtension() |
89 CAknQueryDialogExtension::~CAknQueryDialogExtension() |
89 { |
90 { |
|
91 _AKNTRACE( "[%s][%s] do nothing", "CAknQueryDialogExtension", "~CAknQueryDialogExtension" ); |
90 } |
92 } |
91 |
93 |
92 |
94 |
93 // --------------------------------------------------------------------------- |
95 // --------------------------------------------------------------------------- |
94 // Constructor |
96 // Constructor |
95 // --------------------------------------------------------------------------- |
97 // --------------------------------------------------------------------------- |
96 // |
98 // |
97 CAknQueryDialogExtension::CAknQueryDialogExtension |
99 CAknQueryDialogExtension::CAknQueryDialogExtension |
98 (CAknQueryDialog* aQueryDialog) : iParent(aQueryDialog) |
100 (CAknQueryDialog* aQueryDialog) : iParent(aQueryDialog) |
99 { |
101 { |
|
102 _AKNTRACE( "[%s][%s] do nothing", "CAknQueryDialogExtension", "CAknQueryDialogExtension" ); |
100 } |
103 } |
101 |
104 |
102 // --------------------------------------------------------------------------- |
105 // --------------------------------------------------------------------------- |
103 // GetCaptionForFep |
106 // GetCaptionForFep |
104 // Overrides MCoeCaptionRetrieverForFep::GetCaptionForFep |
107 // Overrides MCoeCaptionRetrieverForFep::GetCaptionForFep |
105 // Responsible for retrieving the caption from query dialog to FEP |
108 // Responsible for retrieving the caption from query dialog to FEP |
106 // --------------------------------------------------------------------------- |
109 // --------------------------------------------------------------------------- |
107 // |
110 // |
108 EXPORT_C void CAknQueryDialogExtension::GetCaptionForFep(TDes& aCaption) const |
111 EXPORT_C void CAknQueryDialogExtension::GetCaptionForFep(TDes& aCaption) const |
109 { |
112 { |
|
113 _AKNTRACE( "[%s][%s] enter aCaption:%s", "CAknQueryDialogExtension", "GetCaptionForFep" , &aCaption); |
110 aCaption = KNullDesC; |
114 aCaption = KNullDesC; |
111 |
115 |
112 CAknQueryControl* control = iParent->QueryControl(); |
116 CAknQueryControl* control = iParent->QueryControl(); |
113 if ( control ) |
117 if ( control ) |
114 { |
118 { |
177 // Destructor |
182 // Destructor |
178 // --------------------------------------------------------------------------- |
183 // --------------------------------------------------------------------------- |
179 // |
184 // |
180 CAknMultilineQueryDialogExtension::~CAknMultilineQueryDialogExtension() |
185 CAknMultilineQueryDialogExtension::~CAknMultilineQueryDialogExtension() |
181 { |
186 { |
|
187 _AKNTRACE( "[%s][%s] do nothing", "CAknMultilineQueryDialogExtension", "~CAknMultilineQueryDialogExtension" ); |
182 } |
188 } |
183 |
189 |
184 // --------------------------------------------------------------------------- |
190 // --------------------------------------------------------------------------- |
185 // Constructor |
191 // Constructor |
186 // --------------------------------------------------------------------------- |
192 // --------------------------------------------------------------------------- |
187 // |
193 // |
188 CAknMultilineQueryDialogExtension::CAknMultilineQueryDialogExtension |
194 CAknMultilineQueryDialogExtension::CAknMultilineQueryDialogExtension |
189 (CAknQueryDialog* aQueryDialog, TInt aQueryType):CAknQueryDialogExtension(aQueryDialog),iQueryType(aQueryType) |
195 (CAknQueryDialog* aQueryDialog, TInt aQueryType):CAknQueryDialogExtension(aQueryDialog),iQueryType(aQueryType) |
190 { |
196 { |
|
197 _AKNTRACE( "[%s][%s] do nothing", "CAknMultilineQueryDialogExtension", "CAknMultilineQueryDialogExtension" ); |
191 } |
198 } |
192 |
199 |
193 // --------------------------------------------------------------------------- |
200 // --------------------------------------------------------------------------- |
194 // GetCaptionForFep |
201 // GetCaptionForFep |
195 // Overrides MCoeCaptionRetrieverForFep::GetCaptionForFep |
202 // Overrides MCoeCaptionRetrieverForFep::GetCaptionForFep |
441 * compiler will complain if this is not implemented in |
466 * compiler will complain if this is not implemented in |
442 * derived class as well |
467 * derived class as well |
443 */ |
468 */ |
444 EXPORT_C TInt CAknQueryDialog::ExecuteLD(TInt aResourceId) |
469 EXPORT_C TInt CAknQueryDialog::ExecuteLD(TInt aResourceId) |
445 { |
470 { |
|
471 _AKNTRACE_FUNC_ENTER; |
|
472 _AKNTRACE( "[%s][%s] aResourceId: %d", "CAknQueryDialog", __FUNCTION__, aResourceId ); |
446 PrepareLC(aResourceId); |
473 PrepareLC(aResourceId); |
447 return(RunLD()); |
474 TInt ret = RunLD(); |
|
475 _AKNTRACE( "[%s][%s] ret:%d", "CAknQueryDialog", __FUNCTION__,ret ); |
|
476 _AKNTRACE_FUNC_EXIT; |
|
477 return ret; |
448 } |
478 } |
449 |
479 |
450 /** |
480 /** |
451 * Call PrepareLC, set the prompt and display dialog. |
481 * Call PrepareLC, set the prompt and display dialog. |
452 */ |
482 */ |
453 EXPORT_C TInt CAknQueryDialog::ExecuteLD(TInt aResourceId,const TDesC& aPrompt) |
483 EXPORT_C TInt CAknQueryDialog::ExecuteLD(TInt aResourceId,const TDesC& aPrompt) |
454 { |
484 { |
|
485 _AKNTRACE_FUNC_ENTER; |
455 PrepareLC(aResourceId); |
486 PrepareLC(aResourceId); |
456 SetPromptL(aPrompt); |
487 SetPromptL(aPrompt); |
457 return(RunLD()); |
488 _AKNTRACE( "[%s][%s] aResourceId: %d", "CAknQueryDialog", __FUNCTION__, aResourceId ); |
|
489 TInt ret= RunLD(); |
|
490 _AKNTRACE( "[%s][%s] ret:%d", "CAknQueryDialog", __FUNCTION__,ret ); |
|
491 _AKNTRACE_FUNC_EXIT; |
|
492 return ret; |
458 } |
493 } |
459 /** |
494 /** |
460 * Get layout information from the control and use this layout |
495 * Get layout information from the control and use this layout |
461 * information to do layout. If there is a heading, add the |
496 * information to do layout. If there is a heading, add the |
462 * heading height to the height returned by the control layout |
497 * heading height to the height returned by the control layout |
491 control->MopGetObject( dialog ); |
527 control->MopGetObject( dialog ); |
492 if ( dialog && ( dialog->DialogFlags() & EEikDialogFlagVirtualInput ) ) |
528 if ( dialog && ( dialog->DialogFlags() & EEikDialogFlagVirtualInput ) ) |
493 { |
529 { |
494 TAknWindowLineLayout lay = AknLayoutScalable_Avkon::application_window(0); |
530 TAknWindowLineLayout lay = AknLayoutScalable_Avkon::application_window(0); |
495 TRect re(0, 0, lay.iW, lay.iH); |
531 TRect re(0, 0, lay.iW, lay.iH); |
|
532 _AKNTRACE( "[%s][%s] Rect: x[%d],y[%d],w[%d],h[%d]", "CAknQueryDialog", __FUNCTION__, |
|
533 re.iTl.iX, re.iTl.iY, re.Width(),re.Height()); |
496 SetRect(re); |
534 SetRect(re); |
|
535 _AKNTRACE_FUNC_EXIT; |
497 return; |
536 return; |
498 } |
537 } |
499 } |
538 } |
500 #endif |
539 #endif |
501 TAknWindowLineLayout windowLineLayoutScreen = AknLayoutScalable_Avkon::Screen().LayoutLine(); |
540 TAknWindowLineLayout windowLineLayoutScreen = AknLayoutScalable_Avkon::Screen().LayoutLine(); |
502 TRect rectZero = TRect(0,0,0,0); |
541 TRect rectZero = TRect(0,0,0,0); |
503 TAknLayoutRect layoutRect; |
542 TAknLayoutRect layoutRect; |
504 layoutRect.LayoutRect( rectZero, windowLineLayoutScreen ); |
543 layoutRect.LayoutRect( rectZero, windowLineLayoutScreen ); |
505 TRect rectScreen( layoutRect.Rect() ); |
544 TRect rectScreen( layoutRect.Rect() ); |
506 TSize maxSize = rectScreen.Size(); |
545 TSize maxSize = rectScreen.Size(); |
507 |
546 _AKNTRACE( "[%s][%s] maxSize: w[%d],h[%d]", "CAknQueryDialog", __FUNCTION__, |
|
547 maxSize.iWidth,maxSize.iHeight); |
508 if ( AknLayoutUtils::PenEnabled() ) |
548 if ( AknLayoutUtils::PenEnabled() ) |
509 { |
549 { |
510 CAknDialog::SetSizeAndPosition( PreferredSize( maxSize ) ); |
550 TSize preferredSize = PreferredSize( maxSize ); |
|
551 |
|
552 _AKNTRACE( "[%s][%s] call CAknDialog::SetSizeAndPosition( PreferredSize( w[%d],h[%d] ) )", "CAknQueryDialog", |
|
553 __FUNCTION__, preferredSize.iWidth, preferredSize.iHeight); |
|
554 |
|
555 CAknDialog::SetSizeAndPosition( preferredSize ); |
511 } |
556 } |
512 else |
557 else |
513 { |
558 { |
514 TAknWindowLineLayout layout; |
559 TAknWindowLineLayout layout; |
515 control->WindowLayout( layout ); |
560 control->WindowLayout( layout ); |
528 TAknLayoutRect headingLayoutRect; |
573 TAknLayoutRect headingLayoutRect; |
529 headingLayoutRect.LayoutRect(mainPane, |
574 headingLayoutRect.LayoutRect(mainPane, |
530 AknLayoutScalable_Avkon::heading_pane(0)); |
575 AknLayoutScalable_Avkon::heading_pane(0)); |
531 winRect.iTl.iY -= headingLayoutRect.Rect().Height(); |
576 winRect.iTl.iY -= headingLayoutRect.Rect().Height(); |
532 } |
577 } |
|
578 _AKNTRACE( "[%s][%s] Rect: x[%d],y[%d],w[%d],h[%d]", "CAknQueryDialog", __FUNCTION__, |
|
579 winRect.iTl.iX, winRect.iTl.iY, winRect.Width(),winRect.Height()); |
533 SetRect(winRect); |
580 SetRect(winRect); |
534 } |
581 } |
535 } |
582 } |
|
583 _AKNTRACE_FUNC_EXIT; |
536 } |
584 } |
537 |
585 |
538 /** |
586 /** |
539 * |
587 * |
540 */ |
588 */ |
541 EXPORT_C void CAknQueryDialog::PreLayoutDynInitL() |
589 EXPORT_C void CAknQueryDialog::PreLayoutDynInitL() |
542 { |
590 { |
|
591 _AKNTRACE_FUNC_ENTER; |
543 SetBorder( TGulBorder::ENone ); |
592 SetBorder( TGulBorder::ENone ); |
544 SetEditableL( ETrue ) ; |
593 SetEditableL( ETrue ) ; |
545 DoSetPromptL(); |
594 DoSetPromptL(); |
546 |
595 |
547 CAknQueryControl* control = QueryControl(); |
596 CAknQueryControl* control = QueryControl(); |
562 |
611 |
563 // Create CaptionRetriever for FEP |
612 // Create CaptionRetriever for FEP |
564 delete iExtension; |
613 delete iExtension; |
565 iExtension = NULL; |
614 iExtension = NULL; |
566 iExtension = new(ELeave) CAknQueryDialogExtension(this); |
615 iExtension = new(ELeave) CAknQueryDialogExtension(this); |
|
616 _AKNTRACE_FUNC_EXIT; |
567 } |
617 } |
568 |
618 |
569 /** |
619 /** |
570 * |
620 * |
571 */ |
621 */ |
572 EXPORT_C void CAknQueryDialog::PostLayoutDynInitL() |
622 EXPORT_C void CAknQueryDialog::PostLayoutDynInitL() |
573 { |
623 { |
|
624 _AKNTRACE_FUNC_ENTER; |
574 CAknQueryControl* control = QueryControl(); |
625 CAknQueryControl* control = QueryControl(); |
575 if (control) |
626 if (control) |
576 control->StartAnimationL(); |
627 control->StartAnimationL(); |
577 |
628 _AKNTRACE_FUNC_EXIT; |
578 } |
629 } |
579 |
630 |
580 /** |
631 /** |
581 * |
632 * |
582 */ |
633 */ |
583 EXPORT_C TKeyResponse CAknQueryDialog::OfferKeyEventL(const TKeyEvent& aKeyEvent, |
634 EXPORT_C TKeyResponse CAknQueryDialog::OfferKeyEventL(const TKeyEvent& aKeyEvent, |
584 TEventCode aType) |
635 TEventCode aType) |
585 { |
636 { |
|
637 _AKNTRACE( "[%s][%s] aKeyEvent.iCode[%d],aType[%d]", "CAknQueryDialog", __FUNCTION__,aKeyEvent.iCode, aType); |
586 if( NeedToDismissQueryL(aKeyEvent) ) |
638 if( NeedToDismissQueryL(aKeyEvent) ) |
587 return EKeyWasConsumed; |
639 { |
588 |
640 _AKNTRACE( "[%s][%s] Need Dismiss Query, return EKeyWasConsumed", "CAknQueryDialog", __FUNCTION__); |
|
641 return EKeyWasConsumed; |
|
642 } |
|
643 |
589 if (aType == EEventKey && aKeyEvent.iCode == EKeyOK) |
644 if (aType == EEventKey && aKeyEvent.iCode == EKeyOK) |
590 { |
645 { |
591 CAknQueryControl* control = QueryControl(); |
646 CAknQueryControl* control = QueryControl(); |
592 if (control) |
647 if (control) |
593 { |
648 { |
594 if (IsLeftSoftkeyVisible()) |
649 if (IsLeftSoftkeyVisible()) |
595 { |
650 { |
596 TryExitL(EEikBidOk); |
651 TryExitL(EEikBidOk); |
|
652 _AKNTRACE( "[%s][%s] TryExitL(EEikBidOk) and reutrn EKeyWasConsumed", "CAknQueryDialog", __FUNCTION__); |
597 return EKeyWasConsumed; |
653 return EKeyWasConsumed; |
598 } |
654 } |
599 } |
655 } |
600 } |
656 } |
601 else if ( aType == EEventKey && aKeyEvent.iCode == EKeyEnter ) |
657 else if ( aType == EEventKey && aKeyEvent.iCode == EKeyEnter ) |
605 if (control) |
661 if (control) |
606 { |
662 { |
607 if (IsLeftSoftkeyVisible()) |
663 if (IsLeftSoftkeyVisible()) |
608 { |
664 { |
609 TryExitL(EEikBidOk); |
665 TryExitL(EEikBidOk); |
|
666 _AKNTRACE( "[%s][%s] TryExitL(EEikBidOk) and reutrn EKeyWasConsumed", "CAknQueryDialog", __FUNCTION__); |
610 return EKeyWasConsumed; |
667 return EKeyWasConsumed; |
611 } |
668 } |
612 } |
669 } |
613 } |
670 } |
614 |
671 TKeyResponse response = CAknDialog::OfferKeyEventL(aKeyEvent,aType); |
615 |
672 _AKNTRACE( "[%s][%s] return [%d]", "CAknQueryDialog", __FUNCTION__, response); |
616 return CAknDialog::OfferKeyEventL(aKeyEvent,aType); |
673 return response; |
617 } |
674 } |
618 |
675 |
619 /** |
676 /** |
620 * Allows dismissing of queries. Only mandatory requirement is that PIN |
677 * Allows dismissing of queries. Only mandatory requirement is that PIN |
621 * queries are dismissed by the # key. Clients can |
678 * queries are dismissed by the # key. Clients can |
622 * override this and implement something different. |
679 * override this and implement something different. |
623 * |
680 * |
624 */ |
681 */ |
625 EXPORT_C TBool CAknQueryDialog::NeedToDismissQueryL(const TKeyEvent& aKeyEvent) |
682 EXPORT_C TBool CAknQueryDialog::NeedToDismissQueryL(const TKeyEvent& aKeyEvent) |
626 { |
683 { |
|
684 _AKNTRACE( "[%s][%s] aKeyEvent.iScanCode [%d]", "CAknQueryDialog", __FUNCTION__, aKeyEvent.iScanCode); |
627 if (aKeyEvent.iScanCode == EStdKeyHash) |
685 if (aKeyEvent.iScanCode == EStdKeyHash) |
628 { |
686 { |
629 CAknQueryControl* control = QueryControl(); |
687 CAknQueryControl* control = QueryControl(); |
630 if (control && control->QueryType() == EPinLayout) |
688 if (control && control->QueryType() == EPinLayout) |
631 { |
689 { |
|
690 _AKNTRACE( "[%s][%s] EPinLayout, Dismiss Query and return ETrue", "CAknQueryDialog", __FUNCTION__); |
632 DismissQueryL(); |
691 DismissQueryL(); |
633 return ETrue; |
692 return ETrue; |
634 } |
693 } |
635 } |
694 } |
|
695 _AKNTRACE( "[%s][%s] return EFalse", "CAknQueryDialog", __FUNCTION__); |
636 return EFalse; |
696 return EFalse; |
637 } |
697 } |
638 |
698 |
639 /** |
699 /** |
640 * Dismiss query. Query is accepted if the left softkey is displayed |
700 * Dismiss query. Query is accepted if the left softkey is displayed |
642 * Query is discarded if the left softkey is not displayed. |
702 * Query is discarded if the left softkey is not displayed. |
643 * Clients can override this and implement something different. |
703 * Clients can override this and implement something different. |
644 */ |
704 */ |
645 EXPORT_C void CAknQueryDialog::DismissQueryL() |
705 EXPORT_C void CAknQueryDialog::DismissQueryL() |
646 { |
706 { |
|
707 _AKNTRACE_FUNC_ENTER; |
647 if (IsLeftSoftkeyVisible()) |
708 if (IsLeftSoftkeyVisible()) |
648 { |
709 { |
|
710 _AKNTRACE( "[%s][%s] TryExitL(EEikBidOk) ", "CAknQueryDialog", __FUNCTION__); |
649 TryExitL(EEikBidOk); |
711 TryExitL(EEikBidOk); |
650 } |
712 } |
651 else |
713 else |
652 { |
714 { |
|
715 _AKNTRACE( "[%s][%s] TryExitL(EEikBidCancel) ", "CAknQueryDialog", __FUNCTION__); |
653 TryExitL(EEikBidCancel); |
716 TryExitL(EEikBidCancel); |
654 } |
717 } |
|
718 _AKNTRACE_FUNC_EXIT; |
655 } |
719 } |
656 |
720 |
657 /** |
721 /** |
658 * |
722 * |
659 */ |
723 */ |
660 EXPORT_C TBool CAknQueryDialog::OkToExitL(TInt aButtonId) |
724 EXPORT_C TBool CAknQueryDialog::OkToExitL(TInt aButtonId) |
661 { |
725 { |
|
726 _AKNTRACE( "[%s][%s] aButtonId : %d ", "CAknQueryDialog", __FUNCTION__,aButtonId); |
662 if ( aButtonId == EAknSoftkeyEmergencyCall ) |
727 if ( aButtonId == EAknSoftkeyEmergencyCall ) |
663 { |
728 { |
664 // ECS number entered and "call" softkey pressed, |
729 // ECS number entered and "call" softkey pressed, |
665 // send a key event to the query control to |
730 // send a key event to the query control to |
666 // initiate the call. |
731 // initiate the call. |
667 CAknQueryControl* control = QueryControl(); |
732 CAknQueryControl* control = QueryControl(); |
668 if ( control ) |
733 if ( control ) |
669 { |
734 { |
|
735 _AKNTRACE( "[%s][%s] AttemptEmergencyCall ", "CAknQueryDialog", __FUNCTION__); |
670 control->AttemptEmergencyCallL(); |
736 control->AttemptEmergencyCallL(); |
671 } |
737 } |
672 |
738 _AKNTRACE( "[%s][%s] return ETrue without doing anything", "CAknQueryDialog", __FUNCTION__); |
673 return ETrue; |
739 return ETrue; |
674 } |
740 } |
675 else if((IsLeftSoftkeyVisible() && |
741 else if((IsLeftSoftkeyVisible() && |
676 (aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk)) |
742 (aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk)) |
677 || aButtonId == GetRightCBAShortKeyPress() ) |
743 || aButtonId == GetRightCBAShortKeyPress() ) |
678 { |
744 { |
|
745 _AKNTRACE( "[%s][%s] return ETrue without doing anything ", "CAknQueryDialog", __FUNCTION__); |
679 return ETrue; |
746 return ETrue; |
680 } |
747 } |
|
748 |
|
749 _AKNTRACE( "[%s][%s] return EFalse without doing anyting ", "CAknQueryDialog", __FUNCTION__); |
681 return EFalse; |
750 return EFalse; |
682 } |
751 } |
683 |
752 |
684 /** |
753 /** |
685 * Return pointer to query heading or NULL (use QueryHeading()) |
754 * Return pointer to query heading or NULL (use QueryHeading()) |
794 if ( isVisible != aVisible ) |
868 if ( isVisible != aVisible ) |
795 { |
869 { |
796 btnGroupContainer.MakeCommandVisibleByPosition(CEikButtonGroupContainer::EMiddleSoftkeyPosition,aVisible); |
870 btnGroupContainer.MakeCommandVisibleByPosition(CEikButtonGroupContainer::EMiddleSoftkeyPosition,aVisible); |
797 } |
871 } |
798 } |
872 } |
|
873 _AKNTRACE_FUNC_EXIT; |
799 } |
874 } |
800 |
875 |
801 |
876 |
802 |
877 |
803 void CAknQueryDialog::PlayTone() |
878 void CAknQueryDialog::PlayTone() |
804 { |
879 { |
|
880 _AKNTRACE_FUNC_ENTER; |
805 if (iTone != 0 && iSoundSystem) |
881 if (iTone != 0 && iSoundSystem) |
806 { |
882 { |
|
883 _AKNTRACE( "[%s][%s] iSoundSystem->PlaySound(iTone)", "CAknQueryDialog", __FUNCTION__); |
807 iSoundSystem->PlaySound(iTone); |
884 iSoundSystem->PlaySound(iTone); |
808 } |
885 } |
|
886 _AKNTRACE_FUNC_EXIT; |
809 } |
887 } |
810 |
888 |
811 /** |
889 /** |
812 * Reset timers monitoring user inactivity. Will make applications |
890 * Reset timers monitoring user inactivity. Will make applications |
813 * using these timers react, e.g. if the screen saver is running, |
891 * using these timers react, e.g. if the screen saver is running, |
814 * this will disactivate it (as from screen saver specs) |
892 * this will disactivate it (as from screen saver specs) |
815 */ |
893 */ |
816 void CAknQueryDialog::ReportUserActivity() const |
894 void CAknQueryDialog::ReportUserActivity() const |
817 { |
895 { |
|
896 _AKNTRACE_FUNC_ENTER; |
818 #ifdef AVKON_RDEBUG_INFO |
897 #ifdef AVKON_RDEBUG_INFO |
819 RDebug::Print(_L("Reset user inactivity")); |
898 RDebug::Print(_L("Reset user inactivity")); |
820 #endif |
899 #endif |
821 User::ResetInactivityTime(); |
900 User::ResetInactivityTime(); |
|
901 _AKNTRACE_FUNC_EXIT; |
822 } |
902 } |
823 |
903 |
824 TInt CAknQueryDialog::GetLeftCBAShortKeyPress() |
904 TInt CAknQueryDialog::GetLeftCBAShortKeyPress() |
825 { |
905 { |
826 return TInt16(0xffff & TInt16(ButtonGroupContainer().ButtonGroup()->CommandId(0))); |
906 return TInt16(0xffff & TInt16(ButtonGroupContainer().ButtonGroup()->CommandId(0))); |
831 return TInt16(0xffff & TInt16(ButtonGroupContainer().ButtonGroup()->CommandId(2))); |
911 return TInt16(0xffff & TInt16(ButtonGroupContainer().ButtonGroup()->CommandId(2))); |
832 } |
912 } |
833 |
913 |
834 TBool CAknQueryDialog::IsLeftSoftkeyVisible() |
914 TBool CAknQueryDialog::IsLeftSoftkeyVisible() |
835 { |
915 { |
836 return ButtonGroupContainer().ButtonGroup()->IsCommandVisible( |
916 _AKNTRACE_FUNC_ENTER; |
837 ButtonGroupContainer().ButtonGroup()->CommandId(0)); |
917 TBool visible = ButtonGroupContainer().ButtonGroup()->IsCommandVisible( |
|
918 ButtonGroupContainer().ButtonGroup()->CommandId(0)); |
|
919 _AKNTRACE( "[%s][%s] visible: %d", "CAknQueryDialog", __FUNCTION__, visible); |
|
920 _AKNTRACE_FUNC_EXIT; |
|
921 return visible; |
838 } |
922 } |
839 |
923 |
840 /** |
924 /** |
841 * Sets emergency call support enabled. Must be called prior to PreLayoutDynamicInitL |
925 * Sets emergency call support enabled. Must be called prior to PreLayoutDynamicInitL |
842 */ |
926 */ |
843 EXPORT_C void CAknQueryDialog::SetEmergencyCallSupport( TBool aOnOff ) |
927 EXPORT_C void CAknQueryDialog::SetEmergencyCallSupport( TBool aOnOff ) |
844 { |
928 { |
|
929 _AKNTRACE_FUNC_ENTER; |
|
930 _AKNTRACE( "[%s][%s] aOnOff: %d", "CAknQueryDialog", __FUNCTION__, aOnOff); |
845 iFlags.Assign(CAknQueryControl::EEmergencyCallsEnabledByAPI, aOnOff ); |
931 iFlags.Assign(CAknQueryControl::EEmergencyCallsEnabledByAPI, aOnOff ); |
|
932 _AKNTRACE_FUNC_EXIT; |
846 } |
933 } |
847 |
934 |
848 EXPORT_C void CAknQueryDialog::SetPredictiveTextInputPermitted( TBool aPermitted ) |
935 EXPORT_C void CAknQueryDialog::SetPredictiveTextInputPermitted( TBool aPermitted ) |
849 { |
936 { |
|
937 _AKNTRACE_FUNC_ENTER; |
|
938 _AKNTRACE( "[%s][%s] aPermitted: %d", "CAknQueryDialog", __FUNCTION__, aPermitted); |
850 iFlags.Assign( CAknQueryControl::EPredictiveTextEntryPermitted, aPermitted ); |
939 iFlags.Assign( CAknQueryControl::EPredictiveTextEntryPermitted, aPermitted ); |
|
940 _AKNTRACE_FUNC_EXIT; |
851 } |
941 } |
852 |
942 |
853 EXPORT_C void CAknQueryDialog::RemoveEditorIndicator() |
943 EXPORT_C void CAknQueryDialog::RemoveEditorIndicator() |
854 { |
944 { |
|
945 _AKNTRACE_FUNC_ENTER; |
855 iFlags.Assign(CAknQueryControl::EEditorIndicatorOff,ETrue); |
946 iFlags.Assign(CAknQueryControl::EEditorIndicatorOff,ETrue); |
|
947 _AKNTRACE_FUNC_EXIT; |
856 } |
948 } |
857 |
949 |
858 EXPORT_C void CAknQueryDialog::SetHeaderTextL(const TDesC& aHeader) |
950 EXPORT_C void CAknQueryDialog::SetHeaderTextL(const TDesC& aHeader) |
859 { |
951 { |
|
952 _AKNTRACE_FUNC_ENTER; |
|
953 _AKNTRACE( "[%s][%s] aHeader: %s", "CAknQueryDialog", __FUNCTION__, &aHeader); |
860 CAknPopupHeadingPane* controlHeading = QueryHeading(); |
954 CAknPopupHeadingPane* controlHeading = QueryHeading(); |
861 if (controlHeading) |
955 if (controlHeading) |
862 controlHeading->SetTextL(aHeader); |
956 controlHeading->SetTextL(aHeader); |
863 |
|
864 LayoutAndDraw(); |
957 LayoutAndDraw(); |
|
958 _AKNTRACE_FUNC_EXIT; |
865 } |
959 } |
866 |
960 |
867 /** |
961 /** |
868 * Show left CBA only if editor text is valid |
962 * Show left CBA only if editor text is valid |
869 */ |
963 */ |
933 { |
1031 { |
934 return GetMaxTextLength(aControl,aDataText,aApiValue); |
1032 return GetMaxTextLength(aControl,aDataText,aApiValue); |
935 } |
1033 } |
936 |
1034 |
937 EXPORT_C void CAknQueryDialog::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
1035 EXPORT_C void CAknQueryDialog::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
938 { |
1036 { |
939 if ( AknLayoutUtils::PenEnabled() ) |
1037 CAknAppUi *appUi = iAvkonAppUi; |
940 { |
1038 CCoeControl *redirectControl = NULL; |
941 |
1039 TRect rectToScreenOfControl; |
942 CAknTouchPane* touchPane = iAvkonAppUi->TouchPane(); |
1040 |
943 |
1041 if (!Rect().Contains(aPointerEvent.iPosition)) |
944 if ( !Rect().Contains( aPointerEvent.iPosition ) && touchPane |
1042 { |
945 && touchPane->IsVisible() ) |
1043 CAknTouchPane* touchPane = appUi->TouchPane(); |
|
1044 CEikStatusPane *statusPane = appUi->StatusPane(); |
|
1045 |
|
1046 if ( touchPane && touchPane->IsVisible() ) |
946 { |
1047 { |
947 // touchpane is a window-owning control -> Rect() cannot be used |
1048 // touchpane is a window-owning control -> Rect() cannot be used |
948 TRect touchPaneRect( touchPane->Position(), touchPane->Size() ); |
1049 rectToScreenOfControl.SetRect( touchPane->Position(), touchPane->Size() ); |
949 |
1050 redirectControl = touchPane; |
950 if ( touchPaneRect.Contains( aPointerEvent.iParentPosition ) ) |
1051 } |
|
1052 else if ( statusPane && statusPane->IsVisible() && |
|
1053 Layout_Meta_Data::IsLandscapeOrientation() && |
|
1054 !IsFocused()) |
|
1055 { |
|
1056 CCoeControl* cbControl = statusPane->ControlL(TUid::Uid(EEikStatusPaneUidCombined)); |
|
1057 if ( cbControl && !statusPane->IsFaded() ) |
951 { |
1058 { |
952 TPointerEvent pointerEvent( aPointerEvent ); |
1059 rectToScreenOfControl.SetRect( cbControl->PositionRelativeToScreen(), cbControl->Size() ); |
953 |
1060 redirectControl = cbControl; |
954 // make event's coordinates touch pane relative |
|
955 pointerEvent.iPosition = aPointerEvent.iParentPosition - |
|
956 touchPaneRect.iTl; |
|
957 |
|
958 static_cast<CCoeControl*>( touchPane )->HandlePointerEventL( |
|
959 pointerEvent ); |
|
960 } |
1061 } |
961 } |
1062 } |
962 else |
1063 } |
963 { |
1064 |
964 // Forward also those pointerevents that the dialog rect does not contain |
1065 if ( redirectControl && rectToScreenOfControl.Contains(aPointerEvent.iParentPosition) ) |
965 CAknDialog::HandlePointerEventL( aPointerEvent ); |
1066 { |
966 } |
1067 // make event's coordinates relative to new control. |
|
1068 TPointerEvent pointerEvent( aPointerEvent ); |
|
1069 pointerEvent.iPosition = aPointerEvent.iParentPosition - rectToScreenOfControl.iTl; |
|
1070 |
|
1071 redirectControl->HandlePointerEventL( pointerEvent ); |
|
1072 } |
|
1073 else |
|
1074 { |
|
1075 // Forward also those pointerevents that the dialog rect does not contain |
|
1076 CAknDialog::HandlePointerEventL( aPointerEvent ); |
967 } |
1077 } |
968 } |
1078 } |
969 |
1079 |
970 EXPORT_C void* CAknQueryDialog::ExtensionInterface( TUid /*aInterface*/ ) |
1080 EXPORT_C void* CAknQueryDialog::ExtensionInterface( TUid /*aInterface*/ ) |
971 { |
1081 { |
1039 // number is entered to the query. |
1149 // number is entered to the query. |
1040 // --------------------------------------------------------------------------- |
1150 // --------------------------------------------------------------------------- |
1041 // |
1151 // |
1042 EXPORT_C void CAknQueryDialog::SetEmergencyCallSupportForCBA( TBool aOnOff ) |
1152 EXPORT_C void CAknQueryDialog::SetEmergencyCallSupportForCBA( TBool aOnOff ) |
1043 { |
1153 { |
|
1154 _AKNTRACE_FUNC_ENTER; |
|
1155 _AKNTRACE( "[%s][%s] aOnOff:%d ", "CAknQueryDialog", __FUNCTION__, aOnOff); |
1044 if ( aOnOff ) |
1156 if ( aOnOff ) |
1045 { |
1157 { |
1046 // Ensure also that the EEmergencyCallsEnabledByAPI is set. |
1158 // Ensure also that the EEmergencyCallsEnabledByAPI is set. |
1047 iFlags.Assign( CAknQueryControl::EEmergencyCallsEnabledByAPI, aOnOff ); |
1159 iFlags.Assign( CAknQueryControl::EEmergencyCallsEnabledByAPI, aOnOff ); |
1048 } |
1160 } |
1049 iFlags.Assign( CAknQueryControl::EEmergencyCallsCBASupport, aOnOff ); |
1161 iFlags.Assign( CAknQueryControl::EEmergencyCallsCBASupport, aOnOff ); |
|
1162 _AKNTRACE_FUNC_EXIT; |
1050 } |
1163 } |
1051 |
1164 |
1052 |
1165 |
1053 |
1166 |
1054 /************************ |
1167 /************************ |
1098 return EFalse; |
1214 return EFalse; |
1099 } |
1215 } |
1100 |
1216 |
1101 EXPORT_C void CAknTextQueryDialog::SetDefaultInputMode(TInt aInputMode) |
1217 EXPORT_C void CAknTextQueryDialog::SetDefaultInputMode(TInt aInputMode) |
1102 { |
1218 { |
|
1219 _AKNTRACE_FUNC_ENTER; |
|
1220 _AKNTRACE( "[%s][%s] aInputMode:%d ", "CAknTextQueryDialog", __FUNCTION__,aInputMode); |
1103 CAknQueryControl* control = QueryControl(); |
1221 CAknQueryControl* control = QueryControl(); |
1104 if ( control ) |
1222 if ( control ) |
1105 { |
1223 { |
1106 CEikSecretEditor* secretEditor = STATIC_CAST(CEikSecretEditor*, control->ControlByLayoutOrNull( ECodeLayout )); |
1224 CEikSecretEditor* secretEditor = STATIC_CAST(CEikSecretEditor*, control->ControlByLayoutOrNull( ECodeLayout )); |
1107 if (secretEditor) |
1225 if (secretEditor) |
1108 { |
1226 { |
1109 secretEditor->SetDefaultInputMode(aInputMode); |
1227 secretEditor->SetDefaultInputMode(aInputMode); |
1110 } |
1228 } |
1111 } |
1229 } |
|
1230 _AKNTRACE_FUNC_EXIT; |
1112 } |
1231 } |
1113 |
1232 |
1114 EXPORT_C void CAknTextQueryDialog::PreLayoutDynInitL() |
1233 EXPORT_C void CAknTextQueryDialog::PreLayoutDynInitL() |
1115 { |
1234 { |
|
1235 _AKNTRACE_FUNC_ENTER; |
1116 CAknQueryDialog::PreLayoutDynInitL(); |
1236 CAknQueryDialog::PreLayoutDynInitL(); |
1117 |
1237 |
1118 SetControlTextL(); |
1238 SetControlTextL(); |
1119 UpdateLeftSoftKeyL(); |
1239 UpdateLeftSoftKeyL(); |
|
1240 _AKNTRACE_FUNC_EXIT; |
1120 } |
1241 } |
1121 |
1242 |
1122 |
1243 |
1123 EXPORT_C void CAknTextQueryDialog::SetMaxLength(TInt aLength) |
1244 EXPORT_C void CAknTextQueryDialog::SetMaxLength(TInt aLength) |
1124 { |
1245 { |
1152 * |
1273 * |
1153 * @see IsLeftSoftkeyVisible |
1274 * @see IsLeftSoftkeyVisible |
1154 */ |
1275 */ |
1155 EXPORT_C TBool CAknTextQueryDialog::OkToExitL( TInt aButtonId ) |
1276 EXPORT_C TBool CAknTextQueryDialog::OkToExitL( TInt aButtonId ) |
1156 { |
1277 { |
|
1278 _AKNTRACE( "[%s][%s] aButtonId:%d ", "CAknTextQueryDialog", __FUNCTION__,aButtonId); |
1157 if ( aButtonId == EAknSoftkeyEmergencyCall ) |
1279 if ( aButtonId == EAknSoftkeyEmergencyCall ) |
1158 { |
1280 { |
1159 // ECS number entered and "call" softkey pressed, |
1281 // ECS number entered and "call" softkey pressed, |
1160 // send a key event to the query control to |
1282 // send a key event to the query control to |
1161 // initiate the call. |
1283 // initiate the call. |
1162 CAknQueryControl* control = QueryControl(); |
1284 CAknQueryControl* control = QueryControl(); |
1163 if ( control ) |
1285 if ( control ) |
1164 { |
1286 { |
1165 control->AttemptEmergencyCallL(); |
1287 control->AttemptEmergencyCallL(); |
1166 } |
1288 } |
1167 |
1289 _AKNTRACE( "[%s][%s] return ETrue ", "CAknTextQueryDialog", __FUNCTION__); |
1168 return ETrue; |
1290 return ETrue; |
1169 } |
1291 } |
1170 else if ( ( IsLeftSoftkeyVisible() && |
1292 else if ( ( IsLeftSoftkeyVisible() && |
1171 ( aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk ) ) ) |
1293 ( aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk ) ) ) |
1172 { |
1294 { |
1267 } |
1396 } |
1268 } |
1397 } |
1269 |
1398 |
1270 EXPORT_C TBool CAknNumberQueryDialog::OkToExitL( TInt aButtonId ) |
1399 EXPORT_C TBool CAknNumberQueryDialog::OkToExitL( TInt aButtonId ) |
1271 { |
1400 { |
|
1401 _AKNTRACE( "[%s][%s] aButtonId:%d ", "CAknNumberQueryDialog", __FUNCTION__,aButtonId); |
1272 if ( aButtonId == EAknSoftkeyEmergencyCall ) |
1402 if ( aButtonId == EAknSoftkeyEmergencyCall ) |
1273 { |
1403 { |
1274 // ECS number entered and "call" softkey pressed, |
1404 // ECS number entered and "call" softkey pressed, |
1275 // send a key event to the query control to |
1405 // send a key event to the query control to |
1276 // initiate the call. |
1406 // initiate the call. |
1277 CAknQueryControl* control = QueryControl(); |
1407 CAknQueryControl* control = QueryControl(); |
1278 if ( control ) |
1408 if ( control ) |
1279 { |
1409 { |
1280 control->AttemptEmergencyCallL(); |
1410 control->AttemptEmergencyCallL(); |
1281 } |
1411 } |
1282 |
1412 _AKNTRACE( "[%s][%s] attempt emergency and return ETrue ", "CAknNumberQueryDialog", __FUNCTION__); |
1283 return ETrue; |
1413 return ETrue; |
1284 } |
1414 } |
1285 else if ( aButtonId == GetRightCBAShortKeyPress() ) |
1415 else if ( aButtonId == GetRightCBAShortKeyPress() ) |
1286 { |
1416 { |
|
1417 _AKNTRACE( "[%s][%s] do nothing and reutrn ETrue ", "CAknNumberQueryDialog", __FUNCTION__); |
1287 return ETrue; |
1418 return ETrue; |
1288 } |
1419 } |
1289 else if ( ( IsLeftSoftkeyVisible() && |
1420 else if ( ( IsLeftSoftkeyVisible() && |
1290 ( aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk ) ) ) |
1421 ( aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk ) ) ) |
1291 { |
1422 { |
1341 * Second phase construction required to align API with multiline queries |
1474 * Second phase construction required to align API with multiline queries |
1342 * and because in future MAknQueryData will be used. |
1475 * and because in future MAknQueryData will be used. |
1343 */ |
1476 */ |
1344 EXPORT_C CAknTimeQueryDialog* CAknTimeQueryDialog::NewL(TTime& aTime, const TTone& aTone) |
1477 EXPORT_C CAknTimeQueryDialog* CAknTimeQueryDialog::NewL(TTime& aTime, const TTone& aTone) |
1345 { |
1478 { |
|
1479 _AKNTRACE_FUNC_ENTER; |
1346 CAknTimeQueryDialog* self = new (ELeave) CAknTimeQueryDialog(aTime, aTone); |
1480 CAknTimeQueryDialog* self = new (ELeave) CAknTimeQueryDialog(aTime, aTone); |
1347 AKNTASHOOK_ADDL( self, "CAknTimeQueryDialog" ); |
1481 AKNTASHOOK_ADDL( self, "CAknTimeQueryDialog" ); |
|
1482 _AKNTRACE_FUNC_EXIT; |
1348 return self; |
1483 return self; |
1349 } |
1484 } |
1350 |
1485 |
1351 EXPORT_C CAknTimeQueryDialog::CAknTimeQueryDialog |
1486 EXPORT_C CAknTimeQueryDialog::CAknTimeQueryDialog |
1352 (TTime& aTime, const TTone& aTone) : CAknQueryDialog(aTone), iTime(aTime) |
1487 (TTime& aTime, const TTone& aTone) : CAknQueryDialog(aTone), iTime(aTime) |
1384 } |
1521 } |
1385 } |
1522 } |
1386 |
1523 |
1387 EXPORT_C TBool CAknTimeQueryDialog::OkToExitL(TInt aButtonId) |
1524 EXPORT_C TBool CAknTimeQueryDialog::OkToExitL(TInt aButtonId) |
1388 { |
1525 { |
|
1526 _AKNTRACE( "[%s][%s] aButtonId:%d ", "CAknTimeQueryDialog", __FUNCTION__,aButtonId); |
1389 if((IsLeftSoftkeyVisible() && |
1527 if((IsLeftSoftkeyVisible() && |
1390 (aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk))) |
1528 (aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk))) |
1391 { |
1529 { |
1392 CAknQueryControl* control = QueryControl(); |
1530 CAknQueryControl* control = QueryControl(); |
1393 if ( control ) |
1531 if ( control ) |
1394 { |
1532 { |
1395 iTime = control->GetTime(); |
1533 iTime = control->GetTime(); |
1396 } |
1534 } |
|
1535 _AKNTRACE( "[%s][%s] get time and return ETrue ", "CAknTimeQueryDialog", __FUNCTION__); |
1397 return ETrue; |
1536 return ETrue; |
1398 } |
1537 } |
1399 else if(aButtonId == GetRightCBAShortKeyPress()) |
1538 else if(aButtonId == GetRightCBAShortKeyPress()) |
1400 return ETrue; |
1539 { |
1401 |
1540 _AKNTRACE( "[%s][%s] do nothing, return ETrue ", "CAknTimeQueryDialog", __FUNCTION__); |
|
1541 return ETrue; |
|
1542 } |
|
1543 _AKNTRACE( "[%s][%s] do nothing and return EFalse ", "CAknTimeQueryDialog", __FUNCTION__); |
1402 return EFalse; |
1544 return EFalse; |
1403 } |
1545 } |
1404 |
1546 |
1405 EXPORT_C void CAknTimeQueryDialog::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
1547 EXPORT_C void CAknTimeQueryDialog::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
1406 { |
1548 { |
1436 * Second phase construction required to align API with multiline queries |
1578 * Second phase construction required to align API with multiline queries |
1437 * and because in future MAknQueryData will be used. |
1579 * and because in future MAknQueryData will be used. |
1438 */ |
1580 */ |
1439 EXPORT_C CAknDurationQueryDialog* CAknDurationQueryDialog::NewL(TTimeIntervalSeconds& aDuration, const TTone& aTone) |
1581 EXPORT_C CAknDurationQueryDialog* CAknDurationQueryDialog::NewL(TTimeIntervalSeconds& aDuration, const TTone& aTone) |
1440 { |
1582 { |
|
1583 _AKNTRACE_FUNC_ENTER; |
1441 CAknDurationQueryDialog* self = new (ELeave) CAknDurationQueryDialog(aDuration, aTone); |
1584 CAknDurationQueryDialog* self = new (ELeave) CAknDurationQueryDialog(aDuration, aTone); |
1442 AKNTASHOOK_ADDL( self, "CAknDurationQueryDialog" ); |
1585 AKNTASHOOK_ADDL( self, "CAknDurationQueryDialog" ); |
|
1586 _AKNTRACE_FUNC_EXIT; |
1443 return self; |
1587 return self; |
1444 } |
1588 } |
1445 |
1589 |
1446 EXPORT_C CAknDurationQueryDialog::CAknDurationQueryDialog |
1590 EXPORT_C CAknDurationQueryDialog::CAknDurationQueryDialog |
1447 (TTimeIntervalSeconds& aDuration, const TTone& aTone) : CAknQueryDialog(aTone), iDuration(aDuration) |
1591 (TTimeIntervalSeconds& aDuration, const TTone& aTone) : CAknQueryDialog(aTone), iDuration(aDuration) |
1472 } |
1618 } |
1473 } |
1619 } |
1474 |
1620 |
1475 EXPORT_C TBool CAknDurationQueryDialog::OkToExitL(TInt aButtonId) |
1621 EXPORT_C TBool CAknDurationQueryDialog::OkToExitL(TInt aButtonId) |
1476 { |
1622 { |
|
1623 _AKNTRACE( "[%s][%s] aButtonId:%d ", "CAknDurationQueryDialog", __FUNCTION__,aButtonId); |
1477 if((IsLeftSoftkeyVisible() && |
1624 if((IsLeftSoftkeyVisible() && |
1478 (aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk))) |
1625 (aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk))) |
1479 { |
1626 { |
1480 CAknQueryControl* control = QueryControl(); |
1627 CAknQueryControl* control = QueryControl(); |
1481 if ( control ) |
1628 if ( control ) |
1482 { |
1629 { |
1483 iDuration = control->GetDuration(); |
1630 iDuration = control->GetDuration(); |
1484 } |
1631 } |
|
1632 _AKNTRACE( "[%s][%s] get duration and return ETrue ", "CAknDurationQueryDialog", __FUNCTION__); |
1485 return ETrue; |
1633 return ETrue; |
1486 } |
1634 } |
1487 else if(aButtonId == GetRightCBAShortKeyPress()) |
1635 else if(aButtonId == GetRightCBAShortKeyPress()) |
1488 { |
1636 { |
|
1637 _AKNTRACE( "[%s][%s] do nothing, return ETrue ", "CAknDurationQueryDialog", __FUNCTION__); |
1489 return ETrue; |
1638 return ETrue; |
1490 } |
1639 } |
|
1640 _AKNTRACE( "[%s][%s] return ETrue ", "CAknDurationQueryDialog", __FUNCTION__); |
1491 return EFalse; |
1641 return EFalse; |
1492 } |
1642 } |
1493 |
1643 |
1494 EXPORT_C void CAknDurationQueryDialog::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
1644 EXPORT_C void CAknDurationQueryDialog::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
1495 { |
1645 { |
1565 } |
1717 } |
1566 } |
1718 } |
1567 |
1719 |
1568 EXPORT_C TBool CAknFloatingPointQueryDialog::OkToExitL(TInt aButtonId) |
1720 EXPORT_C TBool CAknFloatingPointQueryDialog::OkToExitL(TInt aButtonId) |
1569 { |
1721 { |
|
1722 _AKNTRACE( "[%s][%s] aButtonId :%d ", "CAknFloatingPointQueryDialog", __FUNCTION__,aButtonId); |
1570 if((IsLeftSoftkeyVisible() && |
1723 if((IsLeftSoftkeyVisible() && |
1571 (aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk))) |
1724 (aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk))) |
1572 { |
1725 { |
1573 CAknQueryControl* control = QueryControl(); |
1726 CAknQueryControl* control = QueryControl(); |
1574 if ( control ) |
1727 if ( control ) |
1575 { |
1728 { |
1576 iNumber = control->GetFloatingPointNumberL(); |
1729 iNumber = control->GetFloatingPointNumberL(); |
1577 } |
1730 } |
|
1731 _AKNTRACE( "[%s][%s] Get Floatingpoint number and return ETrue ", "CAknFloatingPointQueryDialog", __FUNCTION__); |
1578 return ETrue; |
1732 return ETrue; |
1579 } |
1733 } |
1580 else if(aButtonId == GetRightCBAShortKeyPress()) |
1734 else if(aButtonId == GetRightCBAShortKeyPress()) |
1581 { |
1735 { |
|
1736 _AKNTRACE( "[%s][%s] do nothing, return ETrue ", "CAknFloatingPointQueryDialog", __FUNCTION__); |
1582 return ETrue; |
1737 return ETrue; |
1583 } |
1738 } |
|
1739 _AKNTRACE( "[%s][%s] return ETrue ", "CAknFloatingPointQueryDialog", __FUNCTION__); |
1584 return EFalse; |
1740 return EFalse; |
1585 } |
1741 } |
1586 |
1742 |
1587 EXPORT_C void CAknFloatingPointQueryDialog::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
1743 EXPORT_C void CAknFloatingPointQueryDialog::HandlePointerEventL(const TPointerEvent& aPointerEvent) |
1588 { |
1744 { |
1776 EXPORT_C void CAknMultiLineDataQueryDialog::SetPromptL(const TDesC& aFP, const TDesC& aSP) |
1932 EXPORT_C void CAknMultiLineDataQueryDialog::SetPromptL(const TDesC& aFP, const TDesC& aSP) |
1777 // |
1933 // |
1778 //Store new prompt values |
1934 //Store new prompt values |
1779 // |
1935 // |
1780 { |
1936 { |
|
1937 _AKNTRACE_FUNC_ENTER; |
1781 delete iSecondPrompt; |
1938 delete iSecondPrompt; |
1782 iSecondPrompt = NULL; |
1939 iSecondPrompt = NULL; |
1783 iSecondPrompt = aSP.AllocL(); |
1940 iSecondPrompt = aSP.AllocL(); |
1784 |
1941 |
1785 CAknQueryDialog::SetPromptL(aFP); |
1942 CAknQueryDialog::SetPromptL(aFP); |
|
1943 _AKNTRACE_FUNC_EXIT; |
1786 } |
1944 } |
1787 |
1945 |
1788 EXPORT_C void CAknMultiLineDataQueryDialog::DoSetPromptL() |
1946 EXPORT_C void CAknMultiLineDataQueryDialog::DoSetPromptL() |
1789 { |
1947 { |
|
1948 _AKNTRACE_FUNC_ENTER; |
1790 // |
1949 // |
1791 //Set prompt in query controls, called during layout |
1950 //Set prompt in query controls, called during layout |
1792 // |
1951 // |
1793 CAknMultilineQueryControl* secondControl = SecondControl(); |
1952 CAknMultilineQueryControl* secondControl = SecondControl(); |
1794 if(secondControl && iSecondPrompt && iSecondPrompt->Length()) |
1953 if(secondControl && iSecondPrompt && iSecondPrompt->Length()) |
1795 secondControl->SetPromptL(*iSecondPrompt); |
1954 secondControl->SetPromptL(*iSecondPrompt); |
1796 |
1955 |
1797 CAknQueryDialog::DoSetPromptL(); |
1956 CAknQueryDialog::DoSetPromptL(); |
|
1957 _AKNTRACE_FUNC_EXIT; |
1798 } |
1958 } |
1799 |
1959 |
1800 /** |
1960 /** |
1801 * Allows dismissing of queries. Same as base class implementation only take into |
1961 * Allows dismissing of queries. Same as base class implementation only take into |
1802 * consideration both controls |
1962 * consideration both controls |
1999 secondControl->GetText( ptext ); |
2162 secondControl->GetText( ptext ); |
2000 iSecondText->Copy( *text ); |
2163 iSecondText->Copy( *text ); |
2001 CleanupStack::PopAndDestroy( text ); |
2164 CleanupStack::PopAndDestroy( text ); |
2002 } |
2165 } |
2003 } |
2166 } |
2004 |
2167 _AKNTRACE( "[%s][%s] return ETrue ", "CAknMultiLineDataQueryDialog", __FUNCTION__); |
2005 return ETrue; |
2168 return ETrue; |
2006 } |
2169 } |
2007 else if(aButtonId == GetRightCBAShortKeyPress()) |
2170 else if(aButtonId == GetRightCBAShortKeyPress()) |
2008 { |
2171 { |
|
2172 _AKNTRACE( "[%s][%s] do nothing,return ETrue ", "CAknMultiLineDataQueryDialog", __FUNCTION__); |
2009 return ETrue; |
2173 return ETrue; |
2010 } |
2174 } |
2011 |
2175 _AKNTRACE( "[%s][%s] do nothing,return EFalse ", "CAknMultiLineDataQueryDialog", __FUNCTION__); |
2012 return EFalse; |
2176 return EFalse; |
2013 } |
2177 } |
2014 |
2178 |
2015 EXPORT_C void CAknMultiLineDataQueryDialog::UpdateLeftSoftKeyL() |
2179 EXPORT_C void CAknMultiLineDataQueryDialog::UpdateLeftSoftKeyL() |
2016 { |
2180 { |
2017 |
|
2018 if (Layout_Meta_Data::IsLandscapeOrientation()) |
2181 if (Layout_Meta_Data::IsLandscapeOrientation()) |
2019 { |
2182 { |
2020 if ( (FirstControl()->EditorContentIsValidL() && FirstControl()->IsFocused()) || (SecondControl()->EditorContentIsValidL() && FirstControl()->EditorContentIsValidL()) ) |
2183 if ( (FirstControl()->EditorContentIsValidL() && FirstControl()->IsFocused()) || (SecondControl()->EditorContentIsValidL() && FirstControl()->EditorContentIsValidL()) ) |
2021 { |
2184 { |
2022 MakeLeftSoftkeyVisible(ETrue); |
2185 MakeLeftSoftkeyVisible(ETrue); |
2068 TDesC* aPrompt, |
2231 TDesC* aPrompt, |
2069 TDesC* aPrompt2, |
2232 TDesC* aPrompt2, |
2070 const TTone& aTone) |
2233 const TTone& aTone) |
2071 : CAknQueryDialog(aTone) |
2234 : CAknQueryDialog(aTone) |
2072 { |
2235 { |
|
2236 _AKNTRACE_FUNC_ENTER; |
2073 TRAPD(ignore, SetPromptL(DesOrNull(aPrompt), DesOrNull(aPrompt2))); |
2237 TRAPD(ignore, SetPromptL(DesOrNull(aPrompt), DesOrNull(aPrompt2))); |
2074 TRAP(ignore,SetDataL(*aTime,*aTime2)); |
2238 TRAP(ignore,SetDataL(*aTime,*aTime2)); |
2075 AKNTASHOOK_ADD( this, "CAknMultiLineDataQueryDialog" ); |
2239 AKNTASHOOK_ADD( this, "CAknMultiLineDataQueryDialog" ); |
|
2240 _AKNTRACE_FUNC_EXIT; |
2076 } |
2241 } |
2077 |
2242 |
2078 EXPORT_C CAknMultiLineDataQueryDialog::CAknMultiLineDataQueryDialog( TDes* aDataText, |
2243 EXPORT_C CAknMultiLineDataQueryDialog::CAknMultiLineDataQueryDialog( TDes* aDataText, |
2079 TDes* aDataText2, |
2244 TDes* aDataText2, |
2080 TDesC* aPrompt, |
2245 TDesC* aPrompt, |
2081 TDesC* aPrompt2, |
2246 TDesC* aPrompt2, |
2082 const TTone& aTone) |
2247 const TTone& aTone) |
2083 : CAknQueryDialog(aTone) |
2248 : CAknQueryDialog(aTone) |
2084 { |
2249 { |
|
2250 _AKNTRACE_FUNC_ENTER; |
2085 TRAPD(ignore, SetPromptL(DesOrNull(aPrompt), DesOrNull(aPrompt2))); |
2251 TRAPD(ignore, SetPromptL(DesOrNull(aPrompt), DesOrNull(aPrompt2))); |
2086 TRAP(ignore,SetDataL(*aDataText,*aDataText2)); |
2252 TRAP(ignore,SetDataL(*aDataText,*aDataText2)); |
2087 |
2253 |
2088 iText = aDataText; |
2254 iText = aDataText; |
2089 iSecondText = aDataText2; |
2255 iSecondText = aDataText2; |
2090 AKNTASHOOK_ADD( this, "CAknMultiLineDataQueryDialog" ); |
2256 AKNTASHOOK_ADD( this, "CAknMultiLineDataQueryDialog" ); |
|
2257 _AKNTRACE_FUNC_EXIT; |
2091 } |
2258 } |
2092 |
2259 |
2093 EXPORT_C CAknMultiLineDataQueryDialog::CAknMultiLineDataQueryDialog( TDes* aDataText, |
2260 EXPORT_C CAknMultiLineDataQueryDialog::CAknMultiLineDataQueryDialog( TDes* aDataText, |
2094 TTime* aTime, |
2261 TTime* aTime, |
2095 TDesC* aPrompt, |
2262 TDesC* aPrompt, |
2096 TDesC* aPrompt2, |
2263 TDesC* aPrompt2, |
2097 const TTone& aTone) |
2264 const TTone& aTone) |
2098 : CAknQueryDialog(aTone) |
2265 : CAknQueryDialog(aTone) |
2099 { |
2266 { |
|
2267 _AKNTRACE_FUNC_ENTER; |
2100 TRAPD(ignore, SetPromptL(DesOrNull(aPrompt), DesOrNull(aPrompt2))); |
2268 TRAPD(ignore, SetPromptL(DesOrNull(aPrompt), DesOrNull(aPrompt2))); |
2101 TRAP(ignore,SetDataL(*aDataText,*aTime)); |
2269 TRAP(ignore,SetDataL(*aDataText,*aTime)); |
2102 |
2270 |
2103 iText = aDataText; |
2271 iText = aDataText; |
2104 AKNTASHOOK_ADD( this, "CAknMultiLineDataQueryDialog" ); |
2272 AKNTASHOOK_ADD( this, "CAknMultiLineDataQueryDialog" ); |
|
2273 _AKNTRACE_FUNC_EXIT; |
2105 } |
2274 } |
2106 |
2275 |
2107 EXPORT_C CAknMultiLineDataQueryDialog::CAknMultiLineDataQueryDialog( TDes* aDataText, |
2276 EXPORT_C CAknMultiLineDataQueryDialog::CAknMultiLineDataQueryDialog( TDes* aDataText, |
2108 TInt* aNumber, |
2277 TInt* aNumber, |
2109 TDesC* aPrompt, |
2278 TDesC* aPrompt, |
2110 TDesC* aPrompt2, |
2279 TDesC* aPrompt2, |
2111 const TTone& aTone) |
2280 const TTone& aTone) |
2112 : CAknQueryDialog(aTone) |
2281 : CAknQueryDialog(aTone) |
2113 { |
2282 { |
|
2283 _AKNTRACE_FUNC_ENTER; |
2114 TRAPD(ignore, SetPromptL(DesOrNull(aPrompt), DesOrNull(aPrompt2))); |
2284 TRAPD(ignore, SetPromptL(DesOrNull(aPrompt), DesOrNull(aPrompt2))); |
2115 TRAP(ignore,SetDataL(*aDataText,*aNumber)); |
2285 TRAP(ignore,SetDataL(*aDataText,*aNumber)); |
2116 |
2286 |
2117 iText = aDataText; |
2287 iText = aDataText; |
2118 AKNTASHOOK_ADD( this, "CAknMultiLineDataQueryDialog" ); |
2288 AKNTASHOOK_ADD( this, "CAknMultiLineDataQueryDialog" ); |
|
2289 _AKNTRACE_FUNC_EXIT; |
2119 } |
2290 } |
2120 |
2291 |
2121 EXPORT_C CAknMultiLineDataQueryDialog::CAknMultiLineDataQueryDialog( TInt* aNumber, |
2292 EXPORT_C CAknMultiLineDataQueryDialog::CAknMultiLineDataQueryDialog( TInt* aNumber, |
2122 TInt* aNumber2, |
2293 TInt* aNumber2, |
2123 TDesC* aPrompt, |
2294 TDesC* aPrompt, |
2124 TDesC* aPrompt2, |
2295 TDesC* aPrompt2, |
2125 const TTone& aTone) |
2296 const TTone& aTone) |
2126 : CAknQueryDialog(aTone) |
2297 : CAknQueryDialog(aTone) |
2127 { |
2298 { |
|
2299 _AKNTRACE_FUNC_ENTER; |
2128 TRAPD(ignore, SetPromptL(DesOrNull(aPrompt), DesOrNull(aPrompt2))); |
2300 TRAPD(ignore, SetPromptL(DesOrNull(aPrompt), DesOrNull(aPrompt2))); |
2129 TRAP(ignore,SetDataL(*aNumber,*aNumber2)); |
2301 TRAP(ignore,SetDataL(*aNumber,*aNumber2)); |
2130 AKNTASHOOK_ADD( this, "CAknMultiLineDataQueryDialog" ); |
2302 AKNTASHOOK_ADD( this, "CAknMultiLineDataQueryDialog" ); |
|
2303 _AKNTRACE_FUNC_EXIT; |
2131 } |
2304 } |
2132 |
2305 |
2133 EXPORT_C CAknMultiLineDataQueryDialog::CAknMultiLineDataQueryDialog( TDes* aDataText, |
2306 EXPORT_C CAknMultiLineDataQueryDialog::CAknMultiLineDataQueryDialog( TDes* aDataText, |
2134 TTimeIntervalSeconds* aDuration, |
2307 TTimeIntervalSeconds* aDuration, |
2135 TDesC* aPrompt, |
2308 TDesC* aPrompt, |
2136 TDesC* aPrompt2, |
2309 TDesC* aPrompt2, |
2137 const TTone& aTone) |
2310 const TTone& aTone) |
2138 : CAknQueryDialog(aTone) |
2311 : CAknQueryDialog(aTone) |
2139 { |
2312 { |
|
2313 _AKNTRACE_FUNC_ENTER; |
2140 TRAPD(ignore, SetPromptL(DesOrNull(aPrompt), DesOrNull(aPrompt2))); |
2314 TRAPD(ignore, SetPromptL(DesOrNull(aPrompt), DesOrNull(aPrompt2))); |
2141 TRAP(ignore,SetDataL(*aDataText,*aDuration)); |
2315 TRAP(ignore,SetDataL(*aDataText,*aDuration)); |
2142 |
2316 |
2143 iText = aDataText; |
2317 iText = aDataText; |
2144 AKNTASHOOK_ADD( this, "CAknMultiLineDataQueryDialog" ); |
2318 AKNTASHOOK_ADD( this, "CAknMultiLineDataQueryDialog" ); |
2192 * Second phase construction required to align API with multiline queries |
2368 * Second phase construction required to align API with multiline queries |
2193 * and because in future MAknQueryData will be used. |
2369 * and because in future MAknQueryData will be used. |
2194 */ |
2370 */ |
2195 EXPORT_C CAknIpAddressQueryDialog* CAknIpAddressQueryDialog::NewL(TInetAddr& aInetAddr, const TTone& aTone) |
2371 EXPORT_C CAknIpAddressQueryDialog* CAknIpAddressQueryDialog::NewL(TInetAddr& aInetAddr, const TTone& aTone) |
2196 { |
2372 { |
|
2373 _AKNTRACE_FUNC_ENTER; |
2197 CAknIpAddressQueryDialog* self = new (ELeave) CAknIpAddressQueryDialog(aInetAddr, aTone); |
2374 CAknIpAddressQueryDialog* self = new (ELeave) CAknIpAddressQueryDialog(aInetAddr, aTone); |
2198 AKNTASHOOK_ADDL( self, "CAknIpAddressQueryDialog" ); |
2375 AKNTASHOOK_ADDL( self, "CAknIpAddressQueryDialog" ); |
|
2376 _AKNTRACE_FUNC_EXIT; |
2199 return self; |
2377 return self; |
2200 } |
2378 } |
2201 |
2379 |
2202 CAknIpAddressQueryDialog::CAknIpAddressQueryDialog |
2380 CAknIpAddressQueryDialog::CAknIpAddressQueryDialog |
2203 (TInetAddr& aInetAddr, const TTone& aTone) : CAknQueryDialog(aTone), iInetAddr(aInetAddr) |
2381 (TInetAddr& aInetAddr, const TTone& aTone) : CAknQueryDialog(aTone), iInetAddr(aInetAddr) |
2204 { |
2382 { |
2205 } |
2383 } |
2206 |
2384 |
2207 EXPORT_C CAknIpAddressQueryDialog::~CAknIpAddressQueryDialog() |
2385 EXPORT_C CAknIpAddressQueryDialog::~CAknIpAddressQueryDialog() |
2208 { |
2386 { |
|
2387 _AKNTRACE_FUNC_ENTER; |
2209 AKNTASHOOK_REMOVE(); |
2388 AKNTASHOOK_REMOVE(); |
|
2389 _AKNTRACE_FUNC_EXIT; |
2210 } |
2390 } |
2211 EXPORT_C void CAknIpAddressQueryDialog::SetSizeAndPosition( |
2391 EXPORT_C void CAknIpAddressQueryDialog::SetSizeAndPosition( |
2212 const TSize& aSize ) |
2392 const TSize& aSize ) |
2213 { |
2393 { |
|
2394 _AKNTRACE_FUNC_ENTER; |
|
2395 _AKNTRACE( "[%s][%s] aSize (W[%d],H[%d]) ", "CAknIpAddressQueryDialog", __FUNCTION__, aSize.iWidth, aSize.iHeight); |
2214 CAknExtQueryControl* control = STATIC_CAST(CAknExtQueryControl*,QueryControl()); |
2396 CAknExtQueryControl* control = STATIC_CAST(CAknExtQueryControl*,QueryControl()); |
2215 if(control) |
2397 if(control) |
2216 { |
2398 { |
2217 if ( AknLayoutUtils::PenEnabled() ) |
2399 if ( AknLayoutUtils::PenEnabled() ) |
2218 { |
2400 { |
2315 } |
2504 } |
2316 } |
2505 } |
2317 |
2506 |
2318 EXPORT_C TBool CAknIpAddressQueryDialog::OkToExitL(TInt aButtonId) |
2507 EXPORT_C TBool CAknIpAddressQueryDialog::OkToExitL(TInt aButtonId) |
2319 { |
2508 { |
|
2509 _AKNTRACE( "[%s][%s] aButtonId : %d ", |
|
2510 "CAknIpAddressQueryDialog", __FUNCTION__, aButtonId); |
2320 if((IsLeftSoftkeyVisible() && |
2511 if((IsLeftSoftkeyVisible() && |
2321 (aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk))) |
2512 (aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk))) |
2322 { |
2513 { |
2323 CAknExtQueryControl* control = STATIC_CAST(CAknExtQueryControl*,QueryControl()); |
2514 CAknExtQueryControl* control = STATIC_CAST(CAknExtQueryControl*,QueryControl()); |
2324 if ( control ) |
2515 if ( control ) |
2325 { |
2516 { |
2326 iInetAddr = control->GetInetAddress(); |
2517 iInetAddr = control->GetInetAddress(); |
2327 } |
2518 } |
|
2519 _AKNTRACE( "[%s][%s] get address and return ETrue", "CAknIpAddressQueryDialog", __FUNCTION__); |
2328 return ETrue; |
2520 return ETrue; |
2329 } |
2521 } |
2330 else if(aButtonId == GetRightCBAShortKeyPress()) |
2522 else if(aButtonId == GetRightCBAShortKeyPress()) |
2331 { |
2523 { |
|
2524 _AKNTRACE( "[%s][%s] do nothing, return ETrue", "CAknIpAddressQueryDialog", __FUNCTION__); |
2332 return ETrue; |
2525 return ETrue; |
2333 } |
2526 } |
|
2527 _AKNTRACE( "[%s][%s] do nothing, return EFalse", "CAknIpAddressQueryDialog", __FUNCTION__); |
2334 return EFalse; |
2528 return EFalse; |
2335 } |
2529 } |
2336 |
2530 |
2337 |
2531 |
2338 EXPORT_C void CAknIpAddressQueryDialog::UpdateLeftSoftKeyL() |
2532 EXPORT_C void CAknIpAddressQueryDialog::UpdateLeftSoftKeyL() |
2382 * Second phase construction required to align API with multiline queries |
2576 * Second phase construction required to align API with multiline queries |
2383 * and because in future MAknQueryData will be used. |
2577 * and because in future MAknQueryData will be used. |
2384 */ |
2578 */ |
2385 EXPORT_C CAknFixedPointQueryDialog* CAknFixedPointQueryDialog::NewL(TInt& aNumber, const TTone& aTone) |
2579 EXPORT_C CAknFixedPointQueryDialog* CAknFixedPointQueryDialog::NewL(TInt& aNumber, const TTone& aTone) |
2386 { |
2580 { |
|
2581 _AKNTRACE_FUNC_ENTER; |
2387 CAknFixedPointQueryDialog* self = new (ELeave) CAknFixedPointQueryDialog(aNumber, aTone); |
2582 CAknFixedPointQueryDialog* self = new (ELeave) CAknFixedPointQueryDialog(aNumber, aTone); |
2388 AKNTASHOOK_ADDL( self, "CAknFixedPointQueryDialog" ); |
2583 AKNTASHOOK_ADDL( self, "CAknFixedPointQueryDialog" ); |
|
2584 _AKNTRACE_FUNC_EXIT; |
2389 return self; |
2585 return self; |
2390 } |
2586 } |
2391 |
2587 |
2392 CAknFixedPointQueryDialog::CAknFixedPointQueryDialog |
2588 CAknFixedPointQueryDialog::CAknFixedPointQueryDialog |
2393 (TInt& aNumber, const TTone& aTone) : CAknQueryDialog(aTone), iNumber(aNumber) |
2589 (TInt& aNumber, const TTone& aTone) : CAknQueryDialog(aTone), iNumber(aNumber) |
2505 } |
2710 } |
2506 } |
2711 } |
2507 |
2712 |
2508 EXPORT_C TBool CAknFixedPointQueryDialog::OkToExitL(TInt aButtonId) |
2713 EXPORT_C TBool CAknFixedPointQueryDialog::OkToExitL(TInt aButtonId) |
2509 { |
2714 { |
|
2715 _AKNTRACE( "[%s][%s] aButtonId : %d ", "CAknFixedPointQueryDialog", __FUNCTION__, aButtonId); |
2510 if((IsLeftSoftkeyVisible() && |
2716 if((IsLeftSoftkeyVisible() && |
2511 (aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk))) |
2717 (aButtonId == GetLeftCBAShortKeyPress() || aButtonId == EEikBidOk))) |
2512 { |
2718 { |
2513 CAknExtQueryControl* control = STATIC_CAST(CAknExtQueryControl*,QueryControl()); |
2719 CAknExtQueryControl* control = STATIC_CAST(CAknExtQueryControl*,QueryControl()); |
2514 if ( control ) |
2720 if ( control ) |
2515 { |
2721 { |
2516 iNumber = control->GetFixedPointNumber(); |
2722 iNumber = control->GetFixedPointNumber(); |
2517 } |
2723 } |
|
2724 _AKNTRACE( "[%s][%s] get point number and return ETrue ", "CAknFixedPointQueryDialog", __FUNCTION__); |
2518 return ETrue; |
2725 return ETrue; |
2519 } |
2726 } |
2520 else if(aButtonId == GetRightCBAShortKeyPress()) |
2727 else if(aButtonId == GetRightCBAShortKeyPress()) |
2521 { |
2728 { |
|
2729 _AKNTRACE( "[%s][%s] do nothing and return ETrue ", "CAknFixedPointQueryDialog", __FUNCTION__); |
2522 return ETrue; |
2730 return ETrue; |
2523 } |
2731 } |
|
2732 _AKNTRACE( "[%s][%s] return EFalse ", "CAknFixedPointQueryDialog", __FUNCTION__); |
2524 return EFalse; |
2733 return EFalse; |
2525 } |
2734 } |
2526 |
2735 |
2527 |
2736 |
2528 EXPORT_C void CAknFixedPointQueryDialog::UpdateLeftSoftKeyL() |
2737 EXPORT_C void CAknFixedPointQueryDialog::UpdateLeftSoftKeyL() |