2001-06-07 11:35:06 +00:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* KDE2 Default configuration widget
|
|
|
|
*
|
|
|
|
* Copyright (c) 2001
|
|
|
|
* Karol Szwed <gallium@kde.org>
|
|
|
|
* http://gallium.n3.net/
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _KDE_DEFAULT_CONFIG_H
|
|
|
|
#define _KDE_DEFAULT_CONFIG_H
|
|
|
|
|
2006-05-11 08:04:23 +00:00
|
|
|
#include <QCheckBox>
|
2006-05-13 16:33:18 +00:00
|
|
|
#include <QGroupBox>
|
2001-06-07 11:35:06 +00:00
|
|
|
#include <kconfig.h>
|
2006-05-11 08:04:23 +00:00
|
|
|
#include <QLabel>
|
2005-09-18 14:52:14 +00:00
|
|
|
#include <kvbox.h>
|
2001-06-07 11:35:06 +00:00
|
|
|
|
|
|
|
class KDEDefaultConfig: public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
KDEDefaultConfig( KConfig* conf, QWidget* parent );
|
|
|
|
~KDEDefaultConfig();
|
|
|
|
|
|
|
|
// These public signals/slots work similar to KCM modules
|
|
|
|
signals:
|
|
|
|
void changed();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void load( KConfig* conf );
|
|
|
|
void save( KConfig* conf );
|
|
|
|
void defaults();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void slotSelectionChanged(); // Internal use
|
|
|
|
|
|
|
|
private:
|
|
|
|
QCheckBox* cbShowStipple;
|
|
|
|
QCheckBox* cbShowGrabBar;
|
|
|
|
QCheckBox* cbUseGradients;
|
2005-09-18 14:52:14 +00:00
|
|
|
KVBox* gb;
|
2001-06-07 11:35:06 +00:00
|
|
|
bool highcolor;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// vim: ts=4
|