| 1 |
/* |
| 2 |
* SPDX-FileCopyrightText: 2017~2017 CSSlayer <[email protected]> |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: LGPL-2.1-or-later |
| 5 |
*/ |
| 6 |
#ifndef _WIDGETSADDONS_FCITXQTCONFIGUIFACTORY_P_H_ |
| 7 |
#define _WIDGETSADDONS_FCITXQTCONFIGUIFACTORY_P_H_ |
| 8 |
|
| 9 |
#include "fcitxqtconfiguifactory.h" |
| 10 |
#include <QMap> |
| 11 |
#include <QObject> |
| 12 |
#include <QPluginLoader> |
| 13 |
#include <QString> |
| 14 |
|
| 15 |
namespace fcitx { |
| 16 |
|
| 17 |
class FcitxQtConfigUIFactoryPrivate : public QObject { |
| 18 |
Q_OBJECT |
| 19 |
public: |
| 20 |
FcitxQtConfigUIFactoryPrivate(FcitxQtConfigUIFactory *factory); |
| 21 |
virtual ~FcitxQtConfigUIFactoryPrivate(); |
| 22 |
FcitxQtConfigUIFactory *const q_ptr; |
| 23 |
Q_DECLARE_PUBLIC(FcitxQtConfigUIFactory); |
| 24 |
|
| 25 |
private: |
| 26 |
void scan(); |
| 27 |
QMap<QString, QPluginLoader *> plugins_; |
| 28 |
}; |
| 29 |
} // namespace fcitx |
| 30 |
|
| 31 |
#endif // _WIDGETSADDONS_FCITXQTCONFIGUIFACTORY_P_H_ |