File indexing completed on 2024-05-05 05:00:09
0001 /* 0002 SPDX-FileCopyrightText: 2003 Lubos Lunak <l.lunak@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef _KCM_PERFORMANCE_H 0008 #define _KCM_PERFORMANCE_H 0009 0010 #include <kcmodule.h> 0011 0012 namespace KCMPerformance 0013 { 0014 0015 class Konqueror; 0016 class SystemWidget; 0017 0018 class Config 0019 : public KCModule 0020 { 0021 Q_OBJECT 0022 public: 0023 //TODO KF6: when dropping compatibility with KF5, remove QVariantList argument 0024 Config(QObject *parent_P, const KPluginMetaData &md={}, const QVariantList &args={}); 0025 void load() override; 0026 void save() override; 0027 void defaults() override; 0028 private: 0029 Konqueror *konqueror_widget; 0030 SystemWidget *system_widget; 0031 }; 0032 0033 class KonquerorConfig 0034 : public KCModule 0035 { 0036 Q_OBJECT 0037 public: 0038 //TODO KF6: when dropping compatibility with KF5, remove QVariantList argument 0039 KonquerorConfig(QObject *parent, const KPluginMetaData &md={}, const QVariantList &args={}); 0040 void load() override; 0041 void save() override; 0042 void defaults() override; 0043 private: 0044 Konqueror *m_widget; 0045 }; 0046 0047 } // namespace 0048 0049 #endif