Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qiconengineplugin.h
Go to the documentation of this file.
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// Qt-Security score:significant reason:default
4
5#ifndef QICONENGINEPLUGIN_H
6#define QICONENGINEPLUGIN_H
7
8#include <QtGui/qtguiglobal.h>
9#include <QtCore/qplugin.h>
10#include <QtCore/qfactoryinterface.h>
11
12QT_BEGIN_NAMESPACE
13
14
15class QIconEngine;
16
17#define QIconEngineFactoryInterface_iid "org.qt-project.Qt.QIconEngineFactoryInterface"
18
19class Q_GUI_EXPORT QIconEnginePlugin : public QObject
20{
21 Q_OBJECT
22public:
23 QIconEnginePlugin(QObject *parent = nullptr);
24 ~QIconEnginePlugin();
25
26 virtual QIconEngine *create(const QString &filename = QString()) = 0;
27};
28
29QT_END_NAMESPACE
30
31#endif // QICONENGINEPLUGIN_H
The QIconEnginePlugin class provides an abstract base for custom QIconEngine plugins.
Combined button and popup list for selecting options.