File indexing completed on 2024-12-08 04:34:37
0001 /* 0002 SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 namespace KUserFeedback 0011 { 0012 class Provider; 0013 } 0014 class UserFeedBackManager : public QObject 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit UserFeedBackManager(QObject *parent = nullptr); 0019 ~UserFeedBackManager() override; 0020 static UserFeedBackManager *self(); 0021 0022 [[nodiscard]] KUserFeedback::Provider *userFeedbackProvider() const; 0023 0024 private: 0025 KUserFeedback::Provider *const mUserFeedbackProvider; 0026 };