File indexing completed on 2024-05-12 05:12:50

0001 /*
0002     This file is part of Akregator.
0003 
0004     SPDX-FileCopyrightText: 2005 Frank Osterfeld <osterfeld@kde.org>
0005 
0006     SPDX-License-Identifier: GPL-2.0-or-later WITH Qt-Commercial-exception-1.0
0007 */
0008 
0009 #include "actionmanager.h"
0010 
0011 using namespace Akregator;
0012 ActionManager *ActionManager::m_self = nullptr;
0013 
0014 ActionManager *ActionManager::getInstance()
0015 {
0016     return m_self;
0017 }
0018 
0019 void ActionManager::setInstance(ActionManager *manager)
0020 {
0021     m_self = manager;
0022 }
0023 
0024 ActionManager::ActionManager(QObject *parent)
0025     : QObject(parent)
0026 {
0027 }
0028 
0029 ActionManager::~ActionManager() = default;
0030 
0031 #include "moc_actionmanager.cpp"