~michael-sheldon/ubuntu-keyboard/suggestion-override

« back to all changes in this revision

Viewing changes to src/lib/logic/abstractwordengine.h

  • Committer: CI bot
  • Author(s): Michael Sheldon
  • Date: 2014-05-12 23:00:30 UTC
  • mfrom: (158.2.11 multithreaded-spell-checking)
  • Revision ID: ps-jenkins@lists.canonical.com-20140512230030-m87f15loxsazj96y
Refactor language plugins to provide word candidates via signals and move spell checking and predictive text into separate threads Fixes: 1299736

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
 
74
74
    virtual AbstractLanguageFeatures* languageFeature() = 0;
75
75
 
 
76
signals:
 
77
    void preeditFaceChanged(Model::Text::PreeditFace face);
 
78
    void primaryCandidateChanged(QString candidate);
 
79
 
76
80
private:
77
 
    virtual WordCandidateList fetchCandidates(Model::Text *text) = 0;
 
81
    virtual void fetchCandidates(Model::Text *text) = 0;
78
82
    const QScopedPointer<AbstractWordEnginePrivate> d_ptr;
79
83
};
80
84