2
* Copyright 2015 Canonical Ltd.
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.
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.
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/>.
17
#ifndef JAPANESELANGUAGEFEATURES_H
18
#define JAPANESELANGUAGEFEATURES_H
20
#include "abstractlanguagefeatures.h"
23
class JapaneseLanguageFeatures : public QObject, public AbstractLanguageFeatures
27
explicit JapaneseLanguageFeatures(QObject *parent = 0);
28
virtual ~JapaneseLanguageFeatures();
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;
42
#endif // JAPANESELANGUAGEFEATURES_H