--- a/src/hbplugins/inputmethods/common/hbinputmodehandler.h Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbplugins/inputmethods/common/hbinputmodehandler.h Mon Oct 18 18:23:13 2010 +0300
@@ -72,7 +72,8 @@
HbInputModeActionFocusRecieved, // focus received state
HbInputModeActionFocusLost, // focus lost state
HbInputModeActionCancelButtonPress,
- HbInputModeActionCloseSpellQuery
+ HbInputModeActionCloseSpellQuery,
+ HbInputModeActionRestorePreviousState
// more..
};
@@ -91,7 +92,7 @@
virtual void commitAndUpdate(const QString& string, int replaceFrom = 0, int replaceLength = 0, bool isAsync = false);
void sendAndUpdate(QEvent &event);
virtual void setKeymap(const HbKeymap* keymap);
- void togglePrediction();
+ void togglePrediction();
signals:
// incase one mode handler is not capable of processing the events.
@@ -187,15 +188,16 @@
void commitExactWord();
virtual void candidatePopupClosed(QString activatedWord, int closingKey);
virtual void showExactWordPopupIfNeeded();
- void closeSpellQueryDialog();
void spellQueryDialogClosed(QObject *savedFocusObject,HbInputSpellQuery::HbSpellCloseReason closeReason,const QString &string);
void setAutocompletionStatus(bool status);
+ void setLanguage(HbInputLanguage& language);
public slots:
// different utility popup callbacks
virtual void inputQueryPopupClosed(QString activatedWord, int closingKey);
void sctCharacterSelected(QString character);
void smileySelected(QString smiley);
void launchSpellQueryDialog();
+ void closeSpellQueryDialog();
signals://some useful signals related to popups
void launchInputQueryPopup(QString editWord);