File indexing completed on 2024-12-22 04:55:34

0001 /*
0002    SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "userfeedbackmanager.h"
0008 #include "kaddressbookuserfeedbackprovider.h"
0009 
0010 UserFeedBackManager::UserFeedBackManager(QObject *parent)
0011     : QObject(parent)
0012     , mUserFeedbackProvider(new KAddressBookUserFeedbackProvider(this))
0013 {
0014 }
0015 
0016 UserFeedBackManager *UserFeedBackManager::self()
0017 {
0018     static UserFeedBackManager s_self;
0019     return &s_self;
0020 }
0021 
0022 KUserFeedback::Provider *UserFeedBackManager::userFeedbackProvider() const
0023 {
0024     return mUserFeedbackProvider;
0025 }
0026 
0027 #include "moc_userfeedbackmanager.cpp"