~michael-sheldon/+junk/keyboard-skeyer-autocorrect

« back to all changes in this revision

Viewing changes to plugins/pinyin/src/pinyinadapter.h

  • Committer: CI Train Bot
  • Author(s): Michael Sheldon
  • Date: 2015-02-27 14:12:20 UTC
  • mfrom: (313.2.5 pinyin-predictions)
  • Revision ID: ci-train-bot@canonical.com-20150227141220-jni0plkcmnhulmu8
Enable predictions from incomplete pinyin entry Fixes: #1401735
Approved by: PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    pinyin_context_t*  m_context;
32
32
    pinyin_instance_t* m_instance;
33
33
 
34
 
    GArray* m_array;
 
34
    bool m_processingWords;
35
35
 
36
36
public:
37
37
    explicit PinyinAdapter(QObject *parent = 0);
38
38
    ~PinyinAdapter();
39
39
 
 
40
signals:
 
41
    void newPredictionSuggestions(QString, QStringList);
 
42
 
 
43
public slots:
40
44
    void parse(const QString& string);
41
 
    QStringList getWordCandidates() const;
42
45
    void wordCandidateSelected(const QString& word);
43
46
    void reset();
44
47
};