KSvg

types.h
1/*
2 SPDX-FileCopyrightText: 2023 Nicolas Fella <nicolas.fella@gmx.de>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KSVG_TYPES_H
8#define KSVG_TYPES_H
9
10#include <QQmlEngine>
11
12#include <Kirigami/Platform/PlatformTheme>
13
14#include <framesvg.h>
15#include <svg.h>
16
17struct PlatformThemeForeign {
18 Q_GADGET
19 QML_ANONYMOUS
21};
22
23struct SvgForeign {
24 Q_GADGET
25 QML_ELEMENT
26 QML_NAMED_ELEMENT(Svg)
27 QML_FOREIGN(KSvg::Svg)
28};
29
30struct FrameSvgForeign {
31 Q_GADGET
32 QML_ELEMENT
33 QML_NAMED_ELEMENT(FrameSvg)
34 QML_FOREIGN(KSvg::FrameSvg)
35};
36
37struct ImageSetForeign {
38 Q_GADGET
39 QML_ELEMENT
40 QML_SINGLETON
41 QML_NAMED_ELEMENT(ImageSet)
42 QML_FOREIGN(KSvg::ImageSet)
43};
44
45#endif
Provides an SVG with borders.
Definition framesvg.h:61
Interface to the Svg image set.
Definition imageset.h:41
A theme aware image-centric SVG class.
Definition svg.h:46
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:13:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.