File indexing completed on 2024-05-19 05:35:23
0001 #ifndef oxygenstyleconfigmodule_h 0002 #define oxygenstyleconfigmodule_h 0003 /* 0004 SPDX-FileCopyrightText: 2014 Hugo Pereira Da Costa <hugo.pereira@free.fr> 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #include "oxygenstyleconfig.h" 0009 0010 #include <KCModule> 0011 0012 namespace Oxygen 0013 { 0014 //* configuration module 0015 class ConfigurationModule : public KCModule 0016 { 0017 Q_OBJECT 0018 0019 public: 0020 #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) 0021 ConfigurationModule(QObject *parent, const KPluginMetaData &metaData); 0022 #else 0023 ConfigurationModule(QWidget *parent, const QVariantList &args); 0024 #endif 0025 public Q_SLOTS: 0026 0027 void defaults() override; 0028 void load() override; 0029 void save() override; 0030 0031 private: 0032 //* configuration 0033 StyleConfig *m_config; 0034 }; 0035 } 0036 0037 #endif