8#include "qmldatasources.h"
9#include "qmlpropertysource.h"
10#include "qmlpropertyratiosource.h"
11#include "qmlproviderextension.h"
13#include <auditloguicontroller.h>
14#include <feedbackconfiguicontroller.h>
16#include <surveyinfo.h>
22void QmlPlugin::registerTypes(
const char* uri)
24 qmlRegisterExtendedType<Provider, QmlProviderExtension>(uri, 1, 0,
"Provider");
26 qmlRegisterUncreatableType<QmlAbstractDataSource>(uri, 1, 0,
"AbstractDataSource", QStringLiteral(
"abstract base class"));
27 qmlRegisterType<QmlApplicationVersionSource>(uri, 1, 0,
"ApplicationVersionSource");
28 qmlRegisterType<QmlCompilerInfoSource>(uri, 1, 0,
"CompilerInfoSource");
29 qmlRegisterType<QmlCpuInfoSource>(uri, 1, 0,
"CpuInfoSource");
30 qmlRegisterType<QmlLocaleInfoSource>(uri, 1, 0,
"LocaleInfoSource");
31 qmlRegisterType<QmlOpenGLInfoSource>(uri, 1, 0,
"OpenGLInfoSource");
32 qmlRegisterType<QmlPlatformInfoSource>(uri, 1, 0,
"PlatformInfoSource");
33 qmlRegisterType<QmlQPAInfoSource>(uri, 1, 0,
"QPAInfoSource");
34 qmlRegisterType<QmlQtVersionSource>(uri, 1, 0,
"QtVersionSource");
35 qmlRegisterType<QmlScreenInfoSource>(uri, 1, 0,
"ScreenInfoSource");
36 qmlRegisterType<QmlStartCountSource>(uri, 1, 0,
"StartCountSource");
37 qmlRegisterType<QmlUsageTimeSource>(uri, 1, 0,
"UsageTimeSource");
38 qmlRegisterType<QmlPropertySource>(uri, 1, 0,
"PropertySource");
39 qmlRegisterType<QmlPropertyRatioSource>(uri, 1, 0,
"PropertyRatioSource");
41 qmlRegisterType<AuditLogUiController>(uri, 1, 0,
"AuditLogUiController");
42 qmlRegisterType<FeedbackConfigUiController>(uri, 1, 0,
"FeedbackConfigUiController");
44 qRegisterMetaType<SurveyInfo>();
47#include "moc_qmlplugin.cpp"
Classes for integrating telemetry collection, survey targeting, and contribution encouragenemt and co...