equal
deleted
inserted
replaced
30 #include <QChar> |
30 #include <QChar> |
31 |
31 |
32 #include <hbinputmodeproperties.h> |
32 #include <hbinputmodeproperties.h> |
33 #include <hbinputdef.h> |
33 #include <hbinputdef.h> |
34 #include <hbinputpredictioncallback.h> |
34 #include <hbinputpredictioncallback.h> |
|
35 #include "hbinputspellquerydialog.h" |
35 |
36 |
36 class HbInputAbstractMethod; |
37 class HbInputAbstractMethod; |
37 class QMouseEvent; |
38 class QMouseEvent; |
38 class QTimer; |
39 class QTimer; |
39 class HbKeymap; |
40 class HbKeymap; |
66 |
67 |
67 // autocompletion |
68 // autocompletion |
68 HbInputModeActionSetupAutoCompletion, // setting up of autocompletion |
69 HbInputModeActionSetupAutoCompletion, // setting up of autocompletion |
69 |
70 |
70 // focus change |
71 // focus change |
71 HbInputModeActionFocusRecieved, // focus recived state |
72 HbInputModeActionFocusRecieved, // focus received state |
72 HbInputModeActionFocusLost, // focus lost state |
73 HbInputModeActionFocusLost, // focus lost state |
73 HbInputModeActionCancelButtonPress, |
74 HbInputModeActionCancelButtonPress, |
74 HbInputModeActionCloseSpellQuery |
75 HbInputModeActionCloseSpellQuery |
75 // more.. |
76 // more.. |
76 }; |
77 }; |
185 virtual void processExactWord(QString exactWord); |
186 virtual void processExactWord(QString exactWord); |
186 void commitExactWord(); |
187 void commitExactWord(); |
187 virtual void candidatePopupClosed(QString activatedWord, int closingKey); |
188 virtual void candidatePopupClosed(QString activatedWord, int closingKey); |
188 virtual void showExactWordPopupIfNeeded(); |
189 virtual void showExactWordPopupIfNeeded(); |
189 void closeSpellQueryDialog(); |
190 void closeSpellQueryDialog(); |
190 void spellQueryDialogClosed(QObject *savedFocusObject,bool isOk,QString string); |
191 void spellQueryDialogClosed(QObject *savedFocusObject,HbInputSpellQuery::HbSpellCloseReason closeReason,const QString &string); |
|
192 void setAutocompletionStatus(bool status); |
191 public slots: |
193 public slots: |
192 // different utility popup callbacks |
194 // different utility popup callbacks |
193 virtual void inputQueryPopupClosed(QString activatedWord, int closingKey); |
195 virtual void inputQueryPopupClosed(QString activatedWord, int closingKey); |
194 void sctCharacterSelected(QString character); |
196 void sctCharacterSelected(QString character); |
195 void smileySelected(QString smiley); |
197 void smileySelected(QString smiley); |