KUserFeedback

platforminfosource.h
1/*
2 SPDX-FileCopyrightText: 2016 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: MIT
5*/
6
7#ifndef KUSERFEEDBACK_PLATFORMINFOSOURCE_H
8#define KUSERFEEDBACK_PLATFORMINFOSOURCE_H
9
10#include "abstractdatasource.h"
11
12namespace KUserFeedback {
13
14/*! Reports information about the platform the application is running on.
15 * This includes two string data fields:
16 * - platform.os: the operating system name
17 * - platform.version: the operating system or distribution version.
18 *
19 * The default telemetry mode for this source is Provider::BasicSystemInformation.
20 */
21class KUSERFEEDBACKCORE_EXPORT PlatformInfoSource : public AbstractDataSource
22{
23 Q_DECLARE_TR_FUNCTIONS(KUserFeedback::PlatformInfoSource)
24public:
25 /*! Create a new platform information source. */
27
28 QString name() const override;
29 QString description() const override;
30
31 QVariant data() override;
32};
33
34}
35
36#endif // KUSERFEEDBACK_PLATFORMINFOSOURCE_H
Base class for data sources for telemetry data.
Reports information about the platform the application is running on.
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.