Debian Codegraph @

gui/pinyindictmanager/main.cpp

raw
1 /*
2 * SPDX-FileCopyrightText: 2018-2018 CSSlayer <[email protected]>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 *
6 */
7
8 #include "main.h"
9 #include "pinyindictmanager.h"
10 #include <fcitx-utils/i18n.h>
11
12 namespace fcitx {
13
14 PinyinDictManagerPlugin::PinyinDictManagerPlugin(QObject *parent)
15 : FcitxQtConfigUIPlugin(parent) {
16 registerDomain("fcitx5-chinese-addons", FCITX_INSTALL_LOCALEDIR);
17 }
18
19 FcitxQtConfigUIWidget *PinyinDictManagerPlugin::create(const QString &key) {
20 Q_UNUSED(key);
21 return new PinyinDictManager(nullptr);
22 }
23
24 } // namespace fcitx