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