Coverage Report

Created: 2026-02-26 07:48

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/qtsvg/src/plugins/iconengines/svgiconengine/main.cpp
Line
Count
Source
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
9
#include "qsvgiconengine.h"
10
11
#include <qiodevice.h>
12
#include <qbytearray.h>
13
#include <qdebug.h>
14
15
QT_BEGIN_NAMESPACE
16
17
class QSvgIconPlugin : public QIconEnginePlugin
18
{
19
0
    Q_OBJECT
20
0
#ifndef QT_NO_COMPRESS
21
0
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QIconEngineFactoryInterface" FILE "qsvgiconengine.json")
22
0
#else
23
0
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QIconEngineFactoryInterface" FILE "qsvgiconengine-nocompress.json")
24
0
#endif
25
0
26
0
public:
27
0
    QIconEngine *create(const QString &filename = QString()) override;
28
0
};
29
0
30
0
QIconEngine *QSvgIconPlugin::create(const QString &)
31
0
{
32
0
    QSvgIconEngine *engine = new QSvgIconEngine;
33
0
    return engine;
34
0
}
35
36
QT_END_NAMESPACE
37
38
#include "main.moc"