1// SPDX-FileCopyrightText: 2023 Nicolas Fella <nicolas.fella@gmx.de>
2// SPDX-License-Identifier: LGPL-2.0-or-later
3
4#ifndef KCONFIGTYPES_H
5#define KCONFIGTYPES_H
6
7#include <QQmlEngine>
8
9#include <kauthorized.h>
10#include <kconfigskeleton.h>
11#include <kcoreconfigskeleton.h>
12
13/*!
14 * \qmltype KAuthorized
15 * \inqmlmodule org.kde.config
16 * \nativetype KAuthorized
17 *
18 */
19
20struct KAuthorizedForeign {
21 Q_GADGET
22 QML_NAMED_ELEMENT(KAuthorized)
23 QML_SINGLETON
24 QML_FOREIGN(KAuthorized)
25};
26
27struct KCoreConfigSkeletonForeign {
28 Q_GADGET
29 QML_ANONYMOUS
30 QML_FOREIGN(KCoreConfigSkeleton)
31};
32
33struct KConfigSkeletonForeign {
34 Q_GADGET
35 QML_ANONYMOUS
36 QML_FOREIGN(KConfigSkeleton)
37};
38
39#endif
40

source code of kconfig/src/qml/types.h