src/hbplugins/inputmethods/common/hbinputpredictionhandler_p.h
changeset 6 c3690ec91ef8
parent 5 627c4a0fd0e7
child 7 923ff622b8b9
equal deleted inserted replaced
5:627c4a0fd0e7 6:c3690ec91ef8
    53     void candidatePopupClosed(int closingKey, const QString& activatedText);
    53     void candidatePopupClosed(int closingKey, const QString& activatedText);
    54     void commitAndAppendCharacter(QChar character);
    54     void commitAndAppendCharacter(QChar character);
    55     virtual void deleteOneCharacter();
    55     virtual void deleteOneCharacter();
    56     void commitExactWord();
    56     void commitExactWord();
    57     void handleEmptyCandidateList();
    57     void handleEmptyCandidateList();
    58     void showExactWordPopupIfNeeded();
    58     virtual void showExactWordPopupIfNeeded();
    59     QList<HbKeyPressProbability> probableKeypresses();
    59     QList<HbKeyPressProbability> probableKeypresses();
    60     void setPreEditTextToEditor(QString string);
    60     void setPreEditTextToEditor(QString string, bool showAutocompletionPart);
       
    61     virtual QString getCommitString();
    61 public:
    62 public:
    62     HbPredictionEngine  *mEngine;
    63     HbPredictionEngine  *mEngine;
    63     QStringList         *mCandidates;
    64     QStringList         *mCandidates;
    64     int                 mBestGuessLocation;
    65     int                 mBestGuessLocation;
    65     bool                mShowTail;
    66     bool                mShowTail;
    67     bool                mAutoAddedSpace;
    68     bool                mAutoAddedSpace;
    68     bool                mCanContinuePrediction;
    69     bool                mCanContinuePrediction;
    69     bool                mShowTooltip;
    70     bool                mShowTooltip;
    70     Qt::KeyboardModifiers mModifiers;
    71     Qt::KeyboardModifiers mModifiers;
    71     HbInputSpellQuery *mSpellQueryDialog;
    72     HbInputSpellQuery *mSpellQueryDialog;
    72 
    73     bool mAutocompletionEnabled;
    73 public:
    74 public:
    74     void updateEditor();
    75     virtual void updateEditor();
    75 };
    76 };
    76 
    77 
    77 #endif //HB_INPUT_PREDICTION_HANDLER_PRIVATE
    78 #endif //HB_INPUT_PREDICTION_HANDLER_PRIVATE