/* SPDX-FileCopyrightText: 2017 Volker Krause SPDX-License-Identifier: MIT */ #include "qmlplugin.h" #include "qmldatasources.h" #include "qmlpropertysource.h" #include "qmlpropertyratiosource.h" #include "qmlproviderextension.h" #include #include #include #include #include using namespace KUserFeedback; void QmlPlugin::registerTypes(const char* uri) { qmlRegisterExtendedType(uri, 1, 0, "Provider"); qmlRegisterUncreatableType(uri, 1, 0, "AbstractDataSource", QStringLiteral("abstract base class")); qmlRegisterType(uri, 1, 0, "ApplicationVersionSource"); qmlRegisterType(uri, 1, 0, "CompilerInfoSource"); qmlRegisterType(uri, 1, 0, "CpuInfoSource"); qmlRegisterType(uri, 1, 0, "LocaleInfoSource"); qmlRegisterType(uri, 1, 0, "OpenGLInfoSource"); qmlRegisterType(uri, 1, 0, "PlatformInfoSource"); qmlRegisterType(uri, 1, 0, "QPAInfoSource"); qmlRegisterType(uri, 1, 0, "QtVersionSource"); qmlRegisterType(uri, 1, 0, "ScreenInfoSource"); qmlRegisterType(uri, 1, 0, "StartCountSource"); qmlRegisterType(uri, 1, 0, "UsageTimeSource"); qmlRegisterType(uri, 1, 0, "PropertySource"); qmlRegisterType(uri, 1, 0, "PropertyRatioSource"); qmlRegisterType(uri, 1, 0, "AuditLogUiController"); qmlRegisterType(uri, 1, 0, "FeedbackConfigUiController"); qRegisterMetaType(); } #include "moc_qmlplugin.cpp"