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
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 Tue Mar 26 2024 11:20:56 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.