~iamsylvie/ubuntu-keyboard/ubuntu-keyboard

« back to all changes in this revision

Viewing changes to src/plugin/inputmethod.h

  • Committer: CI Train Bot
  • Author(s): Mitsuya Shibata
  • Date: 2016-02-22 11:04:18 UTC
  • mfrom: (402.2.16 japanese-keyboard-rebooted)
  • Revision ID: ci-train-bot@canonical.com-20160222110418-1hn0utyw7pj0gsqf
Implement Japanese keyboard layout Fixes: #1290031
Approved by: Ken VanDine

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
    Q_PROPERTY(QString keyboardState READ keyboardState WRITE setKeyboardState NOTIFY keyboardStateChanged)
60
60
    Q_PROPERTY(bool hasSelection READ hasSelection NOTIFY hasSelectionChanged)
61
61
    Q_PROPERTY(QString currentPluginPath READ currentPluginPath NOTIFY currentPluginPathChanged)
 
62
    Q_PROPERTY(QString preedit READ preedit WRITE replacePreedit NOTIFY preeditChanged)
 
63
    Q_PROPERTY(int cursorPosition READ cursorPosition WRITE setCursorPosition NOTIFY cursorPositionChanged)
62
64
 
63
65
    Q_ENUMS(TextContentType)
64
66
 
126
128
 
127
129
    const QString currentPluginPath() const;
128
130
 
 
131
    const QString &preedit();
 
132
    void replacePreedit(const QString &preedit);
 
133
    int cursorPosition() const;
 
134
    void setCursorPosition(const int pos);
 
135
 
129
136
    QObject* actionKeyOverride() const;
130
137
 
131
138
    Q_SLOT void close();
154
161
    void hasSelectionChanged(bool hasSelection);
155
162
    void currentPluginPathChanged(QString currentPluginPath);
156
163
    void languagePluginChanged(QString pluginPath, QString languageId);
 
164
    void preeditChanged(QString preedit);
 
165
    void cursorPositionChanged(int cursor_position);
157
166
 
158
167
private:
159
168
    Q_SLOT void onAutoCorrectSettingChanged();