File indexing completed on 2024-12-15 04:59:00
0001 /* 0002 SPDX-FileCopyrightText: 2018 Friedrich W. H. Kossebau <kossebau@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "configstorage.h" 0008 0009 #include <QQmlEngine> 0010 #include <QQmlExtensionPlugin> 0011 0012 class AstronomicalConfigPlugin : public QQmlExtensionPlugin 0013 { 0014 Q_OBJECT 0015 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") 0016 0017 public: 0018 void registerTypes(const char *uri) override 0019 { 0020 qmlRegisterType<ConfigStorage>(uri, 1, 0, "ConfigStorage"); 0021 } 0022 }; 0023 0024 #include "configplugin.moc"