File indexing completed on 2024-12-15 03:45:04

0001 /*
0002     SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: MIT
0005 */
0006 
0007 #ifndef KUSERFEEDBACK_QPAINFOSOURCE_H
0008 #define KUSERFEEDBACK_QPAINFOSOURCE_H
0009 
0010 #include "kuserfeedbackcore_export.h"
0011 #include "abstractdatasource.h"
0012 
0013 namespace KUserFeedback {
0014 
0015 /*! Reports information about the Qt platform abstraction plugin the application
0016  *  is running on.
0017  *
0018  *  The default telemetry mode for this source is Provider::BasicSystemInformation.
0019  */
0020 class KUSERFEEDBACKCORE_EXPORT QPAInfoSource : public AbstractDataSource
0021 {
0022     Q_DECLARE_TR_FUNCTIONS(KUserFeedback::QPAInfoSource)
0023 public:
0024     QPAInfoSource();
0025 
0026     QString name() const override;
0027     QString description() const override;
0028 
0029     QVariant data() override;
0030 };
0031 
0032 }
0033 
0034 #endif // KUSERFEEDBACK_QPAINFOSOURCE_H