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 #include "userfeedbackmanager.h"
0008 #include "ruqolauserfeedbackprovider.h"
0009 
0010 UserFeedBackManager::UserFeedBackManager(QObject *parent)
0011     : QObject(parent)
0012     , mUserFeedbackProvider(new RuqolaUserFeedbackProvider(this))
0013 {
0014 }
0015 
0016 UserFeedBackManager::~UserFeedBackManager() = default;
0017 
0018 UserFeedBackManager *UserFeedBackManager::self()
0019 {
0020     static UserFeedBackManager s_self;
0021     return &s_self;
0022 }
0023 
0024 KUserFeedback::Provider *UserFeedBackManager::userFeedbackProvider() const
0025 {
0026     return mUserFeedbackProvider;
0027 }
0028 
0029 #include "moc_userfeedbackmanager.cpp"