Back to home page

EIC code displayed by LXR

 
 

    


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 // 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 
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 // QSTYLEPLUGIN_H