KUserFeedback

compilerinfosource.h
1/*
2 SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: MIT
5*/
6
7#ifndef KUSERFEEDBACK_COMPILERINFOSOURCE_H
8#define KUSERFEEDBACK_COMPILERINFOSOURCE_H
9
10#include "abstractdatasource.h"
11
12namespace KUserFeedback {
13
14/*! Data source reporting which compiler was used to build this code.
15 * @note This will report which compiler was used to build the feedback
16 * library, which technically does not need to be the same as used for
17 * the application code. This is particularly true for compilers that
18 * don't break ABI regularly (such as Clang and GCC), so this information
19 * is most reliable when this is not the case, e.g. with MSVC.
20 *
21 * The default telemetry mode for this source is Provider::BasicSystemInformation.
22 */
23class KUSERFEEDBACKCORE_EXPORT CompilerInfoSource : public AbstractDataSource
24{
25public:
26 Q_DECLARE_TR_FUNCTIONS(KUserFeedback::CompilerInfoSource)
27public:
29
30 QString name() const override;
31 QString description() const override;
32
33 QVariant data() override;
34};
35
36}
37
38#endif // KUSERFEEDBACK_COMPILERINFOSOURCE_H
Base class for data sources for telemetry data.
Data source reporting which compiler was used to build this code.
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 Fri Nov 29 2024 11:48:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.