/* SPDX-FileCopyrightText: 2021 Cyril Rossi SPDX-License-Identifier: GPL-2.0-or-later */ #include "desktopeffectsdata.h" #include "effectsmodel.h" namespace KWin { DesktopEffectsData::DesktopEffectsData(QObject *parent) : KCModuleData(parent) , m_model(new EffectsModel(this)) { disconnect(this, &KCModuleData::aboutToLoad, nullptr, nullptr); connect(m_model, &EffectsModel::loaded, this, &KCModuleData::loaded); m_model->load(); } DesktopEffectsData::~DesktopEffectsData() { } bool DesktopEffectsData::isDefaults() const { return m_model->isDefaults(); } } #include "moc_desktopeffectsdata.cpp"