keramik/config/config.h
00001 /* 00002 * Keramik KWin client configuration module 00003 * 00004 * Copyright (C) 2002 Fredrik Höglund <fredrik@kde.org> 00005 * 00006 * Based on the Quartz configuration module, 00007 * Copyright (c) 2001 Karol Szwed <gallium@kde.org> 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the license, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 * General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; see the file COPYING. If not, write to 00021 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00022 * Boston, MA 02111-1307, USA. 00023 */ 00024 00025 #ifndef __KWIN_KERAMIK_CONFIG_H 00026 #define __KWIN_KERAMIK_CONFIG_H 00027 00028 #include <kconfig.h> 00029 00030 #include "keramikconfig.h" 00031 00032 class KeramikConfig: public QObject 00033 { 00034 Q_OBJECT 00035 00036 public: 00037 KeramikConfig( KConfig* conf, QWidget* parent ); 00038 ~KeramikConfig(); 00039 00040 // These public signals/slots work similar to KCM modules 00041 signals: 00042 void changed(); 00043 00044 public slots: 00045 void load( KConfig* conf ); 00046 void save( KConfig* conf ); 00047 void defaults(); 00048 00049 private: 00050 KeramikConfigUI *ui; 00051 KConfig *c; 00052 }; 00053 00054 00055 #endif 00056 00057 // vim: set noet ts=4 sw=4: