52 void candidatePopupClosed(int closingKey, const QString& activatedText); |
53 void candidatePopupClosed(int closingKey, const QString& activatedText); |
53 void commitAndAppendCharacter(QChar character); |
54 void commitAndAppendCharacter(QChar character); |
54 virtual void deleteOneCharacter(); |
55 virtual void deleteOneCharacter(); |
55 void commitExactWord(); |
56 void commitExactWord(); |
56 void handleEmptyCandidateList(); |
57 void handleEmptyCandidateList(); |
57 void showExactWordPopupIfNeeded(); |
58 virtual void showExactWordPopupIfNeeded(); |
58 QList<HbKeyPressProbability> probableKeypresses(); |
59 QList<HbKeyPressProbability> probableKeypresses(); |
|
60 void setPreEditTextToEditor(QString string, bool showAutocompletionPart); |
|
61 virtual QString getCommitString(); |
59 public: |
62 public: |
60 HbPredictionEngine *mEngine; |
63 HbPredictionEngine *mEngine; |
61 QStringList *mCandidates; |
64 QStringList *mCandidates; |
62 int mBestGuessLocation; |
65 int mBestGuessLocation; |
63 bool mShowTail; |
66 bool mShowTail; |
64 bool mTailShowing; |
|
65 bool mAutoAddedSpace; |
67 bool mAutoAddedSpace; |
66 bool mCanContinuePrediction; |
68 bool mCanContinuePrediction; |
67 bool mShowTooltip; |
69 bool mShowTooltip; |
68 Qt::KeyboardModifiers mModifiers; |
70 Qt::KeyboardModifiers mModifiers; |
69 |
71 HbInputSpellQuery *mSpellQueryDialog; |
|
72 bool mAutocompletionEnabled; |
70 public: |
73 public: |
71 void updateEditor(); |
74 virtual void updateEditor(); |
72 }; |
75 }; |
73 |
76 |
74 #endif //HB_INPUT_PREDICTION_HANDLER_PRIVATE |
77 #endif //HB_INPUT_PREDICTION_HANDLER_PRIVATE |