src/hbcore/inputfw/hbinputmethod_p.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
    44         : q_ptr(owner),
    44         : q_ptr(owner),
    45         mIsActive(false),
    45         mIsActive(false),
    46         mFocusObject(0),
    46         mFocusObject(0),
    47         mInputState(HbInputModeNone, HbTextCaseNone, HbKeyboardNone),        
    47         mInputState(HbInputModeNone, HbTextCaseNone, HbKeyboardNone),        
    48         mFocusLocked(false),
    48         mFocusLocked(false),
    49         mStateChangeInProgress(false),
    49         mStateChangeInProgress(false),       
    50         mTrustLocalState(false),
       
    51         mIsOrientationContextSwitchInProgress(false)
    50         mIsOrientationContextSwitchInProgress(false)
    52     {}
    51     {}
    53     ~HbInputMethodPrivate();
    52     ~HbInputMethodPrivate();
    54 
    53 
    55     HbInputFilter *editorFilter() const;
    54     HbInputFilter *editorFilter() const;
    78     void editorRootState(HbInputState &result) const;
    77     void editorRootState(HbInputState &result) const;
    79     void constructLatinState(HbInputState &result) const;
    78     void constructLatinState(HbInputState &result) const;
    80     HbTextCase initialTextCase(HbInputModeType inputMode) const; 
    79     HbTextCase initialTextCase(HbInputModeType inputMode) const; 
    81     HbInputModeType initialInputMode(const HbInputLanguage &language) const;
    80     HbInputModeType initialInputMode(const HbInputLanguage &language) const;
    82     HbInputModeType defaultInputMode(const HbInputLanguage &inputLanguage) const;  
    81     HbInputModeType defaultInputMode(const HbInputLanguage &inputLanguage) const;  
       
    82     void setUpFocusedObjectAsDigitsOnlyEditor();
       
    83     void setUpFocusedObjectAsFormattedNumberEditor();
       
    84     void setUpFocusedObjectAsPhoneNumberEditor();
       
    85     void setUpFocusedObjectAsEmailEditor();
       
    86     void setUpFocusedObjectAsUrlEditor();
    83 
    87 
    84 public:
    88 public:
    85     HbInputMethod *q_ptr;
    89     HbInputMethod *q_ptr;
    86     bool mIsActive;
    90     bool mIsActive;
    87     HbInputFocusObject* mFocusObject;
    91     HbInputFocusObject* mFocusObject;
    88     HbInputState mInputState;   
    92     HbInputState mInputState;   
    89     bool mFocusLocked;
    93     bool mFocusLocked;
    90     bool mStateChangeInProgress;
    94     bool mStateChangeInProgress;  
    91     bool mTrustLocalState;
       
    92     bool mIsModifyEvent;
       
    93     bool mHandleEvent;
       
    94     bool mIsOrientationContextSwitchInProgress;
    95     bool mIsOrientationContextSwitchInProgress;
    95     QList<HbInputModeProperties> mInputModes;
    96     QList<HbInputModeProperties> mInputModes;
    96 };
    97 };
    97 
    98 
    98 #endif // HB_INPUT_METHOD_P_H
    99 #endif // HB_INPUT_METHOD_P_H