kwin Library API Documentation

kcm.h

00001 /*
00002  * Copyright (c) 2004 Lubos Lunak <l.lunak@kde.org>
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00017  */
00018 
00019 
00020 #ifndef __KCM_H__
00021 #define __KCM_H__
00022 
00023 #include <kcmodule.h>
00024 #include <kconfig.h>
00025 
00026 class KConfig;
00027 class KAboutData;
00028 
00029 namespace KWinInternal
00030 {
00031 
00032 class KCMRulesList;
00033 
00034 class KCMRules
00035     : public KCModule
00036     {
00037     Q_OBJECT
00038     public:
00039         KCMRules( QWidget *parent, const char *name );
00040         virtual void load();
00041         virtual void save();
00042         virtual void defaults();
00043         virtual QString quickHelp() const;
00044     protected slots:
00045         void moduleChanged( bool state );
00046     private:
00047         KCMRulesList* widget;
00048         KConfig config;
00049     };
00050 
00051 } // namespace
00052 
00053 #endif
KDE Logo
This file is part of the documentation for kwin Library Version 3.4.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jun 14 01:54:12 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003