File indexing completed on 2024-12-15 03:45:05
0001 /* 0002 SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org> 0003 0004 SPDX-License-Identifier: MIT 0005 */ 0006 0007 #ifndef KUSERFEEDBACK_STYLEINFOSOURCE_H 0008 #define KUSERFEEDBACK_STYLEINFOSOURCE_H 0009 0010 #include "kuserfeedbackwidgets_export.h" 0011 0012 #include <KUserFeedback/AbstractDataSource> 0013 0014 namespace KUserFeedback { 0015 0016 /*! Data source the widget style and color scheme used by the application. */ 0017 class KUSERFEEDBACKWIDGETS_EXPORT StyleInfoSource : public AbstractDataSource 0018 { 0019 public: 0020 Q_DECLARE_TR_FUNCTIONS(KUserFeedback::StyleInfoSource) 0021 public: 0022 StyleInfoSource(); 0023 0024 QString name() const override; 0025 QString description() const override; 0026 0027 QVariant data() override; 0028 }; 0029 0030 } 0031 0032 #endif // KUSERFEEDBACK_STYLEINFOSOURCE_H