1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef SVGIMAGEPROVIDER_H
5#define SVGIMAGEPROVIDER_H
6
7#include <QQuickImageProvider>
8
9class SvgImageProvider : public QQuickImageProvider
10{
11public:
12 explicit SvgImageProvider();
13 ~SvgImageProvider();
14
15 QPixmap requestPixmap(const QString &id, QSize *size, const QSize &requestedSize) override;
16};
17
18#endif // SVGIMAGEPROVIDER_H
19
20

source code of qtvirtualkeyboard/src/styles/svgimageprovider.h