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

« back to all changes in this revision

Viewing changes to tests/unittests/common/wordengineprobe.h

  • Committer: CI bot
  • Author(s): Michael Sheldon
  • Date: 2014-04-15 15:16:43 UTC
  • mfrom: (153.1.6 fix-1281384)
  • Revision ID: ps-jenkins@lists.canonical.com-20140415151643-7fxaewv4w1t9o3sv
Implement capital letters for Pinyin keyboard, ignore auto-capitalisation and always display word ribbon when using Pinyin regardless of input hints. Fixes: 1281384

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    explicit MockLanguageFeatures() {}
44
44
    virtual ~MockLanguageFeatures() {}
45
45
 
 
46
    virtual bool alwaysShowSuggestions() const { return false; }
 
47
    virtual bool autoCapsAvailable() const { return false; }
46
48
    virtual bool activateAutoCaps(const QString &preedit) const { Q_UNUSED(preedit); return false; }
47
49
    virtual QString appendixForReplacedPreedit(const QString &preedit) const { Q_UNUSED(preedit); return ""; }
48
50
};