~iamsylvie/ubuntu-keyboard/ubuntu-keyboard

« back to all changes in this revision

Viewing changes to plugins/ja/src/japaneselanguagefeatures.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:
 
1
/*
 
2
 * Copyright 2015 Canonical Ltd.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU Lesser General Public License as published by
 
6
 * the Free Software Foundation; version 3.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU Lesser General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU Lesser General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 */
 
16
 
 
17
#ifndef JAPANESELANGUAGEFEATURES_H
 
18
#define JAPANESELANGUAGEFEATURES_H
 
19
 
 
20
#include "abstractlanguagefeatures.h"
 
21
#include <QObject>
 
22
 
 
23
class JapaneseLanguageFeatures : public QObject, public AbstractLanguageFeatures
 
24
{
 
25
    Q_OBJECT
 
26
public:
 
27
    explicit JapaneseLanguageFeatures(QObject *parent = 0);
 
28
    virtual ~JapaneseLanguageFeatures();
 
29
 
 
30
    virtual bool alwaysShowSuggestions() const;
 
31
    virtual bool autoCapsAvailable() const;
 
32
    virtual bool activateAutoCaps(const QString &preedit) const;
 
33
    virtual QString appendixForReplacedPreedit(const QString &preedit) const;
 
34
    virtual bool isSeparator(const QString &text) const;
 
35
    virtual bool isSymbol(const QString &text) const;
 
36
    virtual bool ignoreSimilarity() const;
 
37
    virtual bool wordEngineAvailable() const;
 
38
    virtual bool enablePreeditAtInsertion() const;
 
39
    virtual bool restorePreedit() const;
 
40
};
 
41
 
 
42
#endif // JAPANESELANGUAGEFEATURES_H