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
main.cpp
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
6#include <qiconengineplugin.h>
7#include <qstringlist.h>
8
10
11#include <qiodevice.h>
12#include <qbytearray.h>
13#include <qdebug.h>
14
16
18{
19 Q_OBJECT
20#ifndef QT_NO_COMPRESS
21 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QIconEngineFactoryInterface" FILE "qsvgiconengine.json")
22#else
23 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QIconEngineFactoryInterface" FILE "qsvgiconengine-nocompress.json")
24#endif
25
26public:
28};
29
30QIconEngine *QSvgIconPlugin::create(const QString &)
31{
32 QSvgIconEngine *engine = new QSvgIconEngine;
33 return engine;
34}
35
36QT_END_NAMESPACE
37
38#include "main.moc"
Combined button and popup list for selecting options.