KUtils
pluginpage.h
Go to the documentation of this file.
00001 /* This file is part of the KDE project 00002 Copyright (C) 2003 Matthias Kretz <kretz@kde.org> 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Library General Public 00006 License version 2 as published by the Free Software Foundation. 00007 00008 This library is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 Library General Public License for more details. 00012 00013 You should have received a copy of the GNU Library General Public License 00014 along with this library; see the file COPYING.LIB. If not, write to 00015 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00016 Boston, MA 02110-1301, USA. 00017 00018 */ 00019 00020 #ifndef KSETTINGS_PLUGINPAGE_H 00021 #define KSETTINGS_PLUGINPAGE_H 00022 00023 #include <kcmodule.h> 00024 #include <kcmutils_export.h> 00025 00026 class KPluginSelector; 00027 00028 namespace KSettings 00029 { 00030 class PluginPagePrivate; 00031 00070 class KCMUTILS_EXPORT PluginPage : public KCModule 00071 { 00072 Q_OBJECT 00073 Q_DECLARE_PRIVATE(PluginPage) 00074 public: 00079 explicit PluginPage( const KComponentData &componentData, 00080 QWidget *parent = 0, 00081 const QVariantList &args = QVariantList() ); 00082 00083 ~PluginPage(); 00084 00088 KPluginSelector * pluginSelector(); 00089 00097 virtual void load(); 00098 00102 virtual void save(); 00103 virtual void defaults(); 00104 00105 protected: 00106 PluginPagePrivate *const d_ptr; 00107 00108 private: 00109 Q_PRIVATE_SLOT(d_func(), void _k_reparseConfiguration(const QByteArray &a)) 00110 }; 00111 00112 } 00113 00114 #endif // KSETTINGS_PLUGINPAGE_H
KDE 4.6 API Reference