Debian Codegraph @

qt4/inputcontext/main.h

raw
1 /*
2 * SPDX-FileCopyrightText: 2012~2017 CSSlayer <[email protected]>
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8 #ifndef MAIN_H
9 #define MAIN_H
10
11 #include <QInputContextPlugin>
12 #include <QStringList>
13
14 #include "qfcitxinputcontext.h"
15
16 namespace fcitx {
17
18 class QFcitxInputContextPlugin : public QInputContextPlugin {
19 Q_OBJECT
20 public:
21 QStringList keys() const override;
22
23 QStringList languages(const QString &key) override;
24
25 QString description(const QString &key) override;
26
27 QInputContext *create(const QString &key) override;
28
29 QString displayName(const QString &key) override;
30 };
31 } // namespace fcitx
32
33 #endif // MAIN_H