KUserFeedback

qmldatasources.cpp
1/*
2 SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: MIT
5*/
6
7#include "qmldatasources.h"
8
9#include <KUserFeedback/ApplicationVersionSource>
10#include <KUserFeedback/CompilerInfoSource>
11#include <KUserFeedback/CpuInfoSource>
12#include <KUserFeedback/LocaleInfoSource>
13#include <KUserFeedback/OpenGLInfoSource>
14#include <KUserFeedback/PlatformInfoSource>
15#include <KUserFeedback/QPAInfoSource>
16#include <KUserFeedback/QtVersionSource>
17#include <KUserFeedback/ScreenInfoSource>
18#include <KUserFeedback/StartCountSource>
19#include <KUserFeedback/UsageTimeSource>
20
21using namespace KUserFeedback;
22
23#define MAKE_BASIC_QML_WRAPPER(x) Qml ## x::Qml ## x(QObject *parent) : QmlAbstractDataSource(new x, parent) {}
24
25MAKE_BASIC_QML_WRAPPER(ApplicationVersionSource)
26MAKE_BASIC_QML_WRAPPER(CompilerInfoSource)
27MAKE_BASIC_QML_WRAPPER(CpuInfoSource)
28MAKE_BASIC_QML_WRAPPER(LocaleInfoSource)
29MAKE_BASIC_QML_WRAPPER(OpenGLInfoSource)
30MAKE_BASIC_QML_WRAPPER(PlatformInfoSource)
31MAKE_BASIC_QML_WRAPPER(QPAInfoSource)
32MAKE_BASIC_QML_WRAPPER(QtVersionSource)
33MAKE_BASIC_QML_WRAPPER(ScreenInfoSource)
34MAKE_BASIC_QML_WRAPPER(StartCountSource)
35MAKE_BASIC_QML_WRAPPER(UsageTimeSource)
36
37#undef MAKE_DEFAULT_SOURCE
38
39#include "moc_qmldatasources.cpp"
Data source for the application version.
Data source reporting which compiler was used to build this code.
Data source reporting the type and amount of CPUs.
Data source reporting the region and language settings.
Data source reporting type, version and vendor of the OpenGL stack.
Reports information about the platform the application is running on.
Reports information about the Qt platform abstraction plugin the application is running on.
Data source reporting the Qt version used at runtime.
Data source for information about connected displays.
Data source reporting the total amount of applications starts.
Data source reporting the total usage time of the application.
Classes for integrating telemetry collection, survey targeting, and contribution encouragenemt and co...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:48:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.