Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-14 08:34:44

0001 // Copyright (C) 2016 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 // Qt-Security score:significant reason:default
0004 
0005 #ifndef QSTYLEPLUGIN_H
0006 #define QSTYLEPLUGIN_H
0007 
0008 #include <QtWidgets/qtwidgetsglobal.h>
0009 #include <QtCore/qplugin.h>
0010 #include <QtCore/qfactoryinterface.h>
0011 
0012 QT_BEGIN_NAMESPACE
0013 
0014 
0015 class QStyle;
0016 
0017 #define QStyleFactoryInterface_iid "org.qt-project.Qt.QStyleFactoryInterface"
0018 
0019 class Q_WIDGETS_EXPORT QStylePlugin : public QObject
0020 {
0021     Q_OBJECT
0022 public:
0023     explicit QStylePlugin(QObject *parent = nullptr);
0024     ~QStylePlugin();
0025 
0026     virtual QStyle *create(const QString &key) = 0;
0027 };
0028 
0029 QT_END_NAMESPACE
0030 
0031 #endif // QSTYLEPLUGIN_H