KUserFeedback

openglinfosource.h
1/*
2 SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: MIT
5*/
6
7#ifndef KUSERFEEDBACK_OPENGLINFOSOURCE_H
8#define KUSERFEEDBACK_OPENGLINFOSOURCE_H
9
10#include "abstractdatasource.h"
11
12namespace KUserFeedback {
13
14/*! Data source reporting type, version and vendor of the OpenGL stack.
15 *
16 * The default telemetry mode for this source is Provider::DetailedSystemInformation.
17 */
18class KUSERFEEDBACKCORE_EXPORT OpenGLInfoSource : public AbstractDataSource
19{
20public:
21 Q_DECLARE_TR_FUNCTIONS(KUserFeedback::OpenGLInfoSource)
22public:
23 OpenGLInfoSource();
24
25 QString name() const override;
26 QString description() const override;
27
28 QVariant data() override;
29};
30
31}
32
33#endif // KUSERFEEDBACK_OPENGLINFOSOURCE_H
AbstractDataSource(const QString &id, Provider::TelemetryMode mode=Provider::DetailedUsageStatistics)
Create a new data source named name.
Data source reporting type, version and vendor of the OpenGL stack.
QString description() const override
Returns a human-readable, translated description of what this source provides.
QString name() const override
Returns a short name of this data source.
QVariant data() override
Returns the data gathered by this source.
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.