2002-05-17 16:33:48 +00:00
|
|
|
/*
|
|
|
|
* Keramik KWin client configuration module
|
|
|
|
*
|
2005-12-06 04:21:02 +00:00
|
|
|
* Copyright (C) 2002 Fredrik Höglund <fredrik@kde.org>
|
2002-05-17 16:33:48 +00:00
|
|
|
*
|
|
|
|
* Based on the Quartz configuration module,
|
|
|
|
* Copyright (c) 2001 Karol Szwed <gallium@kde.org>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the license, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; see the file COPYING. If not, write to
|
2005-10-05 08:44:32 +00:00
|
|
|
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
2005-07-04 19:02:09 +00:00
|
|
|
* Boston, MA 02110-1301, USA.
|
2002-05-17 16:33:48 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __KWIN_KERAMIK_CONFIG_H
|
|
|
|
#define __KWIN_KERAMIK_CONFIG_H
|
|
|
|
|
|
|
|
#include <kconfig.h>
|
|
|
|
|
2006-11-03 16:58:18 +00:00
|
|
|
#include "ui_keramikconfig.h"
|
|
|
|
|
|
|
|
class KeramikConfigUI : public QWidget, public Ui::KeramikConfigUI
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
KeramikConfigUI( QWidget *parent ) : QWidget( parent ) {
|
|
|
|
setupUi( this );
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2002-05-17 16:33:48 +00:00
|
|
|
|
|
|
|
class KeramikConfig: public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
KeramikConfig( KConfig* conf, QWidget* parent );
|
|
|
|
~KeramikConfig();
|
|
|
|
|
|
|
|
// These public signals/slots work similar to KCM modules
|
|
|
|
signals:
|
|
|
|
void changed();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void load( KConfig* conf );
|
|
|
|
void save( KConfig* conf );
|
|
|
|
void defaults();
|
|
|
|
|
|
|
|
private:
|
|
|
|
KeramikConfigUI *ui;
|
|
|
|
KConfig *c;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// vim: set noet ts=4 sw=4:
|