add more spacing
[personal-kdebase.git] / workspace / kwin / kcmkwin / kwinrules / kcm.h
blob24a1d26873ecbca3ae9b805c241463ff101a0624
1 /*
2 * Copyright (c) 2004 Lubos Lunak <l.lunak@kde.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef __KCM_H__
21 #define __KCM_H__
23 #include <kcmodule.h>
24 #include <kconfig.h>
26 class KConfig;
28 namespace KWin
31 class KCMRulesList;
33 class KCMRules
34 : public KCModule
36 Q_OBJECT
37 public:
38 KCMRules( QWidget *parent, const QVariantList &args );
39 virtual void load();
40 virtual void save();
41 virtual void defaults();
42 virtual QString quickHelp() const;
43 protected slots:
44 void moduleChanged( bool state );
45 private:
46 KCMRulesList* widget;
47 KConfig config;
50 } // namespace
52 #endif