add more spacing
[personal-kdebase.git] / workspace / kwin / clients / ozone / config / config.h
blob8d5ee166a0bfcf3ebecda6c20dc09acf1cf4c9de
1 /*
2 * Oxygen KWin client configuration module
4 * Copyright (C) 2008 Lubos Lunak <l.lunak@kde.org>
6 * Based on the Quartz configuration module,
7 * Copyright (c) 2001 Karol Szwed <gallium@kde.org>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the license, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; see the file COPYING. If not, write to
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301, USA.
25 #ifndef OXYGEN_CONFIG_H
26 #define OXYGEN_CONFIG_H
28 #include <kconfig.h>
30 #include "ui_oxygenconfig.h"
32 namespace Ozone {
33 namespace Oxygen {
35 class OxygenConfigUI : public QWidget, public Ui::OxygenConfigUI
37 public:
38 OxygenConfigUI( QWidget *parent ) : QWidget( parent )
40 setupUi( this );
45 class OxygenConfig: public QObject
47 Q_OBJECT
48 public:
49 OxygenConfig( KConfig* conf, QWidget* parent );
50 ~OxygenConfig();
51 // These public signals/slots work similar to KCM modules
52 signals:
53 void changed();
54 public slots:
55 void load( const KConfigGroup& conf );
56 void save( KConfigGroup& conf );
57 void defaults();
58 private:
59 OxygenConfigUI *ui;
60 KConfig *c;
63 } //namespace Oxygen
64 } //namespace Ozone
66 #endif