| 1 | // Copyright (C) 2016 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QGENERICPLUGINFACTORY_H |
| 5 | #define QGENERICPLUGINFACTORY_H |
| 6 | |
| 7 | #include <QtGui/qtguiglobal.h> |
| 8 | #include <QtCore/qstringlist.h> |
| 9 | |
| 10 | QT_BEGIN_NAMESPACE |
| 11 | |
| 12 | |
| 13 | class QString; |
| 14 | class QObject; |
| 15 | |
| 16 | class Q_GUI_EXPORT QGenericPluginFactory |
| 17 | { |
| 18 | public: |
| 19 | static QStringList keys(); |
| 20 | static QObject *create(const QString&, const QString &); |
| 21 | }; |
| 22 | |
| 23 | QT_END_NAMESPACE |
| 24 | |
| 25 | #endif // QGENERICPLUGINFACTORY_H |
| 26 | |