not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kwin / clients / keramik / config / config.h
blobde6db138a7b9fd3e6f9160da0cd44aa64eaea865
1 /*
2 * Keramik KWin client configuration module
4 * Copyright (C) 2002 Fredrik Höglund <fredrik@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 __KWIN_KERAMIK_CONFIG_H
26 #define __KWIN_KERAMIK_CONFIG_H
28 #include <kconfig.h>
30 #include "ui_keramikconfig.h"
32 class KeramikConfigUI : public QWidget, public Ui::KeramikConfigUI
34 public:
35 KeramikConfigUI( QWidget *parent ) : QWidget( parent ) {
36 setupUi( this );
42 class KeramikConfig: public QObject
44 Q_OBJECT
46 public:
47 KeramikConfig( KConfig* conf, QWidget* parent );
48 ~KeramikConfig();
50 // These public signals/slots work similar to KCM modules
51 signals:
52 void changed();
54 public slots:
55 void load( const KConfigGroup& conf );
56 void save( KConfigGroup& conf );
57 void defaults();
59 private:
60 KeramikConfigUI *ui;
61 KConfig *c;
65 #endif
67 // vim: set noet ts=4 sw=4: