64 |
64 |
65 // From QInputContext (do not override). |
65 // From QInputContext (do not override). |
66 void widgetDestroyed(QWidget* widget); |
66 void widgetDestroyed(QWidget* widget); |
67 void setFocusWidget(QWidget* widget); |
67 void setFocusWidget(QWidget* widget); |
68 |
68 |
69 void focusObjectDestroyed(const HbInputFocusObject* focusObject); |
|
70 HbInputState inputState() const; |
69 HbInputState inputState() const; |
71 |
70 |
72 bool activateState(const HbInputState& state); |
71 bool activateState(const HbInputState& state); |
73 void updateState(); |
72 void updateState(); |
74 void editorRootState(HbInputState &result) const; |
73 void editorRootState(HbInputState &result) const; |
76 bool activateInputMethod(const HbInputMethodDescriptor &inputMethod); |
75 bool activateInputMethod(const HbInputMethodDescriptor &inputMethod); |
77 |
76 |
78 protected: |
77 protected: |
79 virtual void inputStateActivated(const HbInputState& newState); |
78 virtual void inputStateActivated(const HbInputState& newState); |
80 virtual void inputLanguageChanged(const HbInputLanguage &newLanguage); |
79 virtual void inputLanguageChanged(const HbInputLanguage &newLanguage); |
81 virtual void secondaryInputLanguageChanged(const HbInputLanguage &newLanguage); |
80 virtual void secondaryInputLanguageChanged(const HbInputLanguage &newLanguage); |
82 virtual void predictiveInputStatusChanged(int newStatus); |
|
83 bool stateChangeInProgress() const; |
81 bool stateChangeInProgress() const; |
84 bool orientationContextSwitchInProgress(); |
|
85 |
82 |
86 void releaseFocus(); |
|
87 HbInputLanguage activeLanguage() const; |
83 HbInputLanguage activeLanguage() const; |
88 |
84 |
89 bool modeAllowedInEditor(HbInputModeType mode) const; |
85 bool modeAllowedInEditor(HbInputModeType mode) const; |
90 void inputStateToEditor(const HbInputState& source); |
86 void inputStateToEditor(const HbInputState& source); |
91 |
87 |
92 void constructLatinState(HbInputState &result) const; |
88 void constructLatinState(HbInputState &result) const; |
93 |
89 |
94 public slots: |
90 public slots: |
95 void globalInputLanguageChanged(const HbInputLanguage &newLanguage); |
91 void globalInputLanguageChanged(const HbInputLanguage &newLanguage); |
96 void globalSecondaryInputLanguageChanged(const HbInputLanguage &newLanguage); |
92 void globalSecondaryInputLanguageChanged(const HbInputLanguage &newLanguage); |
97 void activeHwKeyboardChanged(HbKeyboardType newKeyboard); |
93 void activeKeyboardChanged(HbKeyboardType newKeyboard); |
98 void activeTouchKeyboardChanged(HbKeyboardType newKeyboard); |
|
99 void activeKeyboardChanged(HbKeyboardType newKeyboard); |
|
100 void predictiveInputStateChanged(int newState); |
|
101 virtual void predictiveInputStateChanged(HbKeyboardSettingFlags keyboardType, bool newState); |
|
102 void receiveText(const QString& string); |
|
103 virtual void candidatePopupClosed(int closingKey = 0); |
|
104 void orientationChanged(Qt::Orientation orientation); |
94 void orientationChanged(Qt::Orientation orientation); |
105 virtual void orientationAboutToChange(); |
95 virtual void orientationAboutToChange(); |
106 void editorDeleted(QObject *obj); |
96 void editorDeleted(QObject *obj); |
107 |
97 |
108 protected: |
98 protected: |