KUserFeedback

styleinfosource.h
1/*
2 SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: MIT
5*/
6
7#ifndef KUSERFEEDBACK_STYLEINFOSOURCE_H
8#define KUSERFEEDBACK_STYLEINFOSOURCE_H
9
10#include "kuserfeedbackwidgets_export.h"
11
12#include <KUserFeedback/AbstractDataSource>
13
14namespace KUserFeedback {
15
16/*! Data source the widget style and color scheme used by the application. */
17class KUSERFEEDBACKWIDGETS_EXPORT StyleInfoSource : public AbstractDataSource
18{
19public:
20 Q_DECLARE_TR_FUNCTIONS(KUserFeedback::StyleInfoSource)
21public:
22 StyleInfoSource();
23
24 QString name() const override;
25 QString description() const override;
26
27 QVariant data() override;
28};
29
30}
31
32#endif // KUSERFEEDBACK_STYLEINFOSOURCE_H
AbstractDataSource(const QString &id, Provider::TelemetryMode mode=Provider::DetailedUsageStatistics)
Create a new data source named name.
Data source the widget style and color scheme used by the application.
QString name() const override
Returns a short name of this data source.
QVariant data() override
Returns the data gathered by this source.
QString description() const override
Returns a human-readable, translated description of what this source provides.
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.