Warning, file /include/QtWidgets/qstyleplugin.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004 #ifndef QSTYLEPLUGIN_H
0005 #define QSTYLEPLUGIN_H
0006
0007 #include <QtWidgets/qtwidgetsglobal.h>
0008 #include <QtCore/qplugin.h>
0009 #include <QtCore/qfactoryinterface.h>
0010
0011 QT_BEGIN_NAMESPACE
0012
0013
0014 class QStyle;
0015
0016 #define QStyleFactoryInterface_iid "org.qt-project.Qt.QStyleFactoryInterface"
0017
0018 class Q_WIDGETS_EXPORT QStylePlugin : public QObject
0019 {
0020 Q_OBJECT
0021 public:
0022 explicit QStylePlugin(QObject *parent = nullptr);
0023 ~QStylePlugin();
0024
0025 virtual QStyle *create(const QString &key) = 0;
0026 };
0027
0028 QT_END_NAMESPACE
0029
0030 #endif