src/hbplugins/inputmethods/touchinput/virtualqwerty.h
changeset 6 c3690ec91ef8
parent 5 627c4a0fd0e7
child 21 4633027730f5
child 34 ed14f46c0e55
equal deleted inserted replaced
5:627c4a0fd0e7 6:c3690ec91ef8
    72     void keypadCloseEventDetected(HbInputVkbWidget::HbVkbCloseMethod vkbCloseMethod);
    72     void keypadCloseEventDetected(HbInputVkbWidget::HbVkbCloseMethod vkbCloseMethod);
    73     void flickEvent(HbInputVkbWidget::HbFlickDirection direction);
    73     void flickEvent(HbInputVkbWidget::HbFlickDirection direction);
    74     void mouseMovedOutOfButton();
    74     void mouseMovedOutOfButton();
    75     void smileySelected(QString smiley);
    75     void smileySelected(QString smiley);
    76     void predictiveInputStateChanged(HbKeyboardSettingFlags keyboardType, bool newState);
    76     void predictiveInputStateChanged(HbKeyboardSettingFlags keyboardType, bool newState);
       
    77     void autocompletionStateChanged(HbKeyboardSettingFlags keyboardType, bool newState);
       
    78     void typingCorrectionLevelChanged(HbTypingCorrectionLevel typingCorrectionLevel);
    77     void candidatePopupClosed(int closingKey, const QString& candidate);
    79     void candidatePopupClosed(int closingKey, const QString& candidate);
    78     void aboutToActivateCustomAction(HbAction *custAction);
    80     void aboutToActivateCustomAction(HbAction *custAction);
    79 
    81 
    80 public: // From HbInputMethod
    82 public: // From HbInputMethod
    81     void focusReceived();
    83     void focusReceived();
   103     void launchAutoCompletionPopup(const QStringList &candidates);
   105     void launchAutoCompletionPopup(const QStringList &candidates);
   104     HbKeyboardType currentKeyboardType() const;
   106     HbKeyboardType currentKeyboardType() const;
   105 
   107 
   106 private slots:
   108 private slots:
   107     void candidatePopupCancelled();
   109     void candidatePopupCancelled();
       
   110 	void primaryCandidateModeChanged(HbPrimaryCandidateMode mode);
   108 
   111 
   109 private:
   112 private:
   110     void initializePredictiveMode();
   113     void initializePredictiveMode();
   111     void updateEditor();
   114     void updateEditor();
   112     bool selectWord(bool selectFromLeft = true);
   115     bool selectWord(bool selectFromLeft = true);
   117 private:
   120 private:
   118     void openKeypad(HbInputVkbWidget * keypadToOpen, bool inMinimizedMode = false);
   121     void openKeypad(HbInputVkbWidget * keypadToOpen, bool inMinimizedMode = false);
   119     HbInputVkbWidget *constructKeyboard(HbKeypadMode currentInputType);
   122     HbInputVkbWidget *constructKeyboard(HbKeypadMode currentInputType);
   120 
   123 
   121 private:
   124 private:
   122     // mCurrentKeypad contains currently active keypad, we dont need to have
   125     // mCurrentKeypad contains currently active keypad, we don't need to have
   123     // anyother variables to tell us which is current keypad
   126     // anyother variables to tell us which is current keypad
   124     QPointer<HbInputVkbWidget> mCurrentKeypad;
   127     QPointer<HbInputVkbWidget> mCurrentKeypad;
   125     // contains qwerty alpha keypad
   128     // contains qwerty alpha keypad
   126     QPointer<HbInputVkbWidget> mQwertyAlphaKeypad;
   129     QPointer<HbInputVkbWidget> mQwertyAlphaKeypad;
   127     QPointer<HbQwerty10x4Keyboard> mQwerty10x4Keypad;
   130     QPointer<HbQwerty10x4Keyboard> mQwerty10x4Keypad;