2007-04-29 17:35:43 +00:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* This file contains the quartz configuration widget
|
|
|
|
*
|
|
|
|
* Copyright (c) 2001
|
|
|
|
* Karol Szwed <gallium@kde.org>
|
|
|
|
* http://gallium.n3.net/
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __KDE_QUARTZCONFIG_H
|
|
|
|
#define __KDE_QUARTZCONFIG_H
|
|
|
|
|
|
|
|
#include <QCheckBox>
|
|
|
|
|
|
|
|
#include <kconfig.h>
|
|
|
|
#include <kvbox.h>
|
|
|
|
|
|
|
|
class QuartzConfig: public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
QuartzConfig( KConfig* conf, QWidget* parent );
|
|
|
|
~QuartzConfig();
|
|
|
|
|
|
|
|
// These public signals/slots work similar to KCM modules
|
|
|
|
signals:
|
|
|
|
void changed();
|
|
|
|
|
|
|
|
public slots:
|
2007-05-11 15:49:22 +00:00
|
|
|
void load( const KConfigGroup& conf );
|
|
|
|
void save( KConfigGroup& conf );
|
2007-04-29 17:35:43 +00:00
|
|
|
void defaults();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void slotSelectionChanged(); // Internal use
|
|
|
|
|
|
|
|
private:
|
|
|
|
KConfig* quartzConfig;
|
|
|
|
QCheckBox* cbColorBorder;
|
|
|
|
QCheckBox* cbExtraSmall;
|
|
|
|
KVBox* gb;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// vim: ts=4
|