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_OPENGLINFOSOURCE_H 0008 #define KUSERFEEDBACK_OPENGLINFOSOURCE_H 0009 0010 #include "abstractdatasource.h" 0011 0012 namespace KUserFeedback { 0013 0014 /*! Data source reporting type, version and vendor of the OpenGL stack. 0015 * 0016 * The default telemetry mode for this source is Provider::DetailedSystemInformation. 0017 */ 0018 class KUSERFEEDBACKCORE_EXPORT OpenGLInfoSource : public AbstractDataSource 0019 { 0020 public: 0021 Q_DECLARE_TR_FUNCTIONS(KUserFeedback::OpenGLInfoSource) 0022 public: 0023 OpenGLInfoSource(); 0024 0025 QString name() const override; 0026 QString description() const override; 0027 0028 QVariant data() override; 0029 }; 0030 0031 } 0032 0033 #endif // KUSERFEEDBACK_OPENGLINFOSOURCE_H