File indexing completed on 2024-05-12 05:36:58
0001 /* 0002 * SPDX-FileCopyrightText: 2023 Arjen Hiemstra <ahiemstra@heimr.nl> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #pragma once 0008 0009 #include <QQmlEngine> 0010 0011 #include "config.h" 0012 0013 /** 0014 * Tiny wrapper to make the generated Config class available from QML. 0015 */ 0016 struct QmlConfig { 0017 Q_GADGET 0018 QML_FOREIGN(Config) 0019 QML_SINGLETON 0020 QML_NAMED_ELEMENT(Config) 0021 };