KUserFeedback

qmldatasources.h
1/*
2 SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: MIT
5*/
6
7#ifndef KUSERFEEDBACK_QMLDATASOURCES_H
8#define KUSERFEEDBACK_QMLDATASOURCES_H
9
10#include "qmlabstractdatasource.h"
11
12namespace KUserFeedback {
13
14#define MAKE_BASIC_QML_WRAPPER(x) \
15 class Qml ## x : public QmlAbstractDataSource { \
16 Q_OBJECT \
17 public: \
18 explicit Qml ## x (QObject *parent = nullptr);\
19 };
20
21MAKE_BASIC_QML_WRAPPER(ApplicationVersionSource)
22MAKE_BASIC_QML_WRAPPER(CompilerInfoSource)
23MAKE_BASIC_QML_WRAPPER(CpuInfoSource)
24MAKE_BASIC_QML_WRAPPER(LocaleInfoSource)
25MAKE_BASIC_QML_WRAPPER(OpenGLInfoSource)
26MAKE_BASIC_QML_WRAPPER(PlatformInfoSource)
27MAKE_BASIC_QML_WRAPPER(QPAInfoSource)
28MAKE_BASIC_QML_WRAPPER(QtVersionSource)
29MAKE_BASIC_QML_WRAPPER(ScreenInfoSource)
30MAKE_BASIC_QML_WRAPPER(StartCountSource)
31MAKE_BASIC_QML_WRAPPER(UsageTimeSource)
32
33#undef MAKE_BASIC_QML_WRAPPER
34}
35
36#endif // KUSERFEEDBACK_QMLDATASOURCES_H
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-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:44 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.