aerothemeplasma/kwin/decoration/breeze-v5.93.0/kstyle/config/breezestyleconfigmodule.h

39 lines
673 B
C
Raw Normal View History

/*
* SPDX-FileCopyrightText: 2014 Hugo Pereira Da Costa <hugo.pereira@free.fr>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
2024-08-09 01:20:25 +00:00
#pragma once
#include "breezestyleconfig.h"
#include <KCModule>
namespace Breeze
{
//* configuration module
class ConfigurationModule : public KCModule
{
Q_OBJECT
public:
2024-08-09 01:20:25 +00:00
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
ConfigurationModule(QObject *parent, const KPluginMetaData &data);
#else
ConfigurationModule(QWidget *parent, const QVariantList &args);
2024-08-09 01:20:25 +00:00
#endif
public Q_SLOTS:
void defaults() override;
void load() override;
void save() override;
private:
//* configuration
StyleConfig *m_config;
};
}