add more spacing
[personal-kdebase.git] / workspace / kwin / effects / shadow_config.h
blob4517f98dc26e90f92d333ad491f5575e386e7970
1 /********************************************************************
2 KWin - the KDE window manager
3 This file is part of the KDE project.
5 Copyright (C) 2007 Rivo Laks <rivolaks@hot.ee>
6 Copyright (C) 2008 Lucas Murray <lmurray@undefinedfire.com>
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 *********************************************************************/
22 #ifndef KWIN_SHADOW_CONFIG_H
23 #define KWIN_SHADOW_CONFIG_H
25 #include <kcmodule.h>
27 #include "ui_shadow_config.h"
29 namespace KWin
32 class ShadowEffectConfigForm : public QWidget, public Ui::ShadowEffectConfigForm
34 Q_OBJECT
35 public:
36 explicit ShadowEffectConfigForm(QWidget* parent);
39 class ShadowEffectConfig : public KCModule
41 Q_OBJECT
42 public:
43 explicit ShadowEffectConfig(QWidget* parent = 0, const QVariantList& args = QVariantList());
44 ~ShadowEffectConfig();
46 public slots:
47 virtual void save();
48 virtual void load();
49 virtual void defaults();
51 private:
52 ShadowEffectConfigForm* m_ui;
55 } // namespace
57 #endif