Debian Codegraph @

gui/customphraseeditor/main.h

raw
1 /*
2 * SPDX-FileCopyrightText: 2023~2023 CSSlayer <[email protected]>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 *
6 */
7 #ifndef _CUSTOMPHRASEEDITOR_MAIN_H_
8 #define _CUSTOMPHRASEEDITOR_MAIN_H_
9
10 #include "fcitxqtconfiguiplugin.h"
11
12 namespace fcitx {
13
14 class CustomPhraseEditorPlugin : public FcitxQtConfigUIPlugin {
15 Q_OBJECT
16 public:
17 Q_PLUGIN_METADATA(IID FcitxQtConfigUIFactoryInterface_iid FILE
18 "customphraseeditor.json")
19 explicit CustomPhraseEditorPlugin(QObject *parent = nullptr);
20 FcitxQtConfigUIWidget *create(const QString &key) override;
21 };
22
23 } // namespace fcitx
24
25 #endif // _CUSTOMPHRASEEDITOR_MAIN_H_