src/hbplugins/inputmethods/touchinput/virtual12key.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
--- a/src/hbplugins/inputmethods/touchinput/virtual12key.h	Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbplugins/inputmethods/touchinput/virtual12key.h	Mon May 03 12:48:33 2010 +0300
@@ -36,6 +36,7 @@
 class HbInputVkbWidget;
 class Hb12KeyTouchKeypad;
 class HbInputSctPortrait;
+class HbInputThaiSpecialPopup;
 class HbCandidateList;
 class HbPredictionEngine;
 class HbAction;
@@ -45,6 +46,8 @@
 class HbInputPrediction12KeyHandler;
 class HbInputBasic12KeyHandler;
 class HbInputNumeric12KeyHandler;
+class HbInputBasic12KeyThaiHandler;
+class HbInputPrediction12KeyThaiHandler;
 
 class HbVirtual12Key : public HbInputAbstractMethod
 {
@@ -89,7 +92,10 @@
     void launchAutoCompletionPopup(const QStringList &candidates);
     void closeAutoCompletionPopup();
     void switchMode(int keyCode);
+	void showThaiSpecialCharacters(uint buttonId);
     void starKeySelected();
+	uint previousChar();
+	
 protected:
     void predictiveInputStatusChanged(int newStatus);
 private:
@@ -112,6 +118,8 @@
     void flickEvent(HbInputVkbWidget::HbFlickDirection direction);
     void mouseMovedOutOfButton();
     void smileySelected(QString smiley);
+    void predictiveInputStateChanged(HbKeyboardSettingFlags keyboardType, bool newState);
+	void thaiSctCharacterSelected(QString sctChar);
 
 private:
     // mCurrentKeypad contains currently active keypad, we dont need to have
@@ -121,6 +129,8 @@
     QPointer<Hb12KeyTouchKeypad> mItutKeypad;
     // contains sct keypad
     QPointer<HbInputSctPortrait> mSctKeypad;
+	// contains Thai special characters
+	QPointer<HbInputThaiSpecialPopup> mThaiSpecialChar;
 
     //Owned by the keymap factory
     const HbKeymap* mKeymap;
@@ -136,6 +146,8 @@
     HbInputPrediction12KeyHandler *mPredictionModeHandler;
     HbInputBasic12KeyHandler *mBasicModeHandler;
     HbInputNumeric12KeyHandler *mNumericModeHandler;
+	HbInputBasic12KeyThaiHandler *mBasic12keyThaiHandler;
+	HbInputPrediction12KeyThaiHandler *mPrediction12keyThaiHandler;
 
     QPointer<HbVkbHost> mVkbHost;
     bool mKeyboardChangeAlreadyInprogress;