equal
deleted
inserted
replaced
34 |
34 |
35 #include <AknsUtils.h> |
35 #include <AknsUtils.h> |
36 #include <AppApacLayout.cdl.h> |
36 #include <AppApacLayout.cdl.h> |
37 #include <AppLayout.cdl.h> |
37 #include <AppLayout.cdl.h> |
38 #include <AknLayout.cdl.h> |
38 #include <AknLayout.cdl.h> |
39 |
|
40 #include <centralrepository.h> |
|
41 #include <AknFepInternalCRKeys.h> |
|
42 #include <PtiDefs.h> |
|
43 |
39 |
44 #include "BrowserBookmarksGotoPane.h" |
40 #include "BrowserBookmarksGotoPane.h" |
45 #include "BrowserUtil.h" |
41 #include "BrowserUtil.h" |
46 #include "commonconstants.h" |
42 #include "commonconstants.h" |
47 #include "BrowserAdaptiveListPopup.h" |
43 #include "BrowserAdaptiveListPopup.h" |
567 iEditor->SetAknEditorAllowedInputModes( EAknEditorTextInputMode | EAknEditorNumericInputMode ); |
563 iEditor->SetAknEditorAllowedInputModes( EAknEditorTextInputMode | EAknEditorNumericInputMode ); |
568 } |
564 } |
569 |
565 |
570 // In Search Mode we allow all types of inputs |
566 // In Search Mode we allow all types of inputs |
571 TInt editorFlags( (iSearchPaneMode ? EAknEditorFlagDefault : EAknEditorFlagLatinInputModesOnly) | EAknEditorFlagUseSCTNumericCharmap ); |
567 TInt editorFlags( (iSearchPaneMode ? EAknEditorFlagDefault : EAknEditorFlagLatinInputModesOnly) | EAknEditorFlagUseSCTNumericCharmap ); |
572 #ifdef RD_INTELLIGENT_TEXT_INPUT |
568 |
573 TInt physicalKeyboards = 0; |
569 // Always disable T9 input for goto url |
574 CRepository* aknFepRepository = CRepository::NewL( KCRUidAknFep ); |
570 editorFlags = (editorFlags | EAknEditorFlagNoT9); |
575 User::LeaveIfNull( aknFepRepository ); |
571 |
576 |
|
577 aknFepRepository->Get( KAknFepPhysicalKeyboards, physicalKeyboards ); |
|
578 delete aknFepRepository; |
|
579 |
|
580 if ( physicalKeyboards && EPtiKeyboardQwerty3x11 ) { |
|
581 editorFlags = (editorFlags | EAknEditorFlagNoT9); |
|
582 } |
|
583 #endif |
|
584 iEditor->SetAknEditorFlags( editorFlags ); |
572 iEditor->SetAknEditorFlags( editorFlags ); |
585 |
573 |
586 |
574 |
587 iEditor->SetAknEditorPermittedCaseModes( EAknEditorUpperCase | EAknEditorLowerCase ); |
575 iEditor->SetAknEditorPermittedCaseModes( EAknEditorUpperCase | EAknEditorLowerCase ); |
588 |
576 |