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 QSTYLEFACTORY_H |
5 | #define QSTYLEFACTORY_H |
6 | |
7 | #include <QtWidgets/qtwidgetsglobal.h> |
8 | #include <QtCore/qstringlist.h> |
9 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | |
13 | class QStyle; |
14 | |
15 | class Q_WIDGETS_EXPORT QStyleFactory |
16 | { |
17 | public: |
18 | static QStringList keys(); |
19 | static QStyle *create(const QString&); |
20 | }; |
21 | |
22 | QT_END_NAMESPACE |
23 | |
24 | #endif // QSTYLEFACTORY_H |
25 | |