2014-03-22 08:48:07 +00:00
|
|
|
/********************************************************************
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
|
|
|
|
2020-08-02 22:10:35 +00:00
|
|
|
SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org>
|
2014-03-22 08:48:07 +00:00
|
|
|
|
2020-08-02 22:10:35 +00:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
2014-03-22 08:48:07 +00:00
|
|
|
*********************************************************************/
|
|
|
|
#include "mock_effectshandler.h"
|
|
|
|
|
|
|
|
MockEffectsHandler::MockEffectsHandler(KWin::CompositingType type)
|
|
|
|
: EffectsHandler(type)
|
|
|
|
{
|
|
|
|
}
|
2016-12-02 19:27:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
KSharedConfigPtr MockEffectsHandler::config() const
|
|
|
|
{
|
|
|
|
static const KSharedConfigPtr s_config = KSharedConfig::openConfig(QString(), KConfig::SimpleConfig);
|
|
|
|
return s_config;
|
|
|
|
}
|
2017-04-19 15:00:02 +00:00
|
|
|
|
|
|
|
KSharedConfigPtr MockEffectsHandler::inputConfig() const
|
|
|
|
{
|
|
|
|
static const KSharedConfigPtr s_inputConfig = KSharedConfig::openConfig(QString(), KConfig::SimpleConfig);
|
|
|
|
return s_inputConfig;
|
|
|
|
}
|