2001-05-13 05:47:49 +00:00
|
|
|
// $Id$
|
2001-04-23 07:37:23 +00:00
|
|
|
#ifndef __KDE_MODSYSTEMCONFIG_H
|
|
|
|
#define __KDE_MODSYSTEMCONFIG_H
|
|
|
|
|
|
|
|
#include <qcheckbox.h>
|
|
|
|
#include <qgroupbox.h>
|
|
|
|
#include <kconfig.h>
|
|
|
|
|
|
|
|
class ModernSysConfig : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
ModernSysConfig( KConfig* conf, QWidget* parent );
|
|
|
|
~ModernSysConfig();
|
|
|
|
|
|
|
|
// 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:
|
|
|
|
QGroupBox *gb;
|
|
|
|
QCheckBox *cbShowHandle;
|
|
|
|
unsigned handle_width;
|
|
|
|
unsigned handle_size;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|