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

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