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

0001 /*
0002     SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: MIT
0005 */
0006 
0007 #ifndef KUSERFEEDBACK_CPUINFOSOURCE_H
0008 #define KUSERFEEDBACK_CPUINFOSOURCE_H
0009 
0010 #include "kuserfeedbackcore_export.h"
0011 #include "abstractdatasource.h"
0012 
0013 namespace KUserFeedback {
0014 
0015 /*! Data source reporting the type and amount of CPUs.
0016  *
0017  *  The default telemetry mode for this source is Provider::DetailedSystemInformation.
0018  */
0019 class KUSERFEEDBACKCORE_EXPORT CpuInfoSource : public AbstractDataSource
0020 {
0021     Q_DECLARE_TR_FUNCTIONS(KUserFeedback::CpuInfoSource)
0022 public:
0023     CpuInfoSource();
0024 
0025     QString name() const override;
0026     QString description() const override;
0027 
0028     QVariant data() override;
0029 };
0030 
0031 }
0032 
0033 #endif // KUSERFEEDBACK_CPUINFOSOURCE_H